summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Use warning instead of log for distutils commandAnderson Bravalheri2021-11-051-16/+4
|/ | | | | 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
|
* Add regression test for #2849Anderson Bravalheri2021-11-041-10/+47
|
* Trim docstring and remove comment.Jason R. Coombs2021-11-021-6/+4
|
* Fix 1461: Better loop breaker for `manifest_maker`Anderson Bravalheri2021-11-011-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix usage of virtualenv to ensure that tests are run in the bare virtualenv. ↵Jason R. Coombs2021-10-191-2/+3
| | | | Ref #2764.
* Merge pull request #2758 from nsait-linaro/win_arm64_launchersJason R. Coombs2021-10-011-2/+13
|\ | | | | Fixes 2757: Add win/arm64 launchers to create arm64 executables
| * Fix linting errorsNiyas Sait2021-09-061-0/+2
| |
| * add win/arm64 launchersNiyas Sait2021-08-261-2/+11
| |
* | Deprecate bdist_rpmHugo van Kemenade2021-09-091-0/+27
| |
* | Merge branch 'main' into mrs/edit_config-case-sensitiveJason R. Coombs2021-09-081-3/+3
|\ \
| * | Add test capturing missed expectation. Ref #2773.Jason R. Coombs2021-09-081-0/+8
| | |
* | | Preserve case of keys during edit_configAntonio Russo2021-09-061-0/+11
|/ / | | | | | | | | | | | | This aligns behavior with 21b122e06969a9d85c65ce8276519d34da7dc747 during source distribution generation. Signed-off-by: Antonio Russo <aerusso@aerusso.net>
* | 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
| |
* | 👹 Feed the hobgoblins (delint).Jason R. Coombs2021-09-042-3/+0
| |
* | remove lib2to3 usageThomas Grainger2021-09-044-366/+165
| |
* | Merge pull request #2712 from darkvertex/data_files_glob_directiveJason R. Coombs2021-08-261-0/+35
|\ \ | |/ |/| Implement #1681 (globbing support for `[options.data_files]`)
| * globbing for [options.data_files]: Remove special treatment for filenames ↵Alan Fregtman2021-07-211-3/+0
| | | | | | | | with globby characters that exist literally.
| * Update globbing for [options.data_files] to be implicit, not requiring a ↵Alan Fregtman2021-07-211-3/+6
| | | | | | | | custom directive.
| * Implement "glob:" directive for declarative "data_files" option.Alan Fregtman2021-06-301-0/+35
| |
* | Fix extension in testSteve Dower2021-07-121-1/+1
| |
* | Override PyPy case in testSteve Dower2021-07-121-1/+11
| |
* | Fixes #2722: Adds an environment variable SETUPTOOLS_EXT_SUFFIX to override ↵Steve Dower2021-07-101-0/+26
|/ | | | the suffix inferred from the host Python runtime.
* Fix flaky testMarc Mueller2021-05-231-5/+3
|
* Keep user sorting for license filesMarc Mueller2021-05-231-5/+21
|
* Overwrite exlude from MANIFEST with license_files optionMarc Mueller2021-05-231-5/+6
| | | | | * needed for 'License-File' metadata, as this is written before MANIFEST is read
* Add License-File field to package metadataMarc Mueller2021-05-232-1/+29
|
* Changes after rebaseMarc Mueller2021-05-222-4/+4
|
* Small changes after reviewMarc Mueller2021-05-221-5/+1
|
* Fix testsMarc Mueller2021-05-221-2/+8
|
* Write long description in message payloadMarc Mueller2021-05-221-0/+21
|
* Fix misc. doc typosluz paz2021-05-143-4/+4
| | | Found via `codespell`
* Remove hard-coded indexes of metadata lines. Ref #2641.Jason R. Coombs2021-05-091-3/+5
|
* Merge pull request #2641 from cdce8p/mv-versionJason R. Coombs2021-05-092-8/+22
|\ | | | | Always use latest metadata version for PKG-INFO
| * Always use latest mv version for PKG-INFOMarc Mueller2021-04-162-8/+22
| |
* | Merge pull request #2640 from cdce8p/licenseJason R. Coombs2021-05-092-0/+35
|\ \ | | | | | | Add escaping to license field
| * | Add escaping to license fieldMarc Mueller2021-04-162-0/+35
| |/
* | Merge pull request #2644 from tirkarthi/fix-threadingJason R. Coombs2021-04-241-1/+1
|\ \ | |/ |/| Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
| * Set daemon attribute instead of using setDaemon method that was deprecated ↵Karthikeyan Singaravelan2021-04-171-1/+1
| | | | | | | | in Python 3.10
* | Add rfc822_unescapeMarc Mueller2021-04-101-0/+40
|/
* Small changesMarc Mueller2021-04-031-2/+1
|
* Additional test casesMarc Mueller2021-04-031-3/+62
|
* license_files - Add support for glob patterns + add default patternsMarc Mueller2021-04-032-2/+3
|