summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Relax overfitted test. Fixes #1425.Jason R. Coombs2018-07-131-2/+2
|
* Merge pull request #1312 from coldrye-collaboration/gh-97Paul Ganssle2018-07-111-10/+16
|\ | | | | fix #97 PEP420: find_packages()
| * Add tests for find_packages_ns()Carsten Klein2018-07-041-10/+16
| |
* | Tests for deprecation warningsDustin Ingram2018-07-082-0/+86
|/
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-037-9/+23
|
* Split test into two and parameterizeJason R. Coombs2018-06-031-27/+40
|
* Drop support for EOL Python 3.3Hugo2018-05-243-3/+3
|
* Merge pull request #1343 from ianw/long-descr-typeJason R. Coombs2018-05-181-1/+42
|\ | | | | Allow setting long_description_content_type externally
| * Allow setting long_description_content_type externallyIan Wienand2018-05-171-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tools, such as PBR, might want to set long_description_content_type during the parent object's Distribution.__init__() call (during distutils setup_keywords entry points). However, that field is currently unconditionally overwritten after these calls, erasing the value. We would rather not duplicate the existing method of copying into dist.metadata as done with project_urls. This preserves the fields within Distribution.metadata described by self._DISTUTIULS_UNUPPORTED_METADATA, or otherwise takes it from arguments. A test case that simulates setting the long description and overriding the arguments is added.
* | Merge pull request #1368 from jmbowman/jmbowman/no_network_in_testsJeremy Bowman2018-05-171-47/+19
|\ \ | | | | | | Don't require network in tests
| * | Tests in test_egg_info no longer invoke 'setup.py install', but instead ↵Jason R. Coombs2018-05-161-39/+11
| | | | | | | | | | | | focus on the behavior in egg_info as the namesake suggests.
| * | Don't require network in testsJeremy Bowman2018-05-161-8/+8
| |/
* | Merge pull request #1360 from Infinidat/issue1350Paul Ganssle2018-05-171-0/+33
|\ \ | | | | | | Use canonicalize_name to look for .dist-info in wheel files
| * | Use canonicalize_name to look for .dist-info in wheel filesArnon Yaari2018-05-161-0/+33
| |/ | | | | | | Fixes issue #1350
* | Merge pull request #1369 from jmbowman/jmbowman/pep425tags_testsJeremy Bowman2018-05-172-0/+201
|\ \ | | | | | | Add tests for PEP 425 support
| * | Add tests for PEP 425 supportJeremy Bowman2018-05-162-0/+201
| |/
* | Fix attr: with package_dirsJeremy Bowman2018-05-151-3/+50
|/
* Support loading version from a fileJeremy Bowman2018-05-151-0/+17
|
* Update all pypi.python.org URLs to pypi.orgJon Dufresne2018-04-261-2/+2
| | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Switch test_wheel over to subset-based testPaul Ganssle2018-04-071-126/+142
| | | | | | This is both compatible with the old version of wheel (last one supported under Python 3.3) and is more in line with our commitment, which is that the wheel install provides at least these files.
* Update wheel tests to reflect latest versionPaul Ganssle2018-04-061-16/+0
|
* tests: Add regression test for #1081Stephen Finucane2018-03-261-0/+12
| | | | | | | This ensures we don't unknowingly change the behavior of this again. Signed-off-by: Stephen Finucane <stephen@that.guru> Fixes: #1307
* Use another variable name to avoid masking prior value.Jason R. Coombs2018-03-181-2/+2
|
* Use filter to filter blank linesJason R. Coombs2018-03-181-1/+3
|
* Open metadata file with UTF-8 decoding.Jason R. Coombs2018-03-181-1/+3
|
* DelintJason R. Coombs2018-03-181-10/+21
|
* Use unicode literalsJason R. Coombs2018-03-181-2/+5
|
* Make dist test fail under unicodePaul Ganssle2018-03-171-8/+10
|
* Setuptools now vendors its own direct dependencies (packaging, six, ↵Jason R. Coombs2018-03-171-1/+1
| | | | pyparsing). Ref #1296.
* Merge branch 'master' into HEADJason R. Coombs2018-03-171-0/+17
|\
| * provide a failing test case for regression introduced in b2ea3c4a - spurious ↵wim glenn2018-03-161-0/+17
| | | | | | | | "Provides-Extra:" generated in metadata
* | Add support for maintainer in PKG-INFOPaul Ganssle2018-03-161-0/+78
|/ | | | | Per PEP 345, metadata Version 1.2 should support the Author, Maintainer, Author-Email and Maintainer-Email fields.
* Updates for PEP 566 (Metadata 2.1)Dustin Ingram2018-03-142-0/+20
|
* Skip tests in test_virtualenv if the prefix is broken on that virtualenv. ↵Jason R. Coombs2018-03-051-0/+15
| | | | Ref #1284.
* Feed the hobgoblins (delint).Jason R. Coombs2018-02-041-0/+4
|
* Merge pull request #1263 from benoit-pierre/fix_python37_supportJason R. Coombs2018-02-031-0/+2
|\ | | | | fix Python 3.7 support
| * fix Python 3.7 supportBenoit Pierre2018-01-251-0/+2
| | | | | | | | | | - update scanning code to handle pyc header change - handle change to `Exception.__repr__` output
* | Fix dry-run handlingBenoit Pierre2018-01-251-0/+45
|/
* Merge branch 'master' into masterJason R. Coombs2018-01-044-9/+552
|\
| * Merge pull request #1207 from cryvate/fix-issue-1206Jason R. Coombs2018-01-041-0/+2
| |\ | | | | | | Add setup.cfg support for long_description_content_type
| | * Add setup.cfg support for long_description_content_type (in line with docs).Henk-Jaap Wagenaar2017-11-211-0/+2
| | |
| * | fix `data_files` handling when installing from wheelBenoit Pierre2017-11-301-0/+36
| | |
| * | fix namespace packages handling of wheelsBenoit Pierre2017-11-271-0/+32
| | |
| * | fix encoding handling of wheels metadataBenoit Pierre2017-11-262-4/+19
| | |
| * | easy_install: add support for installing from wheelsBenoit Pierre2017-11-261-0/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: wheels are installed as eggs, so each install is self-contained and multiple versions of the same package can be installed at the same time. Limitations: - headers are not supported - resulting egg metadata requirements have their markers stripped
| * | Add test asserting that install_requires parameters cannot be unordered. Ref ↵Jason R. Coombs2017-11-251-14/+11
| | | | | | | | | | | | #458.
| * | Add another test demonstrating that if requirements are declared in a ↵Jason R. Coombs2017-11-251-0/+14
| | | | | | | | | | | | non-deterministic order, they may appear in the metadata in non-deterministic order. Ref #458.
| * | Add two tests demonstrating that requires.txt generation is deterministic. ↵Jason R. Coombs2017-11-251-0/+14
| | | | | | | | | | | | Ref #458.
| * | Cleanup indentationJason R. Coombs2017-11-251-7/+10
| |/
* | Support PEP 345 Project-URL metadataJeremy Stanley2017-11-222-0/+46
|/ | | | | | | | | | | By including one or more Project-URL entries in PKG-INFO metadata, PyPI can display helpful hyperlinks in a generic manner. Add support here to be able to pass it through setup.cfg and setup.py with a project_urls dict. See the corresponding section of the Core Metadata Specifications from the Python Packaging User Guide for details: https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use