summaryrefslogtreecommitdiff
path: root/setuptools/tests/config/test_pyprojecttoml.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add test for dynamic readme from setup.py argsAnderson Bravalheri2022-04-041-0/+14
|
* Prepare to be strict in the future about entry-points in pyprojectAnderson Bravalheri2022-03-271-25/+39
|
* Adequate existing tests for the latest changesAnderson Bravalheri2022-03-271-2/+2
|
* Remove left-over debug statementAnderson Bravalheri2022-03-261-1/+0
|
* Remove no longer necessary xfail markAnderson Bravalheri2022-03-261-4/+1
|
* Test popular invalid pyproject patternsAnderson Bravalheri2022-03-261-0/+41
|
* Make sure dynamic classifiers in pyproject.toml don't fail (#3210)Anderson Bravalheri2022-03-251-25/+58
|\
| * Make sure dynamic classifiers don't fail on unexisting filesAnderson Bravalheri2022-03-251-25/+58
| |
* | Test setup.py' include_package_data not ignored when parsing pyprojectAnderson Bravalheri2022-03-251-0/+23
|/
* Add test for default include-package-data with 'pyproject.toml'Anderson Bravalheri2022-03-221-0/+13
|
* Adequate existing tests to the new errors for auto-discoveryAnderson Bravalheri2022-03-181-9/+16
|
* Add tests for dynamic classifiers on pyproject.tomlAnderson Bravalheri2022-03-171-6/+38
|
* Capture expectations about discovery and attr/cmdclassAnderson Bravalheri2022-03-091-17/+53
| | | | … `pyproject.toml` configs
* Find namespaces by default when using config in 'pyproject.toml'Anderson Bravalheri2022-03-051-2/+1
|
* Show significant error messages to user and avoid traceback pollutionAnderson Bravalheri2022-03-051-11/+51
|
* Add tests against "empty" pyproject.tomlAnderson Bravalheri2022-03-051-0/+11
|
* Avoid failing due to 3rd party config in pyproject.tomlAnderson Bravalheri2022-03-051-0/+18
|
* Expand dynamic entry_points from pyproject.tomlAnderson Bravalheri2022-03-051-3/+38
| | | | | | | | | | | The user might specify dynamic `entry-points` via a `file:` directive (a similar feature for `setup.cfg` is documented in [declarative config]). The changes introduced here add the ability to expand them when reading the configuration from `pyproject.toml`. [declarative config]: https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
* Implement read_configuration from pyproject.tomlAnderson Bravalheri2022-03-051-0/+103
This is the first step towards making setuptools understand `pyproject.toml` as a configuration file. The implementation deliberately allows splitting the act of loading the configuration from a file in 2 stages: the reading of the file itself and the expansion of directives (and other derived information).