summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* setuptools/tests: minor cleanupBenoit Pierre2022-07-021-3/+5
|
* setuptools: add test for distutils' entrypoints using extrasBenoit Pierre2022-07-021-0/+69
|
*-. Allow `file` directive for dependencies (#3253, #3255)Anderson Bravalheri2022-06-192-0/+100
|\ \
| | * Allow `file:` for `dependencies` and `optional-dependencies` in pyproject.tomlAarni Koskela2022-04-081-0/+82
| | |
| * | Allow `file:` for `requires` statements in setup.cfgAarni Koskela2022-06-141-0/+18
| | | | | | | | | | | | Refs #1951
* | | test_expand: Add example for annotated assignment without valueAnderson Bravalheri2022-06-191-5/+9
| | |
* | | Add support for annotated assignments to static attribute lookup.Karl Otness2022-06-181-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | When walking the ast of a module, look for AnnAssign nodes in addition to Assign to support assignments with type annotations, for example. Since we have to read different attributes, split the generators into a for loop. Existing ast.Assign nodes follow the same processing as before.
* | | fixed some spelling mistakes,Bastian Venthur2022-06-141-1/+1
|/ / | | | | | | that's all :)
* | Add setuptools.command.build (#3256)Anderson Bravalheri2022-06-131-0/+63
|\ \
| * | Separate test for build sub commandsAnderson Bravalheri2022-06-091-7/+38
| | |
| * | Test that users are informed about subcommands in distutilsAnderson Bravalheri2022-06-091-6/+14
| | |
| * | Test that extending setuptools' build sub_commands does not extend distutilsIsuru Fernando2022-06-091-1/+9
| | |
| * | Add a simple test for setuptools.command.buildIsuru Fernando2022-04-071-0/+16
| |/
* | No need to set PYTHONPATH in test_setup_install_includes_dependencies at allMiro Hrončok2022-05-241-4/+0
| |
* | Preserve PYTHONPATH in test_setup_install_includes_dependenciesMiro Hrončok2022-05-241-1/+5
| | | | | | | | | | So if the tested setuptools is only located in manually set $PYTHONPATH, it still tests that setuptools instead of the previously installed one in site-packages.
* | Make test_setup_install_includes_dependencies easier to debugMiro Hrončok2022-05-241-7/+12
| |
* | Add deprecation messages for `namespace_packages` (#3262)Anderson Bravalheri2022-05-162-3/+23
|\ \
| * | Add deprecation messages for `namespace_packages`.Anderson Bravalheri2022-05-162-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | The docs in https://setuptools.pypa.io/en/latest/userguide/package_discovery.html and https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ suggest that this field is deprecated.
* | | Warn about deprecation of behaviour that considers modules/packages as data ↵Anderson Bravalheri2022-05-161-0/+71
|\ \ \ | | | | | | | | | | | | when include_package_data=True (#3308)
| * | | Add test that capture transitional behaviour for build_pyAnderson Bravalheri2022-05-051-0/+71
| | | | | | | | | | | | | | | | | | | | During the transition, `build_py` should warn when a module or package is included in the distribution as if it was "package data".
* | | | Remove residual dependencies from setup.py when dependencies are set in ↵Anderson Bravalheri2022-05-161-0/+9
|\ \ \ \ | | | | | | | | | | | | | | | pyproject.toml (#3306)
| * | | | Capture expectations about overwritten dependencies in testAnderson Bravalheri2022-05-041-0/+9
| |/ / / | | | | | | | | | | | | This is discussed in issue 3300.
* | | | Allow recursive globs for package_data (#3309)Anderson Bravalheri2022-05-161-0/+23
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix mistake on recursive glob testnullableVoidPtr2022-05-101-1/+1
| | | |
| * | | Allow recursive globs for package_datanullableVoidPtr2022-05-071-0/+23
| |/ /
* | | do not backfill Project-URL: homepage into Home-page: field (causes ↵wim glenn2022-04-291-8/+15
|/ / | | | | | | duplicates on PyPI). prevent "UNKNOWN" vals from appearing in summary, license, platform. prevent an extra newline getting added in long description
* | Try to rescue the download backing off a few secondsAnderson Bravalheri2022-04-211-2/+8
|/
* Simplify auto-discovered package_dirAnderson Bravalheri2022-04-051-1/+31
| | | | | | | | If the directory follows a src-layout-ish, try harder to make `package_dir` in the form `{"": "src"}`. This might be later important for PEP 660 (e.g. when composing pth files or symlinking the toplevel packages).
* Fix problem with dynamic readme (#3247)Anderson Bravalheri2022-04-041-0/+14
|\
| * Add test for dynamic readme from setup.py argsAnderson Bravalheri2022-04-041-0/+14
| |
* | Fix version produced by dist_info (#3230)Anderson Bravalheri2022-04-041-0/+84
|\ \
| * | Fix reference to issue numberAnderson Bravalheri2022-03-301-1/+1
| | |
| * | Test with different package namesAnderson Bravalheri2022-03-301-11/+12
| | |
| * | Add comment explaining testAnderson Bravalheri2022-03-291-0/+3
| | |
| * | Capture expectation of invalid version warningAnderson Bravalheri2022-03-291-0/+10
| | |
| * | Test dist_info creates similar dir to bdist_wheelAnderson Bravalheri2022-03-291-0/+70
| | |
* | | Honor file mode for wheel install_as_egg (#3167)Anderson Bravalheri2022-04-041-0/+87
|\ \ \ | |_|/ |/| |
| * | Run the test on Windows, but don't check the file modeAnderson Bravalheri2022-03-141-2/+3
| | |
| * | Deactivate tests on windowsJosip Delic2022-03-141-0/+1
| | |
| * | Update setuptools/tests/test_wheel.pyAnderson Bravalheri2022-03-141-1/+2
| | | | | | | | | | | | Attempt to fix flake8
| * | Add test for zipefile modeJosip Delic2022-03-141-0/+84
| | |
* | | Attempt to fix problems on windowsAnderson Bravalheri2022-04-041-0/+2
| | |
* | | Be explicit about packagesAnderson Bravalheri2022-04-041-1/+3
| | |
* | | Fix error with test_easy_installAnderson Bravalheri2022-04-041-3/+6
| | |
* | | Merge pull request #3151 from hexagonrecursion/fix-editableJason R. Coombs2022-04-031-0/+43
|\ \ \ | | | | | | | | Fix editable --user installs with build isolation
| * | | Replace direct usage of the `py` libraryAnderson Bravalheri2022-03-081-11/+11
| | | | | | | | | | | | | | | | | | | | According to https://pypi.org/project/py/, this library is in maintenance mode and should not be used in new code.