summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | sdist: Accept -u/--owner and -g/--group optionsJohn Marshall2021-09-221-0/+4
| | | | | | | | | | | | | | | | | | Controlling the file ownership recorded in tar archives is useful for those striving towards reproducible builds. These options are already understood by distutils.command.sdist.sdist, so just need to be accepted by setuptools.command.sdist.sdist to be propagated. Fixes #1893.
* | Merge https://github.com/pypa/distutils into distutils-02e9f65ab0Jason R. Coombs2021-09-216-17/+46
| |
* | Merge pull request #2785 from hugovk/replace-configparser-deprecationsJason R. Coombs2021-09-121-1/+1
|\ \ | | | | | | configparser: replace deprecated readfp with read_file
| * | configparser: replace deprecated readfp with read_fileHugo van Kemenade2021-09-121-1/+1
| | |
* | | Deprecate bdist_rpmHugo van Kemenade2021-09-092-0/+36
|/ /
* | Merge branch 'main' into mrs/edit_config-case-sensitiveJason R. Coombs2021-09-083-5/+8
|\ \
| * | Retain case in setup.cfg during sdist. Fixes #2773.Jason R. Coombs2021-09-081-0/+1
| | |
| * | Add test capturing missed expectation. Ref #2773.Jason R. Coombs2021-09-081-0/+8
| | |
| * | Rename to 'ignore_unless_false'.Jason R. Coombs2021-09-071-3/+3
| | |
| * | Make warning a DistDeprecationWarningJason R. Coombs2021-09-071-1/+1
| | | | | | | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
| * | Do not error if use_2to3 is set to a false valueAndrew Plummer2021-09-071-2/+5
| | |