| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Adjust apply_pyproject tests | Anderson Bravalheri | 2023-05-03 | 1 | -0/+13 |
| | | |||||
| * | Minor adjustments in apply_pyproject.tomldev/egg_info_requires | Anderson Bravalheri | 2023-05-03 | 1 | -1/+1 |
| | | |||||
| * | Overhaul for better visibility of warnings (#3849) | Anderson Bravalheri | 2023-04-20 | 2 | -16/+10 |
| |\ | |||||
| | * | Use new warnings in setuptools/config/setupcfg.py | Anderson Bravalheri | 2023-03-07 | 1 | -15/+9 |
| | | | |||||
| | * | Use new warnings in setuptools/config/_apply_pyprojecttoml.py | Anderson Bravalheri | 2023-03-07 | 1 | -1/+1 |
| | | | |||||
| | * | Import SetuptoolsDeprecationWarning from setuptools.warnings | Anderson Bravalheri | 2023-03-06 | 2 | -2/+2 |
| | | | |||||
| * | | Update code generated by validate-pyproject (#3875) | Anderson Bravalheri | 2023-03-28 | 1 | -18/+41 |
| |\ \ | |||||
| | * | | Improve tests on license-files for pyproject.toml | Anderson Bravalheri | 2023-03-28 | 1 | -18/+41 |
| | |/ | |||||
| * | | Test warnings for dynamic scripts when entry-points is not dynamic | Anderson Bravalheri | 2023-03-20 | 1 | -0/+12 |
| |/ | |||||
| * | Update test expectations to match new packaging version | Anderson Bravalheri | 2023-01-23 | 1 | -0/+20 |
| | | |||||
| * | Fix version syntax in test_nowarn_accidental_env_marker_misconfig | Michał Górny | 2023-01-21 | 1 | -2/+2 |
| | | | | | | | | | | | Fix the two "marker"-alike cases (for package `python_version`) for test_nowarn_accidental_env_marker_misconfig to use `<3` rather than `<'3'`. The latter maps to the version `'3'` which is not a valid version and therefore causes an error with packaging-22.0+. See the discussion at https://github.com/pypa/setuptools/commit/506e7e7e1cac6a5d534184d35a20a73e9dd58045#r97577660 | ||||
| * | Add a test for maintainers w/ international emails | Sviatoslav Sydorenko | 2022-11-10 | 1 | -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 maintainers | Anderson Bravalheri | 2022-11-09 | 1 | -2/+19 |
| | | |||||
| *-. | Merge PRs #3636 #3634 #3633 #3595 #3576 #3569 #3564 | Anderson Bravalheri | 2022-10-14 | 1 | -0/+9 |
| |\ \ | |||||
| | * | | Catch an edge case in expand._assert_local() | Mike Salvatore | 2022-09-18 | 1 | -0/+9 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | expand: Give bytes to ast.parse to let it discover encoding cookie. | Julien Palard | 2022-09-27 | 1 | -0/+14 |
| |/ | |||||
| * | Improve pyproject.toml validation messages (#3487) | Anderson Bravalheri | 2022-08-06 | 1 | -18/+5 |
| |\ | |||||
| | * | Improve pyproject.toml validation messages | Anderson Bravalheri | 2022-08-04 | 1 | -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. | ||||
| * | | setup.cfg parsing: Refactor _parse_requirements_list and ↵ | Anderson Bravalheri | 2022-08-06 | 1 | -2/+2 |
| | | | | | | | | | warn_accidental_env_marker_misconfig | ||||
| * | | Add warning for potential extras_require misconfiguration | Lumir Balhar | 2022-08-06 | 1 | -0/+45 |
| |/ | | | | Fixes: https://github.com/pypa/setuptools/issues/3467 | ||||
| *-. | Allow `file` directive for dependencies (#3253, #3255) | Anderson Bravalheri | 2022-06-19 | 2 | -0/+100 |
| |\ \ | |||||
| | | * | Allow `file:` for `dependencies` and `optional-dependencies` in pyproject.toml | Aarni Koskela | 2022-04-08 | 1 | -0/+82 |
| | | | | |||||
| | * | | Allow `file:` for `requires` statements in setup.cfg | Aarni Koskela | 2022-06-14 | 1 | -0/+18 |
| | | | | | | | | | | | | | Refs #1951 | ||||
| * | | | test_expand: Add example for annotated assignment without value | Anderson Bravalheri | 2022-06-19 | 1 | -5/+9 |
| | | | | |||||
| * | | | Add support for annotated assignments to static attribute lookup. | Karl Otness | 2022-06-18 | 1 | -0/+12 |
| |/ / | | | | | | | | | | | | | | | 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. | ||||
| * | | Add deprecation messages for `namespace_packages` (#3262) | Anderson Bravalheri | 2022-05-16 | 2 | -3/+23 |
| |\ \ | |||||
| | * | | Add deprecation messages for `namespace_packages`. | Anderson Bravalheri | 2022-05-16 | 2 | -3/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -0/+9 |
| |\ \ \ | |/ / |/| | | | | | pyproject.toml (#3306) | ||||
| | * | | Capture expectations about overwritten dependencies in test | Anderson Bravalheri | 2022-05-04 | 1 | -0/+9 |
| | | | | | | | | | | | | | This is discussed in issue 3300. | ||||
| * | | | do not backfill Project-URL: homepage into Home-page: field (causes ↵ | wim glenn | 2022-04-29 | 1 | -8/+15 |
| |/ / | | | | | | | duplicates on PyPI). prevent "UNKNOWN" vals from appearing in summary, license, platform. prevent an extra newline getting added in long description | ||||
| * | | Try to rescue the download backing off a few seconds | Anderson Bravalheri | 2022-04-21 | 1 | -2/+8 |
| |/ | |||||
| * | Simplify auto-discovered package_dir | Anderson Bravalheri | 2022-04-05 | 1 | -1/+31 |
| | | | | | | | | | 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). | ||||
| * | Add test for dynamic readme from setup.py args | Anderson Bravalheri | 2022-04-04 | 1 | -0/+14 |
| | | |||||
| * | Add comments with instructions for developers | Anderson Bravalheri | 2022-04-01 | 2 | -0/+7 |
| | | |||||
| * | Fix flake8 problems | Anderson Bravalheri | 2022-04-01 | 2 | -2/+0 |
| | | |||||
| * | Add script that allow users to preload examples for offline testing | Anderson Bravalheri | 2022-04-01 | 2 | -0/+20 |
| | | |||||
| * | Split download helpers to their own file | Anderson Bravalheri | 2022-04-01 | 2 | -30/+52 |
| | | |||||
| * | Add metatest to make sure auxiliary file is properly packaged | Anderson Bravalheri | 2022-04-01 | 1 | -1/+16 |
| | | |||||
| * | Fix previous detection of empty arrays | Anderson Bravalheri | 2022-03-27 | 1 | -3/+5 |
| | | |||||
| * | Ensure pyproject.toml does not break dynamic install_requires | Anderson Bravalheri | 2022-03-27 | 1 | -2/+25 |
| | | |||||
| * | Prepare to be strict in the future about entry-points in pyproject | Anderson Bravalheri | 2022-03-27 | 1 | -25/+39 |
| | | |||||
| * | Improve error/warning messages | Anderson Bravalheri | 2022-03-27 | 1 | -1/+1 |
| | | |||||
| * | Adequate existing tests for the latest changes | Anderson Bravalheri | 2022-03-27 | 1 | -2/+2 |
| | | |||||
| * | Tests mixed pyproject metadata + config from setup.py | Anderson Bravalheri | 2022-03-27 | 1 | -2/+48 |
| | | | | | With emphasis on the ``dynamic`` behaviour | ||||
| * | Remove left-over debug statement | Anderson Bravalheri | 2022-03-26 | 1 | -1/+0 |
| | | |||||
| * | Remove no longer necessary xfail mark | Anderson Bravalheri | 2022-03-26 | 1 | -4/+1 |
| | | |||||
| * | Test popular invalid pyproject patterns | Anderson Bravalheri | 2022-03-26 | 1 | -0/+41 |
| | | |||||
| * | Make sure dynamic classifiers in pyproject.toml don't fail (#3210) | Anderson Bravalheri | 2022-03-25 | 4 | -32/+72 |
| |\ | |||||
| | * | Make sure dynamic classifiers don't fail on unexisting files | Anderson Bravalheri | 2022-03-25 | 4 | -32/+72 |
| | | | |||||
| * | | Test setup.py' include_package_data not ignored when parsing pyproject | Anderson Bravalheri | 2022-03-25 | 1 | -0/+23 |
| |/ | |||||
