Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | The default encoding of Python sources is UTF-8 | Dimitri Papadopoulos | 2022-11-20 | 4 | -7/+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 | |
| |/ | ||||||
| * | 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 | |
| | | ||||||
| * | Limit the amount of whitespace to search/backtrack. Fixes #3659. | Jason R. Coombs | 2022-11-04 | 1 | -1/+0 | |
| | | ||||||
| * | Add test capturing failed expectation. Ref #3659. | Jason R. Coombs | 2022-11-04 | 1 | -0/+9 | |
| | | ||||||
| * | ⚫ Fade to black. | Jason R. Coombs | 2022-11-04 | 1 | -40/+37 | |
| | | ||||||
| * | 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 | 1 | -0/+9 | |
| |\ \ \ | ||||||
| | | * | | Catch an edge case in expand._assert_local() | Mike Salvatore | 2022-09-18 | 1 | -0/+9 | |
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | 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 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. | |||||
| * | | 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 | 1 | -21/+0 | |
| | | | | | | | | | | | | pypa/distutils#183. | |||||
| * | | expand: Give bytes to ast.parse to let it discover encoding cookie. | Julien Palard | 2022-09-27 | 1 | -0/+14 | |
| |/ | ||||||
| * | Prevent accidental name matching in editable hooks (#3562) | Anderson Bravalheri | 2022-08-24 | 1 | -0/+24 | |
| |\ | ||||||
| | * | 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 | 1 | -0/+43 | |
| |\ \ | | |/ | |/| | ||||||
| | * | 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"}`. | |||||
| | * | Replicate problems with `setup.py --version` and auto-discovery | Anderson Bravalheri | 2022-08-19 | 1 | -0/+9 | |
| | | | ||||||
| * | | Fix recursion problem in finder | Anderson Bravalheri | 2022-08-21 | 1 | -1/+2 | |
| | | | ||||||
| * | | 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 | 1 | -179/+0 | |
| | | ||||||
| * | Remove unecessary comma | Anderson Bravalheri | 2022-08-15 | 1 | -1/+1 | |
| | | ||||||
| * | Fix build_meta when metadata_directory=='.' (#3528) | Anderson Bravalheri | 2022-08-15 | 1 | -0/+17 | |
| |\ | ||||||
| | * | Fix error in tests | Anderson Bravalheri | 2022-08-15 | 1 | -2/+1 | |
| | | | ||||||
| | * | 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 | |
| | | | ||||||
| * | | Reproduce error in issue 3522 | Anderson Bravalheri | 2022-08-15 | 1 | -0/+31 | |
| |/ | ||||||
| * | Fix other problems with editable installs (#3517) | Anderson Bravalheri | 2022-08-12 | 1 | -0/+31 | |
| |\ | | | | | | | | | | | | | | | | | | | 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 | |||||
| | * | Fix test file | Anderson Bravalheri | 2022-08-12 | 1 | -2/+2 | |
| | | | ||||||
| | * | Replicate error in issue 3513 | Anderson Bravalheri | 2022-08-12 | 1 | -0/+31 | |
| | | | ||||||
| * | | Fix flake8 error | Anderson Bravalheri | 2022-08-12 | 1 | -0/+1 | |
| | | | ||||||
| * | | Add test for non-optional extensions | Anderson Bravalheri | 2022-08-12 | 1 | -20/+36 | |
| | | | ||||||
| * | | Replicate error in issue 3510 | Anderson Bravalheri | 2022-08-12 | 1 | -0/+20 | |
| |/ | ||||||
| * | Handle accidental virtual namespaces in editable install (#3512) | Anderson Bravalheri | 2022-08-12 | 1 | -1/+49 | |
| |\ | ||||||
| | * | Add missing virtual namespace to tests | Anderson Bravalheri | 2022-08-12 | 1 | -1/+1 | |
| | | | ||||||
| | * | Replicate error in issue 3504 | Anderson Bravalheri | 2022-08-12 | 1 | -0/+48 | |
| | | | ||||||
| * | | Replicate error issue 3501 | Anderson Bravalheri | 2022-08-12 | 1 | -4/+47 | |
| |/ | ||||||
| * | Prevent errors in editable install and external ``.egg-info`` (#3503) | Anderson Bravalheri | 2022-08-11 | 1 | -0/+37 | |
| |\ |