summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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)
| | * Improve code formattingAnderson Bravalheri2023-01-111-4/+9
| | |
| | * Test added. Ref #3667.Andrzej Kaczmarczyk2022-11-291-0/+11
| | |
| | * Catching the exception of utime in order to provide a path to the file that ↵Andrzej Kaczmarczyk2022-11-281-1/+5
| | | | | | | | | | | | was subject to the utime call; originally, the exception from utime does not point to this filepath. Ref #3667.
| * | Merge: Add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDE (#3715)Anderson Bravalheri2023-01-111-0/+1
| |\ \
| | * | add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDEDemian Brecht2022-11-281-0/+1
| | |/
| * | Merge: Fixes incomplete getattr statement (#3714)Anderson Bravalheri2023-01-111-1/+1
| |\ \
| | * | Fix getattr statementAnderson Bravalheri2022-11-281-1/+1
| | |/
| * | Update failing test due to latest versions of pip_runAnderson Bravalheri2023-01-071-1/+1
| | | | | | | | | | | | | | | | | | It seems that the latest version of `pip_run` can no longer handle `str` objects in `inject_sitecustomize` (see `https://github.com/jaraco/pip-run/commit/30c62a0eadd5af422709e75993ff19a39fe69733`).
| * | Add support for testing pip<23 and drop support for pip<20.Jason R. Coombs2022-12-161-2/+1
| | |
| * | xfail more tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-3/+10
| | |
| * | xfail tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-2/+14
| | |
| * | ⚫ Fade to black.Jason R. Coombs2022-12-161-10/+21
| |/
| * Remove wrong commentAnderson Bravalheri2022-11-231-1/+1
| |
| * Replace condition to patch distutils.dist.logAnderson Bravalheri2022-11-231-1/+2
| | | | | | | | | | As `distutils.log.Log` was backfilled for compatibility we no longer can use this as a condition.
| * Add simple regression test for logging patchesAnderson Bravalheri2022-11-231-0/+17
| |
| * Merge pypa/distutils@3e9d47e with fix for distutils.log (#3705)Anderson Bravalheri2022-11-231-0/+19
| |\
| | * Merge https://github.com/pypa/distutils into bugfix/3693-distutils-3e9d47eJason R. Coombs2022-11-221-0/+19
| | |