summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add tests exposing the issues with sdist_directory not being --dist-dirBernat Gabor2018-09-161-1/+35
| |
* | Merge pull request #1402 from ↵Jason R. Coombs2018-09-161-8/+33
|\ \ | | | | | | | | | | | | daa/pkg-resources-always-handle-namespace-package-path Improved handling of module __path__ attribute for namespace packages, fixes #1321
| * | remove xfail for AppVeyor from namespace tests entirelyAlexander Duryagin2018-08-211-4/+0
| | |
| * | remove xfail for namespace tests that actually pass in AppVeyorAlexander Duryagin2018-08-211-13/+1
| | |
| * | change formatting to fix flake8 warningAlexander Duryagin2018-08-171-2/+4
| | |
| * | xfail namespace packages tests on appveyor instead of skipping themAlexander Duryagin2018-08-171-8/+16
| | |
| * | always process module.__path__ for namespace packages, fixes #1321Alexander Duryagin2018-06-271-0/+31
| | |
* | | Merge pull request #1427 from stephenfin/touch-egg-info-directoryJason R. Coombs2018-09-161-0/+17
|\ \ \ | | | | | | | | Touch 'egg-info' directory
| * | | egg_info: Touch 'egg-info' directoryStephen Finucane2018-08-191-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'tox' determines whether a package should be rebuilt by comparing the timestamp of the package's 'egg-info' directory and its 'setup.py' or 'setup.cfg' files [1][2]. Unfortunately this checks the 'egg-info' directory itself, which is not updated, unlike the contents of that directory. This means that 'tox' will always rebuild the package once one of the two setup files has been updated. While this is clearly a bug in 'tox' that should be fixed separately, there is merit in using this as a heuristic so enable it. [1] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L253-L257 [2] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L221-L244 Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | | Merge pull request #1477 from gaborbernat/no-sdist-wheelJason R. Coombs2018-09-161-0/+6
|\ \ \ \ | | | | | | | | | | build_meta.get_requires_for_build_sdist does not include wheel
| * | | | build_meta.get_requires_for_build_sdist does not include wheelBernat Gabor2018-09-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the wheel package is not required to build a source distribution Resolves #1474.
* | | | | Remove use of compatibility shim six.binary_typeJon Dufresne2018-09-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The type bytes is available on all supported Pythons. Makes the code more forward compatible with Python 3.
* | | | | Add tests for setuptools.globJon Dufresne2018-09-141-0/+35
|/ / / /
* | | | DelintJason R. Coombs2018-08-211-26/+34
| | | |
* | | | Use unicode literals in test_easy_install.Jason R. Coombs2018-08-211-11/+13
| | | |
* | | | DelintJason R. Coombs2018-08-211-1/+3
| | | |
* | | | Reindent to avoid hanging indent.Jason R. Coombs2018-08-211-44/+46
| | | |
* | | | Adapt test to only run on Python 2, as it's redundant on Python 3.Jason R. Coombs2018-08-211-2/+3
| | | |
* | | | Use unicode literals throughout.Jason R. Coombs2018-08-211-1/+3
| | | |
* | | | Merge pull request #1466 from pfmoore/pep517_fixJason R. Coombs2018-08-211-0/+9
|\ \ \ \ | | | | | | | | | | Fix for Unicode handling in PEP 518 backend
| * | | | Add a test for a Unicode metadata directoryPaul Moore2018-08-211-0/+9
| |/ / /
* | | | setuptools: fix regression with `egg_info` commandBenoit Pierre2018-08-211-0/+16
|/ / / | | | | | | | | | Ensure version is tagged only once.
* | | Added test for scripts with unicodeDaniele Esposti2018-08-171-0/+52
| | |
* | | Rename find_namepaces_ns to find_namespace_packages (#1423)Carsten Klein2018-08-173-12/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix #1419 PEP420: add find_namespace: directive * fix #1419 PEP420: add find_namespace: directive to documentation * fix #1419 PEP420: add tests * fix #1419 PEP420: clean up code * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: clean up code * fix #1419 PEP420: add changelog entry * fixup! fix #1419 PEP420: add tests * fix #1419 PEP420: cleanup code refactor markers * #1420: Rename find_namespace_ns to find_namespace_packages * #1420: update changelog entry
* | | 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
| |