summaryrefslogtreecommitdiff
path: root/setuptools/tests/config/test_apply_pyprojecttoml.py
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul for better visibility of warnings (#3849)Anderson Bravalheri2023-04-201-1/+1
|\
| * Use new warnings in setuptools/config/_apply_pyprojecttoml.pyAnderson Bravalheri2023-03-071-1/+1
| |
| * Import SetuptoolsDeprecationWarning from setuptools.warningsAnderson Bravalheri2023-03-061-1/+1
| |
* | Update code generated by validate-pyproject (#3875)Anderson Bravalheri2023-03-281-18/+41
|\ \
| * | Improve tests on license-files for pyproject.tomlAnderson Bravalheri2023-03-281-18/+41
| |/
* | Test warnings for dynamic scripts when entry-points is not dynamicAnderson Bravalheri2023-03-201-0/+12
|/
* Add a test for maintainers w/ international emailsSviatoslav Sydorenko2022-11-101-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 maintainersAnderson Bravalheri2022-11-091-2/+19
|
* Add deprecation messages for `namespace_packages` (#3262)Anderson Bravalheri2022-05-161-0/+17
|\
| * Add deprecation messages for `namespace_packages`.Anderson Bravalheri2022-05-161-0/+17
| | | | | | | | | | | | | | | | 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.
* | 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.
* | 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
* Add comments with instructions for developersAnderson Bravalheri2022-04-011-0/+2
|
* Fix flake8 problemsAnderson Bravalheri2022-04-011-1/+0
|
* Split download helpers to their own fileAnderson Bravalheri2022-04-011-30/+5
|
* Add metatest to make sure auxiliary file is properly packagedAnderson Bravalheri2022-04-011-1/+16
|
* Fix previous detection of empty arraysAnderson Bravalheri2022-03-271-3/+5
|
* Ensure pyproject.toml does not break dynamic install_requiresAnderson Bravalheri2022-03-271-2/+25
|
* Improve error/warning messagesAnderson Bravalheri2022-03-271-1/+1
|
* Tests mixed pyproject metadata + config from setup.pyAnderson Bravalheri2022-03-271-2/+48
| | | | With emphasis on the ``dynamic`` behaviour
* Make sure dynamic classifiers don't fail on unexisting filesAnderson Bravalheri2022-03-251-1/+1
|
* Adequate existing tests to the new errors for auto-discoveryAnderson Bravalheri2022-03-181-7/+11
|
* Change pyproject.toml tests to not use dynamic for license/license-filesAnderson Bravalheri2022-03-091-3/+4
|
* Test the behavior of license and license-files in pyproject.tomlAnderson Bravalheri2022-03-091-0/+24
|
* Back-fill Description-Content-Type according to readme suffixAnderson Bravalheri2022-03-051-3/+38
| | | | | | | | | | | | According to PEP 621, the backend should fill-in the content-type if the `readme` field is passed as a string. The value is derived from the extension of the file (an error should be raised when that is not possible). Previously all READMEs were wrongly assumed rst. This error was reported in: https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821/4
* Add a 'uses_network' marker to tests that require connectivityAnderson Bravalheri2022-03-051-0/+1
|
* Prevent resource warnings in test_apply_pyprojecttomlAnderson Bravalheri2022-03-051-3/+3
| | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Fix pyproject config when tool table is not presentAnderson Bravalheri2022-03-051-0/+72
| | | | Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
* Test pyproject.toml config has the same effect as setup.cfgAnderson Bravalheri2022-03-051-0/+117