Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor adjustments in apply_pyproject.tomldev/egg_info_requires | Anderson Bravalheri | 2023-05-03 | 1 | -3/+3 |
| | |||||
* | Remove redundant URL part | Anderson Bravalheri | 2023-04-24 | 1 | -1/+1 |
| | |||||
* | Overhaul for better visibility of warnings (#3849) | Anderson Bravalheri | 2023-04-20 | 5 | -93/+115 |
|\ | |||||
| * | Cluster deprecations due_date | Anderson Bravalheri | 2023-03-07 | 2 | -3/+3 |
| | | |||||
| * | Use new warnings in setuptools/config/setupcfg.py | Anderson Bravalheri | 2023-03-07 | 1 | -36/+57 |
| | | |||||
| * | Use new warnings in setuptools/config/pyprojecttoml.py | Anderson Bravalheri | 2023-03-07 | 1 | -22/+20 |
| | | |||||
| * | Use new warnings in setuptools/config/expand.py | 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 |
| | | |||||
| * | Use new warnings in setuptools/config/__init__.py | Anderson Bravalheri | 2023-03-07 | 1 | -11/+18 |
| | | |||||
| * | Import SetuptoolsDeprecationWarning from setuptools.warnings | Anderson Bravalheri | 2023-03-06 | 3 | -3/+3 |
| | | |||||
* | | _deprecated_config_handler(): Use warn stacklevel for better feedback | Christian Clauss | 2023-04-06 | 1 | -1/+1 |
| | | |||||
* | | Update code generated by validate-pyproject (#3875) | Anderson Bravalheri | 2023-03-28 | 1 | -7/+6 |
|\ \ | |||||
| * | | Update code generated by validate-pyproject | Anderson Bravalheri | 2023-03-28 | 1 | -7/+6 |
| |/ | |||||
* | | Fix '_WouldIgnoreField' warnings for scripts/gui_scripts | Anderson Bravalheri | 2023-03-20 | 1 | -1/+7 |
|/ | |||||
* | Improve error messages for pyproject.toml validation (#3838) | Anderson Bravalheri | 2023-03-06 | 1 | -8/+8 |
|\ | |||||
| * | Improve error messages for pyproject.toml validation | Anderson Bravalheri | 2023-02-27 | 1 | -8/+8 |
| | | |||||
* | | Simplify _section_options using str.partition and a generator. | Jason R. Coombs | 2023-03-05 | 1 | -11/+5 |
| | | |||||
* | | Extract method for _section_options. | Jason R. Coombs | 2023-03-05 | 1 | -10/+14 |
| | | |||||
* | | Resolve setter once. | Jason R. Coombs | 2023-03-05 | 1 | -5/+3 |
| | | |||||
* | | Trap exception directly instead of tracking with boolean. | Jason R. Coombs | 2023-03-05 | 1 | -12/+3 |
| | | |||||
* | | Rename value to avoid masking variable. | Jason R. Coombs | 2023-03-05 | 1 | -3/+3 |
| | | |||||
* | | Use try/except in __setitem__. | Jason R. Coombs | 2023-03-05 | 1 | -4/+3 |
| | | |||||
* | | ⚫ Fade to black. | Jason R. Coombs | 2023-03-05 | 1 | -13/+21 |
|/ | |||||
* | Update generated validation code using validate_pyproject==0.12.1 | Anderson Bravalheri | 2023-01-27 | 1 | -75/+77 |
| | |||||
* | Update generated validation code using validate_pyproject==0.12 | Anderson Bravalheri | 2023-01-25 | 2 | -80/+112 |
| | |||||
* | Update implementation to consider new packaging exceptions | Anderson Bravalheri | 2023-01-23 | 1 | -11/+16 |
| | |||||
* | Avoid exhausting iterator | Anderson Bravalheri | 2023-01-20 | 1 | -3/+2 |
| | |||||
* | Delay import | Anderson Bravalheri | 2023-01-20 | 1 | -1/+2 |
| | |||||
* | Account for file directive with string in pyproject.toml | Anderson Bravalheri | 2023-01-20 | 1 | -2/+4 |
| | |||||
* | 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 |
| | |||||
* | Add files referenced by 'file=' directive in pyproject.toml to sdist | Anderson Bravalheri | 2023-01-19 | 1 | -3/+6 |
| | |||||
* | Add files referenced by file: directive in setup.cfg to sdist | Anderson Bravalheri | 2023-01-19 | 1 | -4/+11 |
| | |||||
* | Fix getattr statement | Anderson Bravalheri | 2022-11-28 | 1 | -1/+1 |
| | |||||
*---. | Merge PRs #3636 #3634 #3633 #3595 #3576 #3569 #3564 | Anderson Bravalheri | 2022-10-14 | 4 | -20/+23 |
|\ \ \ | |||||
| | * | | Update validate_pyproject | Anderson Bravalheri | 2022-09-02 | 3 | -19/+21 |
| | |/ | |||||
| * | | Use abspath() instead of resolve() in expand._assert_local() | Mike Salvatore | 2022-09-22 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4249da1ecf uses `pathlib.Path.resolve()` instead of `os.path.abspath()` to canonicalize path names. `resolve()` resolves symlinks, whereas `abspath()` does not. `resolve()` can also raise a `RuntimeError` if infinite loops are discovered while resolving the path. There is some concern that using `resolve()` would not be backwards compatible. This commit switches back to `abspath()` but still uses `Path.parents` to avoid the edge case. See PR #3595 for more details. | ||||
| * | | Catch an edge case in expand._assert_local() | Mike Salvatore | 2022-09-18 | 1 | -1/+4 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | Using str.startswith() has an edge case where someone can access files outside the root directory. For example, consider the case where the root directory is "/home/user/my-package" but some secrets are stored in "/home/user/my-package-secrets". Evaluating a check that "/home/user/my-package-secrets".startswith("/home/user/my-package") will return True, but the statement's intention is that no file outside of "/home/user/my-package" can be accessed. Using pathlib.Path.resolve() and pathlib.Path.parents eliminates this edge case. | ||||
* | | 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 |
|\ \ | |/ |