summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* expand: Give bytes to ast.parse to let it discover encoding cookie.Julien Palard2022-09-271-0/+14
|
* Prevent accidental name matching in editable hooks (#3562)Anderson Bravalheri2022-08-241-0/+24
|\
| * Capture problems with similar names in editable installAnderson Bravalheri2022-08-241-0/+24
| |
* | Remove inadvertent splatting of the name attribute (#3547)Anderson Bravalheri2022-08-241-0/+43
|\ \ | |/ |/|
| * Replicate problems with name discovery and dynamic versionsAnderson Bravalheri2022-08-191-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-discoveryAnderson Bravalheri2022-08-191-0/+9
| |
* | Fix recursion problem in finderAnderson Bravalheri2022-08-211-1/+2
| |
* | Capture recursion problem with editable finderAnderson Bravalheri2022-08-211-0/+20
|/ | | | First mentioned in issue 3550.
* Remove monkeypatching of msvc9compiler. Fixes #3536Jason R. Coombs2022-08-171-179/+0
|
* Remove unecessary commaAnderson Bravalheri2022-08-151-1/+1
|
* Fix build_meta when metadata_directory=='.' (#3528)Anderson Bravalheri2022-08-151-0/+17
|\
| * Fix error in testsAnderson Bravalheri2022-08-151-2/+1
| |
| * Reproduce error in issue 3523Anderson Bravalheri2022-08-151-0/+17
| |
* | Skip test on platforms difficult to setup compilersAnderson Bravalheri2022-08-151-0/+3
| |
* | Improve glob pattern in testAnderson Bravalheri2022-08-151-3/+2
| |
* | Reproduce error in issue 3522Anderson Bravalheri2022-08-151-0/+31
|/
* Fix other problems with editable installs (#3517)Anderson Bravalheri2022-08-121-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 fileAnderson Bravalheri2022-08-121-2/+2
| |
| * Replicate error in issue 3513Anderson Bravalheri2022-08-121-0/+31
| |
* | Fix flake8 errorAnderson Bravalheri2022-08-121-0/+1
| |
* | Add test for non-optional extensionsAnderson Bravalheri2022-08-121-20/+36
| |
* | Replicate error in issue 3510Anderson Bravalheri2022-08-121-0/+20
|/
* Handle accidental virtual namespaces in editable install (#3512)Anderson Bravalheri2022-08-121-1/+49
|\
| * Add missing virtual namespace to testsAnderson Bravalheri2022-08-121-1/+1
| |
| * Replicate error in issue 3504Anderson Bravalheri2022-08-121-0/+48
| |
* | Replicate error issue 3501Anderson Bravalheri2022-08-121-4/+47
|/
* Prevent errors in editable install and external ``.egg-info`` (#3503)Anderson Bravalheri2022-08-111-0/+37
|\
| * Replicate error in issue 3500Anderson Bravalheri2022-08-111-0/+37
| |
* | Fix issue with editable install and single module distributionsAnderson Bravalheri2022-08-111-0/+29
|\ \
| * | Reproduce problem with editable install in issue 3499Anderson Bravalheri2022-08-111-0/+29
| |/
* | editable_install: Ensure tests with legacy namespaces runAnderson Bravalheri2022-08-111-0/+7
|/
* Merge 'main' into feature/pep660Anderson Bravalheri2022-08-062-18/+50
|\
| * Improve pyproject.toml validation messages (#3487)Anderson Bravalheri2022-08-061-18/+5
| |\
| | * Improve pyproject.toml validation messagesAnderson Bravalheri2022-08-041-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the following discussions: - https://github.com/pypa/packaging.python.org/pull/1031#issuecomment-1127214128 - https://github.com/pypa/packaging-problems/issues/604 it seems that people are having a hard time finding information about validation error due to the long traceback and debug info. The idea behind this change is to make the most relevant information to fix the error easier to spot.
| * | setup.cfg parsing: Refactor _parse_requirements_list and ↵Anderson Bravalheri2022-08-061-2/+2
| | | | | | | | | | | | warn_accidental_env_marker_misconfig
| * | Add warning for potential extras_require misconfigurationLumir Balhar2022-08-061-0/+45
| |/ | | | | | | Fixes: https://github.com/pypa/setuptools/issues/3467
* | Prevent test errors on Windows due to path sepAnderson Bravalheri2022-08-041-4/+8
| |
* | Add test for 'compat' editable modeAnderson Bravalheri2022-08-031-0/+33
| |
* | Adapt test_build_meta to the new format of editable_wheel optionsAnderson Bravalheri2022-08-031-5/+5
| |
* | Avoid using 'SETUPTOOLS_EDITABLE' env var in testAnderson Bravalheri2022-08-021-24/+28
| |
* | Use venv to isolate test_legacy_editable_installAnderson Bravalheri2022-08-021-6/+5
| | | | | | | | | | This is a test fix to prevent this test case for breaking test isolation.
* | Use set comparisson in test instead of listAnderson Bravalheri2022-08-021-3/+3
| |
* | Merge 'upstream/main' into feature/pep660Anderson Bravalheri2022-07-212-30/+24
|\ \ | |/
| * Minor edits to integration tests.Jason R. Coombs2022-07-131-13/+13
| |
| * Just assume exactly one sdist is available.Jason R. Coombs2022-07-131-10/+2
| |
| * Add another conditional to resolve the release for version-specific ↵Jason R. Coombs2022-07-131-1/+1
| | | | | | | | packages. Fixes #3448.
| * Use text mode for subprocess, avoiding unicode sandwich.Jason R. Coombs2022-07-041-6/+8
| |
* | Merge 'upstream/main' into feature/pep660Anderson Bravalheri2022-07-041-3/+74
|\ \ | |/
| * setuptools/tests: minor cleanupBenoit Pierre2022-07-021-3/+5
| |
| * setuptools: add test for distutils' entrypoints using extrasBenoit Pierre2022-07-021-0/+69
| |