pyproject-api 1.9.0__tar.gz → 1.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.github/workflows/check.yaml +4 -1
  2. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.github/workflows/release.yaml +2 -2
  3. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.pre-commit-config.yaml +5 -5
  4. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/PKG-INFO +6 -6
  5. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/pyproject.toml +5 -5
  6. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_frontend.py +1 -1
  7. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_version.py +9 -4
  8. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_frontend.py +1 -1
  9. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tox.ini +5 -6
  10. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.github/FUNDING.yml +0 -0
  11. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.github/dependabot.yml +0 -0
  12. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.github/release.yml +0 -0
  13. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.gitignore +0 -0
  14. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/.readthedocs.yml +0 -0
  15. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/CODE_OF_CONDUCT.md +0 -0
  16. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/LICENSE +0 -0
  17. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/README.md +0 -0
  18. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/docs/api.rst +0 -0
  19. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/docs/conf.py +0 -0
  20. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/docs/index.rst +0 -0
  21. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/__init__.py +0 -0
  22. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/__main__.py +0 -0
  23. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_backend.py +0 -0
  24. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_backend.pyi +0 -0
  25. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_util.py +0 -0
  26. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/_via_fresh_subprocess.py +0 -0
  27. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/src/pyproject_api/py.typed +0 -0
  28. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/_build_sdist.py +0 -0
  29. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/demo_pkg_inline/build.py +0 -0
  30. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/demo_pkg_inline/pyproject.toml +0 -0
  31. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_backend.py +0 -0
  32. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_frontend_setuptools.py +0 -0
  33. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_main.py +0 -0
  34. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_util.py +0 -0
  35. {pyproject_api-1.9.0 → pyproject_api-1.9.1}/tests/test_version.py +0 -0
@@ -41,7 +41,7 @@ jobs:
41
41
  with:
42
42
  fetch-depth: 0
43
43
  - name: Install the latest version of uv
44
- uses: astral-sh/setup-uv@v5
44
+ uses: astral-sh/setup-uv@v6
45
45
  with:
46
46
  enable-cache: true
47
47
  cache-dependency-glob: "pyproject.toml"
@@ -57,8 +57,11 @@ jobs:
57
57
  run: uv python install --python-preference only-managed ${{ matrix.env }}
58
58
  - name: Setup test suite
59
59
  run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.env }}
60
+ env:
61
+ UV_PYTHON_PREFERENCE: only-managed
60
62
  - name: Run test suite
61
63
  run: tox run --skip-pkg-install -e ${{ matrix.env }}
62
64
  env:
63
65
  PYTEST_ADDOPTS: "-vv --durations=20"
64
66
  DIFF_AGAINST: HEAD
67
+ UV_PYTHON_PREFERENCE: only-managed
@@ -14,7 +14,7 @@ jobs:
14
14
  with:
15
15
  fetch-depth: 0
16
16
  - name: Install the latest version of uv
17
- uses: astral-sh/setup-uv@v5
17
+ uses: astral-sh/setup-uv@v6
18
18
  with:
19
19
  enable-cache: true
20
20
  cache-dependency-glob: "pyproject.toml"
@@ -43,6 +43,6 @@ jobs:
43
43
  name: ${{ env.dists-artifact-name }}
44
44
  path: dist/
45
45
  - name: Publish to PyPI
46
- uses: pypa/gh-action-pypi-publish@v1.12.3
46
+ uses: pypa/gh-action-pypi-publish@v1.12.4
47
47
  with:
48
48
  attestations: true
@@ -5,26 +5,26 @@ repos:
5
5
  - id: end-of-file-fixer
6
6
  - id: trailing-whitespace
7
7
  - repo: https://github.com/python-jsonschema/check-jsonschema
8
- rev: 0.31.0
8
+ rev: 0.33.0
9
9
  hooks:
10
10
  - id: check-github-workflows
11
11
  args: [ "--verbose" ]
12
12
  - repo: https://github.com/codespell-project/codespell
13
- rev: v2.3.0
13
+ rev: v2.4.1
14
14
  hooks:
15
15
  - id: codespell
16
16
  additional_dependencies: ["tomli>=2.2.1"]
17
17
  - repo: https://github.com/tox-dev/tox-ini-fmt
18
- rev: "1.4.1"
18
+ rev: "1.5.0"
19
19
  hooks:
20
20
  - id: tox-ini-fmt
21
21
  args: ["-p", "fix"]
22
22
  - repo: https://github.com/tox-dev/pyproject-fmt
23
- rev: "v2.5.0"
23
+ rev: "v2.5.1"
24
24
  hooks:
25
25
  - id: pyproject-fmt
26
26
  - repo: https://github.com/astral-sh/ruff-pre-commit
27
- rev: "v0.9.2"
27
+ rev: "v0.11.9"
28
28
  hooks:
29
29
  - id: ruff-format
30
30
  - id: ruff
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyproject-api
3
- Version: 1.9.0
3
+ Version: 1.9.1
4
4
  Summary: API to interact with the python pyproject.toml based projects
5
5
  Project-URL: Changelog, https://github.com/tox-dev/pyproject-api/releases
6
6
  Project-URL: Homepage, https://pyproject-api.readthedocs.io
@@ -28,17 +28,17 @@ Classifier: Topic :: Software Development :: Libraries
28
28
  Classifier: Topic :: Software Development :: Testing
29
29
  Classifier: Topic :: Utilities
30
30
  Requires-Python: >=3.9
31
- Requires-Dist: packaging>=24.2
31
+ Requires-Dist: packaging>=25
32
32
  Requires-Dist: tomli>=2.2.1; python_version < '3.11'
33
33
  Provides-Extra: docs
34
34
  Requires-Dist: furo>=2024.8.6; extra == 'docs'
35
- Requires-Dist: sphinx-autodoc-typehints>=3; extra == 'docs'
35
+ Requires-Dist: sphinx-autodoc-typehints>=3.2; extra == 'docs'
36
36
  Provides-Extra: testing
37
37
  Requires-Dist: covdefaults>=2.3; extra == 'testing'
38
- Requires-Dist: pytest-cov>=6; extra == 'testing'
38
+ Requires-Dist: pytest-cov>=6.1.1; extra == 'testing'
39
39
  Requires-Dist: pytest-mock>=3.14; extra == 'testing'
40
- Requires-Dist: pytest>=8.3.4; extra == 'testing'
41
- Requires-Dist: setuptools>=75.8; extra == 'testing'
40
+ Requires-Dist: pytest>=8.3.5; extra == 'testing'
41
+ Requires-Dist: setuptools>=80.3.1; extra == 'testing'
42
42
  Description-Content-Type: text/markdown
43
43
 
44
44
  # [`pyproject-api`](https://pyproject-api.readthedocs.io/en/latest/)
@@ -46,19 +46,19 @@ dynamic = [
46
46
  "version",
47
47
  ]
48
48
  dependencies = [
49
- "packaging>=24.2",
49
+ "packaging>=25",
50
50
  "tomli>=2.2.1; python_version<'3.11'",
51
51
  ]
52
52
  optional-dependencies.docs = [
53
53
  "furo>=2024.8.6",
54
- "sphinx-autodoc-typehints>=3",
54
+ "sphinx-autodoc-typehints>=3.2",
55
55
  ]
56
56
  optional-dependencies.testing = [
57
57
  "covdefaults>=2.3",
58
- "pytest>=8.3.4",
59
- "pytest-cov>=6",
58
+ "pytest>=8.3.5",
59
+ "pytest-cov>=6.1.1",
60
60
  "pytest-mock>=3.14",
61
- "setuptools>=75.8",
61
+ "setuptools>=80.3.1",
62
62
  ]
63
63
  urls.Changelog = "https://github.com/tox-dev/pyproject-api/releases"
64
64
  urls.Homepage = "https://pyproject-api.readthedocs.io"
@@ -176,7 +176,7 @@ class Frontend(ABC):
176
176
  #: backend key when the ``pyproject.toml`` does not specify it
177
177
  LEGACY_BUILD_BACKEND: str = "setuptools.build_meta:__legacy__"
178
178
  #: backend requirements when the ``pyproject.toml`` does not specify it
179
- LEGACY_REQUIRES: tuple[Requirement, ...] = (Requirement("setuptools >= 40.8.0"), Requirement("wheel"))
179
+ LEGACY_REQUIRES: tuple[Requirement, ...] = (Requirement("setuptools >= 40.8.0"),)
180
180
 
181
181
  def __init__( # noqa: PLR0913, PLR0917
182
182
  self,
@@ -1,8 +1,13 @@
1
- # file generated by setuptools_scm
1
+ # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
3
6
  TYPE_CHECKING = False
4
7
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
8
+ from typing import Tuple
9
+ from typing import Union
10
+
6
11
  VERSION_TUPLE = Tuple[Union[int, str], ...]
7
12
  else:
8
13
  VERSION_TUPLE = object
@@ -12,5 +17,5 @@ __version__: str
12
17
  __version_tuple__: VERSION_TUPLE
13
18
  version_tuple: VERSION_TUPLE
14
19
 
15
- __version__ = version = '1.9.0'
16
- __version_tuple__ = version_tuple = (1, 9, 0)
20
+ __version__ = version = '1.9.1'
21
+ __version_tuple__ = version_tuple = (1, 9, 1)
@@ -225,7 +225,7 @@ def test_create_no_pyproject(tmp_path: Path) -> None:
225
225
  assert result[2] == "setuptools.build_meta"
226
226
  assert result[3] == "__legacy__"
227
227
  assert all(isinstance(i, Requirement) for i in result[4])
228
- assert [str(i) for i in result[4]] == ["setuptools>=40.8.0", "wheel"]
228
+ assert [str(i) for i in result[4]] == ["setuptools>=40.8.0"]
229
229
  assert result[5] is True
230
230
 
231
231
 
@@ -1,7 +1,7 @@
1
1
  [tox]
2
2
  requires =
3
- tox>=4.23.2
4
- tox-uv>=1.17
3
+ tox>=4.25
4
+ tox-uv>=1.25
5
5
  env_list =
6
6
  fix
7
7
  3.13
@@ -26,7 +26,6 @@ pass_env =
26
26
  set_env =
27
27
  COVERAGE_FILE = {work_dir}/.coverage.{env_name}
28
28
  COVERAGE_PROCESS_START = {tox_root}/pyproject.toml
29
- _COVERAGE_SRC = {env_site_packages_dir}/sphinx_argparse_cli
30
29
  commands =
31
30
  pytest {tty:--color=yes} {posargs: \
32
31
  --junitxml {work_dir}{/}junit.{env_name}.xml --cov {env_site_packages_dir}{/}pyproject_api \
@@ -58,7 +57,7 @@ commands =
58
57
  [testenv:type]
59
58
  description = run type check on code base
60
59
  deps =
61
- mypy==1.14.1
60
+ mypy==1.15
62
61
  set_env =
63
62
  {tty:MYPY_FORCE_COLOR = 1}
64
63
  commands =
@@ -70,8 +69,8 @@ description = check that the long description is valid
70
69
  skip_install = true
71
70
  deps =
72
71
  check-wheel-contents>=0.6.1
73
- twine>=6.0.1
74
- uv>=0.5.18
72
+ twine>=6.1
73
+ uv>=0.7.2
75
74
  commands =
76
75
  uv build --sdist --wheel --out-dir {env_tmp_dir} .
77
76
  twine check {env_tmp_dir}{/}*
File without changes
File without changes
File without changes