summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* fix version parsingliuzhe2022-01-071-2/+2
|
* Add test to make sure 3.10 is not interpreted as 3.1Anderson Bravalheri2022-01-071-0/+49
|
* Remove `numpy` sdists from integration testsAnderson Bravalheri2022-01-071-2/+1
| | | | | | | | | | | | | | Numpy now uses a version cap for setuptools in their `pyproject.toml`, which defies a bit the value of including it in the integration tests. As revealed in a conversation with `numpy` maintainer, it seems that they not plan to remove this cap (maybe only update it from time to time, only if necessary). Moreover they are also studying other build backends. So I think that now the best thing to do would be stop trying to build numpy sdists with the current version of setuptools, otherwise we risk to break this test.
* Merge pull request #2839 from msuozzo/patch-1Jason R. Coombs2022-01-062-3/+36
|\ | | | | Maintain `requires` order in METADATA.
| * Merge remote-tracking branch 'upstream/main' into patch-1Anderson Bravalheri2022-01-0692-1567/+1946
| |\
| * | Add new test to document expected order stability.Matthew Suozzo2021-12-161-0/+33
| | |
| * | Revert inner function name change.Matthew Suozzo2021-10-301-1/+1
| | |
| * | Maintain `requires` order in METADATA.Matthew Suozzo2021-10-301-4/+4
| | | | | | | | | | | | | | | It seems that workflows that build -> install -> build would have the order of requires changed by these sorted() calls. From a brief attempt to trace through all the related interfaces, it seems this is the only code that changes the order of the requirements and so would be the only source of the observed inconsistency of Requires-Dist entries. If this sorting is desirable, the other setuptools and wheel interfaces that interact with the requirements should also sort them. Otherwise, it's valuable to retain the order across all parts of the system.
* | | Merge pull request #2952 from abravalheri/issue-2950Anderson Bravalheri2022-01-076-0/+259
|\ \ \ | | | | | | | | Change vendoring script to preserve license files
| * | | Change vendoring script to preserve license filesAnderson Bravalheri2021-12-216-0/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As pointed out by #2950, it is probably a good idea to keep the license files for the vendored dependencies. This is done by changing the `pavement.py` tasks.
* | | | Use setuptools wheel instead of source tree in integration testsAnderson Bravalheri2022-01-061-9/+3
| | | |
* | | | Prevent some tests from inadvertently using the project root for buildsAnderson Bravalheri2022-01-062-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Some tests are running the build process using setuptools own directory as cwd. This impacts the build process and also leave behind artifacts produced during tests (like .egg-info folders)
* | | | Replace tmp_src fixture with the virtualenv fixturesAnderson Bravalheri2022-01-063-82/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of re-building/installing setuptools from the source tree every time, the tests now rely on the venv, wheel and sdist fixtures (the venv fixture is populated from sdist/wheel). Moreover migrate `test_virtualenv` to use `jaraco.envs` (so it uses the same libraries ad `test_distutils_adoption`).
* | | | Extract venv fixtures from test_distutils_adoptionAnderson Bravalheri2022-01-063-26/+47
| | | | | | | | | | | | | | | | | | | | … and change it to install the pre-build setuptools wheel (fixture) instead of installing from the source tree
* | | | Add fixtures for sdist and wheel artifactsAnderson Bravalheri2022-01-062-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | They should be build once for each session and be able to be re-used in parallel (assuming read-only) for all tests. This is useful when dealing with virtual environments
* | | | Merge branch 'main' into integration-testsmergify[bot]2022-01-0653-307/+347
|\ \ \ \ | | |_|/ | |/| |
| * | | Extract the SYSTEMROOT handler and document it.Jason R. Coombs2022-01-051-4/+16
| | | |
| * | | Remove the env, as the test suite runs local by default but also tests stdlib.Jason R. Coombs2022-01-051-3/+2
| | | |
| * | | Add test capturing failure. Ref #3002.Jason R. Coombs2022-01-051-0/+10
| | | |
| * | | Merge https://github.com/pypa/distutilsJason R. Coombs2022-01-051-2/+7
| | | |
| * | | Use 'dict()' instead of '.copy()', for compatibility with DictStack.Jason R. Coombs2022-01-031-1/+1
| | | |
| * | | Merge https://github.com/pypa/distutilsJason R. Coombs2022-01-035-14/+83
| | | |
| * | | Merge https://github.com/pypa/distutils into feature/distutils-8c160a9693Jason R. Coombs2021-12-2944-85/+76
| | | |
| * | | Monkey patch distutils.log.set_threshold so the Python logger honors calls ↵Jason R. Coombs2021-12-281-0/+8
| | | | | | | | | | | | | | | | to it.
| * | | Add setuptools.log to supersede distutils.log. Ref #2973.Jason R. Coombs2021-12-282-0/+24
| | | |
| * | | Mark test as xfail. Fixes #2975.Jason R. Coombs2021-12-261-0/+1
| | | |
| * | | Remove skipif for Python 3.6, no longer supported.Jason R. Coombs2021-12-261-1/+0
| | | |
| * | | Merge https://github.com/pypa/distutils into feature/distutils-a5af364910Jason R. Coombs2021-12-234-169/+37
| | | |
| * | | Extend tests to capture expectation of only one DistutilsMetaFinder at a time.Jason R. Coombs2021-12-231-0/+15
| | | |
| * | | Merge https://github.com/pypa/distutils into bugfix/distutils88Jason R. Coombs2021-12-231-9/+23
| | | |
| * | | Merge https://github.com/pypa/distutils into bugfix/opensuseJason R. Coombs2021-12-221-0/+1
| |/ /
| * | Select 'posix_user' for the scheme unless falling back to stdlib, then use ↵Jason R. Coombs2021-12-201-2/+2
| | | | | | | | | | | | 'unix_user'. Fixes #2938.
| * | Add fallback support for distutils in stdlib.Jason R. Coombs2021-12-201-3/+11
| | |
| * | In easy_install, re-use scheme selection from distutils if available.Jason R. Coombs2021-12-201-8/+5
| | |
| * | Merge https://github.com/pypa/distutils into bugfix/2938-easy-install-schemesJason R. Coombs2021-12-201-23/+42
| | |
* | | Separate some reusable integration helpersAnderson Bravalheri2021-12-212-60/+70
| | |
* | | Use shutil to find executableAnderson Bravalheri2021-12-211-2/+5
| | | | | | | | | | | | | | | This is more reliable then simply globing (and will also work in other operating systems)
* | | Simulate pip's isolation using virtualenvAnderson Bravalheri2021-12-211-51/+49
| | |
* | | Use separated "extras" for integration testsAnderson Bravalheri2021-12-211-1/+4
| | | | | | | | | | | | Instead of disabling pytest plugins, simply don't install them
* | | Add integration test based on feedback from #2849Anderson Bravalheri2021-12-212-0/+272
|/ / | | | | | | | | | | | | | | | | The selection of packages used in the integration test is arbitrary, and can be changed. The main criteria used was the time to build, and the number of "non-Python" dependencies. The only exception was numpy, due to its significance to the ecosystem.
* | Merge distutils into main.Jason R. Coombs2021-12-196-30/+57
| |
* | Bump minimum version to rely on WindowsPath in subprocess. Fixes #2932.Jason R. Coombs2021-12-171-1/+1
| |
* | In depends, rely on packaging instead of distutils for version management.Jason R. Coombs2021-12-122-12/+9
| |
* | In dist, rely on packaging instead of distutils for version management.Jason R. Coombs2021-12-121-5/+8
| |
* | Merge with pypa/distutils@92082ee42c.debt/deprecate-versionJason R. Coombs2021-12-125-14/+41
| |
* | Merge branch 'main' of https://github.com/pypa/setuptoolsJason R. Coombs2021-12-031-2/+5
|\ \
| * | Update comment and docstring.Jason R. Coombs2021-11-291-2/+5
| | |
* | | Merge https://github.com/pypa/distutils at 8f2df0bf6.Jason R. Coombs2021-12-032-3/+13
|/ /
* | When repairing bad summaries, use only the first line.Jason R. Coombs2021-11-281-1/+1
| |
* | Revert "Merge pull request #2870 from ↵Jason R. Coombs2021-11-281-4/+4
| | | | | | | | | | | | | | | | | | webknjaz/maintenance/fail-loudly-on-invalid-summary" This reverts commit 77678abf97b4a8ee5e6e67b14cb21f543cd6bfd9, reversing changes made to f2de34767a7ba6dc79b73e474b3e2ffdbfd6e75b. Fixes #2893.