Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Overhaul for better visibility of warnings (#3849) | Anderson Bravalheri | 2023-04-20 | 1 | -21/+17 |
|\ | |||||
| * | Cluster deprecations due_date | Anderson Bravalheri | 2023-03-07 | 1 | -2/+2 |
| | | |||||
| * | Use new warnings in setuptools/config/_apply_pyprojecttoml.py | Anderson Bravalheri | 2023-03-07 | 1 | -21/+17 |
| | | |||||
| * | Import SetuptoolsDeprecationWarning from setuptools.warnings | Anderson Bravalheri | 2023-03-06 | 1 | -1/+1 |
| | | |||||
* | | Fix '_WouldIgnoreField' warnings for scripts/gui_scripts | Anderson Bravalheri | 2023-03-20 | 1 | -1/+7 |
|/ | |||||
* | Ensure file referenced by 'license.file' in pyproject.toml is added to sdist | Anderson Bravalheri | 2023-01-19 | 1 | -0/+1 |
| | |||||
* | Ensure file referenced by 'readme' in pyproject.toml is added to sdist | Anderson Bravalheri | 2023-01-19 | 1 | -3/+9 |
| | |||||
* | Clarify modules used for pyproject.toml parsing are private | Anderson Bravalheri | 2022-06-17 | 1 | -0/+2 |
| | |||||
* | fixed some spelling mistakes, | Bastian Venthur | 2022-06-14 | 1 | -1/+1 |
| | | | | that's all :) | ||||
* | Improve warning message for _WouldIgnoreField | Anderson Bravalheri | 2022-05-18 | 1 | -3/+5 |
| | |||||
* | Add deprecation messages for `namespace_packages` (#3262) | Anderson Bravalheri | 2022-05-16 | 1 | -0/+11 |
|\ | |||||
| * | Add deprecation messages for `namespace_packages`. | Anderson Bravalheri | 2022-05-16 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | 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 Bravalheri | 2022-05-16 | 1 | -2/+4 |
|\ \ | |/ |/| | | | pyproject.toml (#3306) | ||||
| * | Add warning about overwritten dependencies | Anderson Bravalheri | 2022-05-04 | 1 | -2/+4 |
| | | |||||
* | | do not backfill Project-URL: homepage into Home-page: field (causes ↵ | wim glenn | 2022-04-29 | 1 | -15/+1 |
|/ | | | | duplicates on PyPI). prevent "UNKNOWN" vals from appearing in summary, license, platform. prevent an extra newline getting added in long description | ||||
* | Fix previous detection of empty arrays | Anderson Bravalheri | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | Merge pre-set dependencies when applying pyproject | Anderson Bravalheri | 2022-03-27 | 1 | -2/+12 |
| | |||||
* | Prepare to be strict in the future about entry-points in pyproject | Anderson Bravalheri | 2022-03-27 | 1 | -3/+3 |
| | |||||
* | Improve error/warning messages | Anderson Bravalheri | 2022-03-27 | 1 | -2/+5 |
| | |||||
* | Consider missing edge case for tool.setuptools.dynamic in pyproject | Anderson Bravalheri | 2022-03-27 | 1 | -1/+0 |
| | |||||
* | Warn if a project metadata is set outside of pyproject without dynamic | Anderson Bravalheri | 2022-03-27 | 1 | -10/+89 |
| | | | | | | | | | | | | | | - PEP 621 requires the build backend to not backfill values without dynamic. - Some users seem to been writing ``pyproject.toml`` with a "partial" ``[project]`` table even before setuptools added support for pyproject metadata. In several cases this table is incomplete and the real metadata lives either in ``setup.py`` or ``setup.cfg``. To avoid ignoring metadata in these scenarios and resulting in failing builds, the change implemented here adopts a more "forgiving" posture and warns an informative message during the transition period. | ||||
* | Tests mixed pyproject metadata + config from setup.py | Anderson Bravalheri | 2022-03-27 | 1 | -0/+31 |
| | | | | With emphasis on the ``dynamic`` behaviour | ||||
* | Temporarily forgive popular patterns on invalid pyproject.toml | Anderson Bravalheri | 2022-03-26 | 1 | -0/+3 |
| | |||||
* | Use blank lines to emphasize warnings | Anderson Bravalheri | 2022-03-20 | 1 | -2/+2 |
| | | | | This matches the level of emphasis used by distutils. | ||||
* | Attempt to clarify which url is missing for pyproject-metadata builds | Anderson Bravalheri | 2022-03-20 | 1 | -5/+15 |
| | | | | | | | | | | | | | | | | | When the user does not specify `Homepage` (or any variant such as `home-page`), distutils will warn the following message: warning: check: missing required meta-data: url This message is fine for `setup.cfg` builds because the field there is called `url`, but it does not work well for builds using pyproject.toml metadata. The change implemented here will add some other logging information that try to point the user in the correct direction for solving this issue. This problem was first identified in: https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821 | ||||
* | Change pyproject.toml processing to not use dynamic for license/license-files | Anderson Bravalheri | 2022-03-09 | 1 | -24/+5 |
| | |||||
* | Add some type hints to config.pyprojecttoml | Anderson Bravalheri | 2022-03-05 | 1 | -1/+1 |
| | |||||
* | Back-fill Description-Content-Type according to readme suffix | Anderson Bravalheri | 2022-03-05 | 1 | -2/+23 |
| | | | | | | | | | | | | 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 | ||||
* | Avoid using pkg_resources for entry points | Anderson Bravalheri | 2022-03-05 | 1 | -5/+6 |
| | |||||
* | Add means of applying config read from pyproject.toml to dist | Anderson Bravalheri | 2022-03-05 | 1 | -0/+236 |
Since the Distrubition and DistributionMetadata classes are modeled after (an old version of) core metadata, it is necessary to add a translation layer between them and the configuration read from pyproject.toml |