summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into feature/local-schemesfeature/local-schemesJason R. Coombs2021-11-123-58/+101
|
* 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
| | |
* | | Preserve case of keys during edit_configAntonio Russo2021-09-062-0/+12
|/ / | | | | | | | | | | | | This aligns behavior with 21b122e06969a9d85c65ce8276519d34da7dc747 during source distribution generation. Signed-off-by: Antonio Russo <aerusso@aerusso.net>
* | Merge pull request #2770 from pypa/bugfix/2769-fail-fast-2to3Jason R. Coombs2021-09-061-0/+4
|\ \ | | | | | | Fail fast when use_2to3 is supplied.
| * | Fail fast when use_2to3 is supplied.Jason R. Coombs2021-09-061-0/+4
| | |
* | | Refactor test_setup_requires_with_allow_hosts to re-use path.buildJason R. Coombs2021-09-061-17/+16
| | |
* | | Include trailing quote in build-backend for test_build_meta. Fixes #2771.Jason R. Coombs2021-09-061-2/+2
|/ /
* | Remove time-based horizon.Jason R. Coombs2021-09-061-13/+6
| |
* | In Distribution.finalize_options, suppress known removed entry points for a ↵Jason R. Coombs2021-09-061-2/+25
| | | | | | | | year to avoid issues with older Setuptools. Fixes #2765.
* | 👹 Feed the hobgoblins (delint).Jason R. Coombs2021-09-043-4/+0
| |