Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fix build directories interference with auto-discovery (#3704) | Anderson Bravalheri | 2022-11-23 | 2 | -1/+15 | |
| |\ \ | ||||||
| | * | | Use hidden directory to not interfere with discovery | Anderson Bravalheri | 2022-11-22 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | Capture behaviour of issue 3692 in test | Anderson Bravalheri | 2022-11-22 | 1 | -0/+13 | |
| | | | | ||||||
| * | | | Improve clib builds reproducibility (#3679) | Anderson Bravalheri | 2022-11-23 | 2 | -1/+29 | |
| |\ \ \ | ||||||
| | * | | | Make clib build reproducible by sorting sources | Daniel Garcia Moreno | 2022-11-15 | 2 | -1/+29 | |
| | | | | | | | | | | | | | | | | | | | | Fix https://github.com/pypa/setuptools/issues/3678 | |||||
| * | | | | Improve invalid entry-points traceback (#3684) | Anderson Bravalheri | 2022-11-23 | 2 | -23/+62 | |
| |\ \ \ \ | ||||||
| | * | | | | Test user-friendly exeptions for invalid entry-poitns | Anderson Bravalheri | 2022-11-15 | 1 | -22/+53 | |
| | | | | | | ||||||
| | * | | | | Display a user-friendly exception when entry-point is invalid | Anderson Bravalheri | 2022-11-15 | 1 | -1/+9 | |
| | |/ / / | ||||||
| * | | | | Fix logging errors - `underlying buffer has been detached` (#3690) | Anderson Bravalheri | 2022-11-23 | 1 | -10/+2 | |
| |\ \ \ \ | ||||||
| | * | | | | Fix logging errors: 'underlying buffer has been detached' | Daniel Laügt | 2022-11-17 | 1 | -10/+2 | |
| | |/ / / | ||||||
| * | | | | Remove unnecessary `coding` comment (#3696) | Anderson Bravalheri | 2022-11-23 | 6 | -9/+1 | |
| |\ \ \ \ | ||||||
| | * | | | | The default encoding of Python sources is UTF-8 | Dimitri Papadopoulos | 2022-11-20 | 6 | -9/+1 | |
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 assumes the encoding is UTF-8 by default, and so do or should do tools such as text editors when opening Python files. No need to explicitly set `*- coding: utf-8 -*-`. | |||||
| | | | | | ||||||
| | \ \ \ | ||||||
| *-. \ \ \ | Merge spelling/space improvements (#3695, #3698, #3697, #3699) | Anderson Bravalheri | 2022-11-23 | 1 | -2/+2 | |
| |\ \ \ \ \ | | | |/ / / | | | | | / | | |_|_|/ | |/| | | | ||||||
| | * | | | Fix typos found by codespell | Dimitri Papadopoulos | 2022-11-20 | 1 | -2/+2 | |
| | |/ / | ||||||
| * | | | Add workaround for PyPy | Anderson Bravalheri | 2022-11-22 | 1 | -2/+8 | |
| | | | | ||||||
| * | | | Simplify patching in test | Anderson Bravalheri | 2022-11-22 | 1 | -12/+7 | |
| | | | | ||||||
| * | | | Account for stdlib back compatibility in test_manifest | Anderson Bravalheri | 2022-11-22 | 1 | -8/+19 | |
| | | | | ||||||
| * | | | Modernize test_manifest to use new log infra | Anderson Bravalheri | 2022-11-22 | 1 | -60/+46 | |
| |/ / | ||||||
| * | | Merge https://github.com/pypa/distutils into distutils-e0787fa | Jason R. Coombs | 2022-11-13 | 75 | -631/+557 | |
| |/ | ||||||
| * | Skip an additional test under xdist. Ref pypa/distutils#183. Expanded ↵ | Jason R. Coombs | 2022-11-13 | 1 | -4/+8 | |
| | | | | | | | | workaround for pytest-dev/pytest-xdist#843. | |||||
| * | Skip test under xdist as it fails after migrating to Python logging. Ref ↵ | Jason R. Coombs | 2022-11-13 | 1 | -0/+4 | |
| | | | | | | | | pypa/distutils#183. Workaround for pytest/pytest-xdist#843. | |||||
| * | ⚫ Fade to black. | Jason R. Coombs | 2022-11-13 | 1 | -6/+10 | |
| | | ||||||
| * | Add a test for maintainers w/ international emails | Sviatoslav Sydorenko | 2022-11-10 | 1 | -10/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The current `email.headerregistry.Address` implementation only allows RFC 5322 but the world is slowly moving towards supporting the international emails too. This patch adds a test case that is currently expected to fail but hopefully should pass once the support for RFC 6532 is implemented in the standard library. Refs: * https://datatracker.ietf.org/doc/html/rfc6532 * https://en.wikipedia.org/wiki/International_email | |||||
| * | Ensure pyproject.toml accepts UTF-8 in maintainers | Anderson Bravalheri | 2022-11-09 | 1 | -2/+19 | |
| | | ||||||
| * | Merge pull request #3656 from bmorris3/typos | Jason R. Coombs | 2022-11-04 | 1 | -2/+2 | |
| |\ | | | | | | | Typo corrections | |||||
| | * | Typo corrections | Brett M. Morris | 2022-10-31 | 1 | -2/+2 | |
| | | | ||||||
| * | | Limit the amount of whitespace to search/backtrack. Fixes #3659. | Jason R. Coombs | 2022-11-04 | 2 | -2/+1 | |
| | | | ||||||
| * | | Add test capturing failed expectation. Ref #3659. | Jason R. Coombs | 2022-11-04 | 2 | -1/+14 | |
| | | | ||||||
| * | | ⚫ Fade to black. | Jason R. Coombs | 2022-11-04 | 1 | -40/+37 | |
| | | | ||||||
| * | | Remove workaround for emacs. | Jason R. Coombs | 2022-11-04 | 1 | -1/+0 | |
| | | | ||||||
| * | | ⚫ Fade to black. | Jason R. Coombs | 2022-11-04 | 1 | -63/+100 | |
| |/ | ||||||
| * | Consistently use unittest.mock in tests | Miro Hrončok | 2022-10-17 | 6 | -12/+7 | |
| | | | | | | | | | | | | | | - Some tests used unittest.mock from the standard library - Some tests used mock from PyPI - Some tests tried to import unittest.mock with a fallback to mock (the import never fails on Python 3.7+, older Pythons are not supported) | |||||
| *---------. | Merge PRs #3636 #3634 #3633 #3595 #3576 #3569 #3564 | Anderson Bravalheri | 2022-10-14 | 9 | -30/+50 | |
| |\ \ \ \ \ \ | ||||||
| | | | | | | * | 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 | |
| | | | |