| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use pathlib to open the file | Jason R. Coombs | 2022-09-29 | 1 | -3/+2 |
| | | |||||
| * | expand: Give bytes to ast.parse to let it discover encoding cookie. | Julien Palard | 2022-09-27 | 1 | -1/+1 |
| | | |||||
| * | Fix problems with name discovery and dynamic versions | Anderson Bravalheri | 2022-08-19 | 1 | -5/+10 |
| | | |||||
| * | Merge 'main' into feature/pep660 | Anderson Bravalheri | 2022-08-06 | 2 | -18/+71 |
| |\ | |||||
| | * | Improve pyproject.toml validation messages (#3487) | Anderson Bravalheri | 2022-08-06 | 1 | -4/+8 |
| | |\ | |||||
| | | * | Improve pyproject.toml validation messages | Anderson Bravalheri | 2022-08-04 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: use contextlib.suppress instead of try/except+pass | Anderson Bravalheri | 2022-08-06 | 1 | -3/+2 |
| | | | | |||||
| | * | | setup.cfg parsing: Fix incorrect refactoring | Anderson Bravalheri | 2022-08-06 | 1 | -9/+11 |
| | | | | |||||
| | * | | setup.cfg parsing: Simplify warn_accidental_env_marker_misconfig | Anderson Bravalheri | 2022-08-06 | 1 | -17/+17 |
| | | | | |||||
| | * | | setup.cfg parsing: Refactor _parse_requirements_list and ↵ | Anderson Bravalheri | 2022-08-06 | 1 | -33/+33 |
| | | | | | | | | | | | | | warn_accidental_env_marker_misconfig | ||||
| | * | | Add warning for potential extras_require misconfiguration | Lumir Balhar | 2022-08-06 | 1 | -0/+48 |
| | |/ | | | | | | | Fixes: https://github.com/pypa/setuptools/issues/3467 | ||||
| * | | Merge 'upstream/main' into feature/pep660 | Anderson Bravalheri | 2022-07-21 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Add stacklevel=2 to make calling code clear | Hugo van Kemenade | 2022-07-12 | 1 | -1/+1 |
| | | | |||||
| * | | Merge remote-tracking branch 'upstream/main' into feature/pep660 | Anderson Bravalheri | 2022-06-24 | 5 | -49/+143 |
| |\ \ | |/ | |||||
| | *-. | Allow `file` directive for dependencies (#3253, #3255) | Anderson Bravalheri | 2022-06-19 | 3 | -25/+113 |
| | |\ \ | |||||
| | | | * | Allow `file:` for `dependencies` and `optional-dependencies` in pyproject.toml | Aarni Koskela | 2022-04-08 | 2 | -17/+91 |
| | | | | | |||||
| | | * | | Allow `file:` for `requires` statements in setup.cfg | Aarni Koskela | 2022-06-14 | 1 | -8/+22 |
| | | | | | | | | | | | | | | | | | Refs #1951 | ||||
| | * | | | config.expand.StaticModule: handle scenarios when annotated assignment does ↵ | Anderson Bravalheri | 2022-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | not have a value | ||||
| | * | | | config.expand: Refactor StaticModule | Anderson Bravalheri | 2022-06-19 | 1 | -13/+12 |
| | | | | | |||||
| | * | | | Add support for annotated assignments to static attribute lookup. | Karl Otness | 2022-06-18 | 1 | -16/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | | | Clarify modules used for pyproject.toml parsing are private | Anderson Bravalheri | 2022-06-17 | 4 | -2/+14 |
| | | | | | |||||
| | * | | | Change wording from *experimental* to *beta* | Anderson Bravalheri | 2022-06-16 | 1 | -7/+4 |
| | | | | | |||||
| | * | | | Warn about 'tool.setuptool' instead of project metadata in pyproject.toml | Anderson Bravalheri | 2022-06-16 | 1 | -7/+8 |
| | | | | | |||||
| * | | | | build_meta: Allow dist-info and egg-info to coexist | Anderson Bravalheri | 2022-06-21 | 1 | -19/+2 |
| |/ / / | | | | | | | | | | | | | | | | | | | PEP 517 does not care if other directories/files are left behind in the `metadata_directory`, as long as a `.dist_info` directory is produced at the root. We can leave the `.egg-info` directory behind, so this way we don't have to run it again when listing files from `build_py`. | ||||
| * | | | fixed some spelling mistakes, | Bastian Venthur | 2022-06-14 | 1 | -1/+1 |
| |/ / | | | | | | | that's all :) | ||||
| * | | Improve warning message for _InvalidFile | Anderson Bravalheri | 2022-05-18 | 1 | -3/+2 |
| | | | |||||
| * | | 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 | 2 | -3/+20 |
| |\ \ | |||||
| | * | | Add deprecation messages for `namespace_packages`. | Anderson Bravalheri | 2022-05-16 | 2 | -3/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Rename variable | Anderson Bravalheri | 2022-04-05 | 1 | -4/+4 |
| | | |||||
| * | Simplify auto-discovered package_dir | Anderson Bravalheri | 2022-04-05 | 1 | -2/+25 |
| | | | | | | | | | 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 dynamic readme | Anderson Bravalheri | 2022-04-04 | 1 | -2/+7 |
| | | |||||
| * | Disable automatic download of trove classifiers by default | Anderson Bravalheri | 2022-03-30 | 1 | -0/+5 |
| | | | | | | This helps to improve reproducibility. See #abravalheri/validate-pyproject#31. | ||||
| * | Update validate-pyproject to v0.7.1 | Anderson Bravalheri | 2022-03-30 | 2 | -2/+7 |
| | | |||||
| * | Fix unintentional mistake in config/pyproject | Anderson Bravalheri | 2022-03-30 | 1 | -1/+1 |
| | | |||||
| * | Update version of validate-pyproject | Anderson Bravalheri | 2022-03-30 | 2 | -3/+3 |
| | | |||||
| * | Move _validate_pyproject to config | Anderson Bravalheri | 2022-03-30 | 8 | -10/+2138 |
| | | |||||
| * | Fix previous detection of empty arrays | Anderson Bravalheri | 2022-03-27 | 2 | -3/+4 |
| | | |||||
| * | Small refactor | Anderson Bravalheri | 2022-03-27 | 1 | -4/+3 |
| | | |||||
| * | Merge pre-set dependencies when applying pyproject | Anderson Bravalheri | 2022-03-27 | 1 | -2/+12 |
| | | |||||
| * | Make sure apply function remains private | Anderson Bravalheri | 2022-03-27 | 1 | -3/+6 |
| | | |||||
| * | Prepare to be strict in the future about entry-points in pyproject | Anderson Bravalheri | 2022-03-27 | 2 | -8/+18 |
| | | |||||
| * | Improve error/warning messages | Anderson Bravalheri | 2022-03-27 | 2 | -6/+9 |
| | | |||||
| * | Consider missing edge case for tool.setuptools.dynamic in pyproject | Anderson Bravalheri | 2022-03-27 | 2 | -2/+6 |
| | | |||||
| * | Restructure config.pyproject to consider "pre-set" dynamic values | Anderson Bravalheri | 2022-03-27 | 1 | -150/+165 |
| | | | | | | | | | | | | | | | | Issues 3195 and 3204 surface the fact that setuptools may need to allow dynamic values to be computed by the users in the ``setup.py`` file (e.g. if they need to dynamically decide dependencies based on the host machine in a way that is not supported by environment markers, such as GPU presence). The current implementation somehow already allows that by layering the configs `setup.py` > `setup.cfg` > `pyproject.toml`. However this is done without having in mind the limitations about `dynamic` imposed by PEP 621. The change implemented here tries to fix this problem. | ||||
| * | 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 | ||||
