Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | | | | | * | remove python2 cases | Stéphane Blondon | 2022-08-25 | 2 | -3/+1 | |
| | | | | | | | | ||||||
| | | | | | * | | Improve warnings in editable install | Anderson Bravalheri | 2022-08-26 | 2 | -5/+10 | |
| | | | | | |/ | ||||||
| | | | | * | | Update validate_pyproject | Anderson Bravalheri | 2022-09-02 | 3 | -19/+21 | |
| | | | | |/ | ||||||
| | | | * | | Handle no-packages projects in editable_wheel | Anderson Bravalheri | 2022-10-12 | 1 | -1/+6 | |
| | | | | | | ||||||
| | | * | | | Use abspath() instead of resolve() in expand._assert_local() | Mike Salvatore | 2022-09-22 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4249da1ecf uses `pathlib.Path.resolve()` instead of `os.path.abspath()` to canonicalize path names. `resolve()` resolves symlinks, whereas `abspath()` does not. `resolve()` can also raise a `RuntimeError` if infinite loops are discovered while resolving the path. There is some concern that using `resolve()` would not be backwards compatible. This commit switches back to `abspath()` but still uses `Path.parents` to avoid the edge case. See PR #3595 for more details. | |||||
| | | * | | | Catch an edge case in expand._assert_local() | Mike Salvatore | 2022-09-18 | 2 | -1/+13 | |
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using str.startswith() has an edge case where someone can access files outside the root directory. For example, consider the case where the root directory is "/home/user/my-package" but some secrets are stored in "/home/user/my-package-secrets". Evaluating a check that "/home/user/my-package-secrets".startswith("/home/user/my-package") will return True, but the statement's intention is that no file outside of "/home/user/my-package" can be accessed. Using pathlib.Path.resolve() and pathlib.Path.parents eliminates this edge case. | |||||
| | * | | | fix small error message typo in editable_wheel.py | alexzorin | 2022-10-12 | 1 | -1/+1 | |
| | | |/ | | |/| | ||||||
| * | | | Skip stdlib distutils tests on Python 3.12 | Miro Hrončok | 2022-10-13 | 1 | -4/+17 | |
| |/ / | | | | | | | | | | | | | | | | | | | This is an imperfect way to make the tests pass on Python 3.12. Long-term goal is to deprecate the stdlib option, see https://github.com/pypa/setuptools/issues/3625 | |||||
| * | | Restore protection of distutils.log patching. | Jason R. Coombs | 2022-10-08 | 1 | -0/+5 | |
| | | | ||||||
| * | | Restore test for log module, but bypass when irrelevant. | Jason R. Coombs | 2022-10-08 | 1 | -0/+18 | |
| | | | ||||||
| * | | Skip manifest tests as they're copy pasta and broken under a unified logging ↵ | Jason R. Coombs | 2022-10-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | framework. | |||||
| * | | Suppress monkeypatch when Log is gone, indicating distutils is using logging ↵ | Jason R. Coombs | 2022-10-05 | 1 | -1/+2 | |
| | | | | | | | | | | | | natively. | |||||
| * | | Support caplog and capsys now that logs go through logging. | Jason R. Coombs | 2022-10-05 | 1 | -4/+14 | |
| | | | ||||||
| * | | Remove hack around distutils.dist.log, no longer relevant with ↵ | Jason R. Coombs | 2022-10-05 | 2 | -27/+0 | |
| | | | | | | | | | | | | pypa/distutils#183. | |||||
| * | | Extract context manager for suppressing logs. Ref pypa/distutils#183. | Jason R. Coombs | 2022-10-05 | 1 | -8/+17 | |
| | | | ||||||
| * | | Merge pull request #3613 from JulienPalard/mdk-expand | Jason R. Coombs | 2022-09-29 | 2 | -3/+16 | |
| |\ \ | | | | | | | | | expand: Give bytes to ast.parse to let it discover encoding cookie. | |||||
| | * | | Use pathlib to open the file | Jason R. Coombs | 2022-09-29 | 1 | -3/+2 | |
| | | | | ||||||
| | * | | expand: Give bytes to ast.parse to let it discover encoding cookie. | Julien Palard | 2022-09-27 | 2 | -1/+15 | |
| | | | | ||||||
| * | | | Merge https://github.com/pypa/distutils into distutils-6852b20 | Jason R. Coombs | 2022-09-29 | 11 | -234/+250 | |
| |/ / | ||||||
| * | | Merge https://github.com/pypa/distutils into distutils-d82d926 | Jason R. Coombs | 2022-09-24 | 4 | -129/+88 | |
| |/ | ||||||
| * | Prevent accidental name matching in editable hooks (#3562) | Anderson Bravalheri | 2022-08-24 | 2 | -1/+25 | |
| |\ | ||||||
| | * | Prevent accidental partial name matching in editable hooks | Anderson Bravalheri | 2022-08-24 | 1 | -1/+1 | |
| | | | ||||||
| | * | Capture problems with similar names in editable install | Anderson Bravalheri | 2022-08-24 | 1 | -0/+24 | |
| | | | ||||||
| * | | Remove inadvertent splatting of the name attribute (#3547) | Anderson Bravalheri | 2022-08-24 | 3 | -6/+53 | |
| |\ \ | ||||||
| | * | | Fix problems with name discovery and dynamic versions | Anderson Bravalheri | 2022-08-19 | 1 | -5/+10 | |
| | | | | ||||||
| | * | | Replicate problems with name discovery and dynamic versions | Anderson Bravalheri | 2022-08-19 | 1 | -0/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to issue 3545 it seems that "name-discovery" happens, even when the project already explicitly sets it. This is related to parsing of dynamic versions (via `attr` directive), which triggers the auto-discovery to obtain the value of `package_dir`. The value of `package_dir` is used to find the path to the module in `version = {"attr" = "module_name.attr_name"}`. | |||||
| | * | | Remove inadvertent splatting of the name attribute | Benno Rice | 2022-08-19 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `name` attribute of a `Distribution` object is used by the command-line processing system and is not intended to hold the name of the distribution itself. Setting it to the name will cause the command-line processing system to have a bad time. | |||||
| | * | | Replicate problems with `setup.py --version` and auto-discovery | Anderson Bravalheri | 2022-08-19 | 1 | -0/+9 | |
| | | | | ||||||
| * | | | Merge https://github.com/pypa/distutils into distutils-22b9bcf | Jason R. Coombs | 2022-08-21 | 5 | -77/+66 | |
| | |/ | |/| | ||||||
| * | | Limit number of string replacements | Anderson Bravalheri | 2022-08-21 | 1 | -1/+5 | |
| | | | ||||||
| * | | Fix recursion problem in finder | Anderson Bravalheri | 2022-08-21 | 2 | -2/+3 | |
| | | | ||||||
| * | | Capture recursion problem with editable finder | Anderson Bravalheri | 2022-08-21 | 1 | -0/+20 | |
| |/ | | | | | | | First mentioned in issue 3550. | |||||
| * | Remove monkeypatching of msvc9compiler. Fixes #3536 | Jason R. Coombs | 2022-08-17 | 3 | -292/+1 | |
| | | ||||||
| * | Merge https://github.com/pypa/distutils | Jason R. Coombs | 2022-08-16 | 3 | -0/+1710 | |
| | | ||||||
| * | Remove unecessary comma | Anderson Bravalheri | 2022-08-15 | 1 | -1/+1 | |
| | | ||||||
| * | Fix build_meta when metadata_directory=='.' (#3528) | Anderson Bravalheri | 2022-08-15 | 2 | -5/+30 | |
| |\ | ||||||
| | * | Fix error in tests | Anderson Bravalheri | 2022-08-15 | 1 | -2/+1 | |
| | | | ||||||
| | * | Remove unused import | Anderson Bravalheri | 2022-08-15 | 1 | -1/+1 | |
| | | | ||||||
| | * | Refactor code to bubble up info directories in build_meta | Anderson Bravalheri | 2022-08-15 | 1 | -25/+18 | |
| | | | ||||||
| | * | Revert change in dist_info search for build_meta | Anderson Bravalheri | 2022-08-15 | 1 | -9/+24 | |
| | | | ||||||
| | * | Reproduce error in issue 3523 | Anderson Bravalheri | 2022-08-15 | 1 | -0/+17 | |
| | | | ||||||
| * | | Skip test on platforms difficult to setup compilers | Anderson Bravalheri | 2022-08-15 | 1 | -0/+3 | |
| | | | ||||||
| * | | Improve glob pattern in test | Anderson Bravalheri | 2022-08-15 | 1 | -3/+2 | |
| | | | ||||||
| * | | Fix backward compatibility with distutils | Anderson Bravalheri | 2022-08-15 | 1 | -0/+2 | |
| | | | ||||||
| * | | Reproduce error in issue 3522 | Anderson Bravalheri | 2022-08-15 | 1 | -0/+31 | |
| |/ | ||||||
| * | Merge https://github.com/pypa/distutils into distutils-fac564f | Jason R. Coombs | 2022-08-13 | 9 | -1640/+25 | |
| | | ||||||
| * | Merge pull request #3505 from pypa/distutils-cc017c7 | Jason R. Coombs | 2022-08-13 | 3 | -1693/+0 | |
| |\ | | | | | | | Remove old msvc modules (pypa/distutils@cc017c7) | |||||
| | * | Merge https://github.com/pypa/distutils into distutils-cc017c7 | Jason R. Coombs | 2022-08-11 | 3 | -1693/+0 | |
| | | | ||||||
| * | | Fix other problems with editable installs (#3517) | Anderson Bravalheri | 2022-08-12 | 3 | -16/+55 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 1. Ensure commands are finalized, to ensure plat_name is set. 2. Filter out temporary source files and prevent setuptools for attempting to consider them as part of the data_files/package_data list | |||||
| | * | | Filter out temporary source files from being added to sdist | Anderson Bravalheri | 2022-08-12 | 1 | -13/+20 | |
| | | | |