summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove reliance on distutils log verbosity.Jason R. Coombs2021-11-261-10/+3
|
* Bind to 'distutils.log' late in case the loader has changed.Jason R. Coombs2021-11-261-3/+2
|
* Remove 'sample_test' fixture, unused.Jason R. Coombs2021-11-261-59/+0
|
* Use jaraco.path.build in test_tests_are_run_once.Jason R. Coombs2021-11-261-18/+18
|
* Merge pull request 2902.Jason R. Coombs2021-11-222-20/+60
|
* Merge pull request #2875 from pypa/feature/local-schemesJason R. Coombs2021-11-188-77/+171
|\ | | | | Update distutils @514e9d0
| * Merge https://github.com/pypa/distutils into feature/local-schemesJason R. Coombs2021-11-185-19/+70
| |
| * Merge branch 'main' into feature/local-schemesfeature/local-schemesJason R. Coombs2021-11-123-58/+101
| |
* | Update setuptools.readthedocs.io to setuptools.pypa.ioHugo van Kemenade2021-11-161-3/+3
| |
* | Suppress invalid versions when parsing in package_index. They will still be ↵Jason R. Coombs2021-11-151-1/+9
| | | | | | | | allowed for now as long as DeprecationWarnings aren't treated as errors.
* | Update config.ConfigMetadataHandler._parse_version not to rely on LegacyVersion.Jason R. Coombs2021-11-151-2/+4
| |
* | Merge pull request #2879 from pypa/debt/update-packagingJason R. Coombs2021-11-1415-1013/+1058
|\ \ | | | | | | Update packaging to 21.2.
| * | Update packaging to 21.2. Ref #2497.debt/update-packagingJason R. Coombs2021-11-1415-1013/+1058
| |/
* | Reduce scope of setup_requires deprecation to only deprecate the ↵feature/deprecate-installerJason R. Coombs2021-11-142-6/+7
|/ | | | installation of these requirements, but still honor setup_requires in PEP 517 installers. Fixes #2877.
* Merge pull request #2870 from ↵Jason R. Coombs2021-11-121-4/+4
|\ | | | | | | | | webknjaz/maintenance/fail-loudly-on-invalid-summary Fail on a multiline distribution package summary
| * Restore single_line as a simple, universal validator.Jason R. Coombs2021-11-121-6/+4
| |
| * Fail on a multiline distribution package summarySviatoslav Sydorenko2021-11-111-6/+8
| |
* | Skip pip@main tests for Python 3.6, no longer supported. Fixes #2874. Use ↵Jason R. Coombs2021-11-121-4/+9
| | | | | | | | pip pinned range to resolve pip version based on a repeatable pattern.
* | Merge pull request #2865 from mkoeppe/github_workflows_SETUPTOOLS_USE_DISTUTILSJason R. Coombs2021-11-122-0/+9
|\ \ | |/ |/| Test SETUPTOOLS_USE_DISTUTILS = stdlib, local on GH Actions
| * Bring back the xfail as it appears to be needed at least on macOS.Jason R. Coombs2021-11-111-0/+4
| |
| * Avoid upgrading setuptools when creating the venv for distutils_adoption ↵Jason R. Coombs2021-11-111-4/+5
| | | | | | | | tests. Works around issue with upgrading on PyPy.
| * Disable some virtualenv integration tests for PyPy.Jason R. Coombs2021-11-101-0/+4
| |
* | Merge pull request #2866 into main.Jason R. Coombs2021-11-103-10/+25
| |
* | Merge pull request #2858 from abravalheri/issue-2698Jason R. Coombs2021-11-071-0/+24
|\ \ | | | | | | Re-export `errors` from `distutils`
| * | Expose distutils errorsAnderson Bravalheri2021-11-051-0/+24
| |/ | | | | | | | | As mentioned in #2698, exposing distutil errors via setuptools help the migration stated by PEP 632.
* | Use warning instead of log for distutils commandAnderson Bravalheri2021-11-052-18/+7
|/ | | | | As discussed in #2855, using an actual warning instead of the logger allow users to control what gets displayed via warning filters.
* Make sure user gets warned when using distutilsAnderson Bravalheri2021-11-041-1/+15
|
* Handle custom build_py inheriting from distutilsAnderson Bravalheri2021-11-041-1/+9
| | | | | | | | | According to #2849, some projects, including important data-science packages rely on `distutils` when creating custom commands, instead of extending the ones provided by setuptools. This change should accomodate this use case, while also warning the users to migrate.
* Add regression test for #2849Anderson Bravalheri2021-11-041-10/+47
|
* Suppress 'setup.py install' warning under bdist_wheel. Fixes #2847.Jason R. Coombs2021-11-031-2/+11
|
* Trim docstring and remove comment.Jason R. Coombs2021-11-021-6/+4
|
* Remove data_files avoidance code.Jason R. Coombs2021-11-021-3/+0
|
* Reformat docstring and rewrite in imperative voice.Jason R. Coombs2021-11-021-4/+5
|
* Fix 1461: Better loop breaker for `manifest_maker`Anderson Bravalheri2021-11-014-5/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inconsistency for the `package_data` configuration in sdists when `include_package_data=True` in #1461 have been causing some problems for the community for a while, as also shown in #2835. As pointed out by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366), this was being caused by a mechanism to break the recursion between the `egg_info` and `sdist` commands. In summary the loop is caused by the following behaviour: - the `egg_info` command uses a subclass of `sdist` (`manifest_maker`) to calculate the MANIFEST, - the `sdist` class needs to know the MANIFEST to calculate the data files when `include_package_data=True` Previously, the mechanism to break this loop was to simply ignore the data files in `sdist` when `include_package_data=True`. The approach implemented in this change was to replace this mechanism, by allowing `manifest_maker` to override the `_safe_data_files` method from `sdist`. --- Please notice [an extensive experiment] (https://github.com/abravalheri/experiment-setuptools-package-data) was carried out to investigate the previous confusing behaviour. There is also [a simplified theoretical analysis] (https://github.com/pyscaffold/pyscaffold/pull/535#issuecomment-956296407) comparing the observed behavior in the experiment and the expected one. This analysis point out to the same offender indicated by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366) (which is being replaced in this change).
* Drop tests against pip < 20, which no longer work without 'wheel' specified ↵Jason R. Coombs2021-10-311-8/+0
| | | | in build requirements.
* Deprecate setup.py install and easy_install. Ref #917.Jason R. Coombs2021-10-222-0/+13
|
* Emit a SetuptoolsDeprecationWarning when setup_requires is used. Ref #2823.debt/deprecate-setup-requiresJason R. Coombs2021-10-221-0/+6
|
* Fix usage of virtualenv to ensure that tests are run in the bare virtualenv. ↵Jason R. Coombs2021-10-191-2/+3
| | | | Ref #2764.
* Merge https://github.com/pypa/distutilsJason R. Coombs2021-10-183-20/+13
|
* Merge pull request #2758 from nsait-linaro/win_arm64_launchersJason R. Coombs2021-10-014-3/+17
|\ | | | | Fixes 2757: Add win/arm64 launchers to create arm64 executables
| * Rebuilt arm executables from source on a repeatable builder (Docker image).Jason R. Coombs2021-10-012-0/+0
| |
| * Fix linting errorsNiyas Sait2021-09-062-1/+2
| |
| * use distutils.util.get_platform to find the target platformNiyas Sait2021-08-261-1/+1
| | | | | | | | This will be required to support cross compilation
| * add win/arm64 launchersNiyas Sait2021-08-264-3/+16
| |