summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Prefer packaging instead of pkg_resources in egg_info.pyAnderson Bravalheri2023-01-231-6/+3
| | |
| * | Prefer setuptools._normalization instead of pkg_resources in egg_info.pyAnderson Bravalheri2023-01-231-5/+6
| | |
| * | Prefer setuptools._normalization and importlib_metadata instead of ↵Anderson Bravalheri2023-01-231-6/+8
| | | | | | | | | | | | pkg_resources in dist.py
| * | Prefer setuptools._normalization instead of pkg_resources in develop.pyAnderson Bravalheri2023-01-231-6/+8
| | |
| * | Extract normalization functions from editable_wheel and dist_info into own ↵Anderson Bravalheri2023-01-233-62/+113
| | | | | | | | | | | | module
| * | Replace pkg_resources in version.pyAnderson Bravalheri2023-01-231-2/+2
| | |
* | | Add test for debugging tipsAnderson Bravalheri2023-02-131-0/+19
| | |
* | | Improve warning messageAnderson Bravalheri2023-02-131-2/+3
| | |
* | | Clarify 'editable_wheel' and 'dist_info' are internal commands onlyAnderson Bravalheri2023-02-132-3/+8
| | |
* | | Use warning in editable since pip hides PEP 678 notesAnderson Bravalheri2023-02-131-8/+6
| | |
* | | Remove editable_wheel "catch all" exceptionAnderson Bravalheri2023-02-131-12/+37
| |/ |/| | | | | … instead add information helping how to debug the problem.
* | Merge https://github.com/pypa/distutils into distutils-8c3c3d29Jason R. Coombs2023-02-0653-111/+152
| |
* | Update generated validation code using validate_pyproject==0.12.1 (#3798)Anderson Bravalheri2023-02-012-49/+83
|\ \
| * | Update generated validation code using validate_pyproject==0.12.1Anderson Bravalheri2023-01-271-75/+77
| | |
| * | Update generated validation code using validate_pyproject==0.12Anderson Bravalheri2023-01-252-80/+112
| |/
* | dedicated testhauntsaninja2023-01-251-16/+18
| |
* | add a testhauntsaninja2023-01-241-0/+16
| |
* | Make __file__ an absolute path in setuptools.build_metahauntsaninja2023-01-241-1/+1
|/ | | | | | | | | This is a difference between pip's legacy wheel build (or direct invocations of setup.py) and the PEP 517 build. While setup.py scripts that rely on this are fragile, it was quite painful to debug! Since Python 3.4, `__file__` is usually an absolute path, so this change might result in fewer surprises.
* Remove pypackaging from extern in setuptoolsAnderson Bravalheri2023-01-231-2/+9
|
* Update implementation to consider new packaging exceptionsAnderson Bravalheri2023-01-231-11/+16
|
* Update test expectations to match new packaging versionAnderson Bravalheri2023-01-231-0/+20
|
* Update vendored packaging/jaraco.context for setuptoolsAnderson Bravalheri2023-01-2351-12047/+1805
|
* Merge pull request #3741 from mgorny/msvc-hackJason R. Coombs2023-01-212-23/+0
|\ | | | | Remove msvc hack for Numpy < 1.11.2
| * Remove msvc hack for Numpy < 1.11.2Michał Górny2023-01-212-23/+0
| | | | | | | | | | | | | | Remove the msvc hack that was applied if numpy.distutils were loaded prior to Numpy 1.11.2. These versions date back to June 2016 and no longer build with Python 3.7. At the same time, the hack relies on packaging.version.LegacyVersion that is removed in packaging 22.0.
* | Fix version syntax in test_nowarn_accidental_env_marker_misconfigMichał Górny2023-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | Fix the two "marker"-alike cases (for package `python_version`) for test_nowarn_accidental_env_marker_misconfig to use `<3` rather than `<'3'`. The latter maps to the version `'3'` which is not a valid version and therefore causes an error with packaging-22.0+. See the discussion at https://github.com/pypa/setuptools/commit/506e7e7e1cac6a5d534184d35a20a73e9dd58045#r97577660
* | Fix dependency syntax error in test_dist_infoMichał Górny2023-01-211-1/+2
|/ | | | | | | | | | | | Fix the install_requires used in test_dist_info to use the dangling syntax, in order to correctly handle markers. This fixes syntax error when parsed by packaging-22.0+, as well as setuptools warning: ``` UserWarning: One of the parsed requirements in `install_requires` looks like a valid environment marker: \'sys_platform != "linux"\' Make sure that the config is correct and check https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#opt-2 warnings.warn(msg, UserWarning)\n' ```
* Account for windows paths in testsAnderson Bravalheri2023-01-201-1/+5
|
* Avoid exhausting iteratorAnderson Bravalheri2023-01-201-3/+2
|
* Delay importAnderson Bravalheri2023-01-201-1/+2
|
* Account for file directive with string in pyproject.tomlAnderson Bravalheri2023-01-201-2/+4
|
* Capture expectations of issue 3781Anderson Bravalheri2023-01-201-4/+15
|
* Add informative notes for the InvalidVersion error (#3776)Anderson Bravalheri2023-01-201-0/+21
|\
| * Revert "Make deprecation warning more visible and mention --use-pep517"Anderson Bravalheri2023-01-191-20/+5
| | | | | | | | | | | | | | This reverts commit 4fadb9505b02a88858e54fd762e4958886a82bcb. It seems that the changes that were introduced prevent the tests from ever finishing to run.
| * Make deprecation warning more visible and mention --use-pep517Anderson Bravalheri2023-01-191-5/+20
| |
| * Add informative notes for the InvalidVersion error (LegacyVersion removal)Anderson Bravalheri2023-01-181-0/+21
| |
* | Log referenced files when loggingAnderson Bravalheri2023-01-201-1/+2
| |
* | Ensure file referenced by 'license.file' in pyproject.toml is added to sdistAnderson Bravalheri2023-01-191-0/+1
| |
* | Capture expectations about 'project.license.file' in pyproject.tomlAnderson Bravalheri2023-01-191-3/+7
| | | | | | | | … to be automatically added to the sdist
* | Ensure file referenced by 'readme' in pyproject.toml is added to sdistAnderson Bravalheri2023-01-191-3/+9
| |
* | Refactor tests for file directiveAnderson Bravalheri2023-01-191-35/+22
| |
* | Expand test to account for pyproject's readmeAnderson Bravalheri2023-01-191-14/+15
| |
* | Add files referenced by 'file=' directive in pyproject.toml to sdistAnderson Bravalheri2023-01-191-3/+6
| |
* | Capture expectation about file directive in pyproject.toml to be in the sdistAnderson Bravalheri2023-01-191-1/+27
| |
* | Add files referenced by file: directive in setup.cfg to sdistAnderson Bravalheri2023-01-193-5/+24
| |
* | Capture expectation about file: directive in setup.cfg to be in the sdistAnderson Bravalheri2023-01-191-0/+24
|/
* Update test_invalid_version to expect failure.Jason R. Coombs2023-01-141-7/+20
|
* ⚫ Fade to black.Jason R. Coombs2023-01-141-11/+12
|
* Merge branch 'main' into debt/remove-legacy-versionJason R. Coombs2023-01-14292-15095/+34312
|\
| * Update vendored transitive dependencies.Jason R. Coombs2023-01-1327-142/+212
| |
| * Merge: Catching excption from utime and providing human-readable error ↵Anderson Bravalheri2023-01-112-1/+21
| |\ | | | | | | | | | description (#3716)