devpi-process 1.2.0__tar.gz → 1.3.0__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.
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/dependabot.yaml +6 -1
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/workflows/check.yaml +6 -6
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/workflows/release.yaml +9 -8
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.pre-commit-config.yaml +7 -6
- {devpi_process-1.2.0 → devpi_process-1.3.0}/PKG-INFO +5 -7
- {devpi_process-1.2.0 → devpi_process-1.3.0}/pyproject.toml +26 -28
- {devpi_process-1.2.0 → devpi_process-1.3.0}/src/devpi_process/__init__.py +1 -5
- {devpi_process-1.2.0 → devpi_process-1.3.0}/src/devpi_process/_version.py +2 -2
- {devpi_process-1.2.0 → devpi_process-1.3.0}/tox.toml +6 -2
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/FUNDING.yaml +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/SECURITY.md +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.github/release.yaml +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.gitignore +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/.markdownlint.yaml +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/CHANGELOG.md +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/CODE_OF_CONDUCT.md +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/LICENSE.txt +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/README.md +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/src/devpi_process/py.typed +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/tests/demo_pkg_inline/build.py +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/tests/demo_pkg_inline/pyproject.toml +0 -0
- {devpi_process-1.2.0 → devpi_process-1.3.0}/tests/test_devpi_process.py +0 -0
|
@@ -14,7 +14,7 @@ permissions:
|
|
|
14
14
|
contents: read
|
|
15
15
|
jobs:
|
|
16
16
|
test:
|
|
17
|
-
runs-on: ubuntu-
|
|
17
|
+
runs-on: ubuntu-26.04
|
|
18
18
|
strategy:
|
|
19
19
|
fail-fast: false
|
|
20
20
|
matrix:
|
|
@@ -25,25 +25,25 @@ jobs:
|
|
|
25
25
|
- "3.13"
|
|
26
26
|
- "3.12"
|
|
27
27
|
- "3.11"
|
|
28
|
-
- "3.10"
|
|
29
28
|
- type
|
|
30
29
|
- dev
|
|
31
30
|
- pkg_meta
|
|
32
31
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
32
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
34
33
|
with:
|
|
35
34
|
fetch-depth: 0
|
|
36
35
|
persist-credentials: false
|
|
37
36
|
- name: Install the latest version of uv
|
|
38
|
-
uses: astral-sh/setup-uv@
|
|
37
|
+
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
39
38
|
with:
|
|
39
|
+
python-version: "3.15"
|
|
40
40
|
enable-cache: false
|
|
41
41
|
cache-dependency-glob: "pyproject.toml"
|
|
42
42
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
43
43
|
- name: Install tox
|
|
44
|
-
run: uv tool install --python-preference only-managed --python 3.
|
|
44
|
+
run: uv tool install --python-preference only-managed --python 3.15 tox --with tox-uv
|
|
45
45
|
- name: Install Python
|
|
46
|
-
if: startsWith(matrix.env, '3.') && matrix.env != '3.
|
|
46
|
+
if: startsWith(matrix.env, '3.') && matrix.env != '3.15'
|
|
47
47
|
run: uv python install --python-preference only-managed ${{ matrix.env }}
|
|
48
48
|
- name: Setup test suite
|
|
49
49
|
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.env }}
|
|
@@ -8,29 +8,30 @@ env:
|
|
|
8
8
|
dists-artifact-name: python-package-distributions
|
|
9
9
|
jobs:
|
|
10
10
|
build:
|
|
11
|
-
runs-on: ubuntu-
|
|
11
|
+
runs-on: ubuntu-26.04
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
16
|
persist-credentials: false
|
|
17
17
|
- name: Install the latest version of uv
|
|
18
|
-
uses: astral-sh/setup-uv@
|
|
18
|
+
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
19
19
|
with:
|
|
20
|
+
python-version: "3.15"
|
|
20
21
|
enable-cache: false
|
|
21
22
|
cache-dependency-glob: "pyproject.toml"
|
|
22
23
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
24
|
- name: Build package
|
|
24
|
-
run: uv build --python 3.
|
|
25
|
+
run: uv build --python 3.15 --python-preference only-managed --sdist --wheel . --out-dir dist
|
|
25
26
|
- name: Store the distribution packages
|
|
26
|
-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
|
27
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
27
28
|
with:
|
|
28
29
|
name: ${{ env.dists-artifact-name }}
|
|
29
30
|
path: dist/*
|
|
30
31
|
release:
|
|
31
32
|
needs:
|
|
32
33
|
- build
|
|
33
|
-
runs-on: ubuntu-
|
|
34
|
+
runs-on: ubuntu-26.04
|
|
34
35
|
environment:
|
|
35
36
|
name: release
|
|
36
37
|
url: https://pypi.org/project/devpi-process/${{ github.ref_name }}
|
|
@@ -38,11 +39,11 @@ jobs:
|
|
|
38
39
|
id-token: write
|
|
39
40
|
steps:
|
|
40
41
|
- name: Download all the dists
|
|
41
|
-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
|
|
42
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
42
43
|
with:
|
|
43
44
|
name: ${{ env.dists-artifact-name }}
|
|
44
45
|
path: dist/
|
|
45
46
|
- name: Publish to PyPI
|
|
46
|
-
uses: pypa/gh-action-pypi-publish@
|
|
47
|
+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
47
48
|
with:
|
|
48
49
|
attestations: true
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
default_language_version:
|
|
2
|
+
python: python3.15
|
|
1
3
|
repos:
|
|
2
4
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
5
|
rev: v6.0.0
|
|
@@ -5,7 +7,7 @@ repos:
|
|
|
5
7
|
- id: end-of-file-fixer
|
|
6
8
|
- id: trailing-whitespace
|
|
7
9
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
8
|
-
rev: 0.
|
|
10
|
+
rev: 0.38.2
|
|
9
11
|
hooks:
|
|
10
12
|
- id: check-github-workflows
|
|
11
13
|
args: ["--verbose"]
|
|
@@ -13,17 +15,16 @@ repos:
|
|
|
13
15
|
rev: v2.4.3
|
|
14
16
|
hooks:
|
|
15
17
|
- id: codespell
|
|
16
|
-
additional_dependencies: ["tomli>=2.2.1"]
|
|
17
18
|
- repo: https://github.com/tox-dev/tox-toml-fmt
|
|
18
|
-
rev: "v1.
|
|
19
|
+
rev: "v1.11.0"
|
|
19
20
|
hooks:
|
|
20
21
|
- id: tox-toml-fmt
|
|
21
22
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
22
|
-
rev: "v2.
|
|
23
|
+
rev: "v2.30.1"
|
|
23
24
|
hooks:
|
|
24
25
|
- id: pyproject-fmt
|
|
25
26
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
26
|
-
rev: "v0.
|
|
27
|
+
rev: "v0.16.10"
|
|
27
28
|
hooks:
|
|
28
29
|
- id: ruff-format
|
|
29
30
|
- id: ruff
|
|
@@ -43,7 +44,7 @@ repos:
|
|
|
43
44
|
- mdformat-gfm>=1
|
|
44
45
|
- mdformat-ruff>=0.1.3
|
|
45
46
|
- repo: https://github.com/zizmorcore/zizmor-pre-commit
|
|
46
|
-
rev: v1.
|
|
47
|
+
rev: v1.30.1
|
|
47
48
|
hooks:
|
|
48
49
|
- id: zizmor
|
|
49
50
|
- repo: meta
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: devpi-process
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: devpi process provides a programmatic API to create and use a devpi server process
|
|
5
5
|
Project-URL: Homepage, https://github.com/tox-dev/devpi-process#readme
|
|
6
6
|
Project-URL: Source, https://github.com/tox-dev/devpi-process
|
|
@@ -18,7 +18,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Operating System :: Microsoft :: Windows
|
|
19
19
|
Classifier: Operating System :: POSIX
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -27,10 +26,9 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
27
26
|
Classifier: Topic :: Software Development :: Libraries
|
|
28
27
|
Classifier: Topic :: Software Development :: Testing
|
|
29
28
|
Classifier: Topic :: Utilities
|
|
30
|
-
Requires-Python: >=3.
|
|
31
|
-
Requires-Dist: devpi-client>=7.
|
|
32
|
-
Requires-Dist: devpi-server>=6.
|
|
33
|
-
Requires-Dist: typing-extensions>=4.15; python_version < '3.11'
|
|
29
|
+
Requires-Python: >=3.11
|
|
30
|
+
Requires-Dist: devpi-client>=7.3
|
|
31
|
+
Requires-Dist: devpi-server>=6.20.3
|
|
34
32
|
Description-Content-Type: text/markdown
|
|
35
33
|
|
|
36
34
|
# devpi-process
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
build-backend = "hatchling.build"
|
|
3
3
|
requires = [
|
|
4
4
|
"hatch-vcs>=0.5",
|
|
5
|
-
"hatchling>=1.
|
|
5
|
+
"hatchling>=1.32.4",
|
|
6
6
|
]
|
|
7
7
|
|
|
8
8
|
[project]
|
|
@@ -23,7 +23,7 @@ maintainers = [
|
|
|
23
23
|
authors = [
|
|
24
24
|
{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" },
|
|
25
25
|
]
|
|
26
|
-
requires-python = ">=3.
|
|
26
|
+
requires-python = ">=3.11"
|
|
27
27
|
classifiers = [
|
|
28
28
|
"Development Status :: 5 - Production/Stable",
|
|
29
29
|
"Framework :: tox",
|
|
@@ -33,7 +33,6 @@ classifiers = [
|
|
|
33
33
|
"Operating System :: Microsoft :: Windows",
|
|
34
34
|
"Operating System :: POSIX",
|
|
35
35
|
"Programming Language :: Python :: 3 :: Only",
|
|
36
|
-
"Programming Language :: Python :: 3.10",
|
|
37
36
|
"Programming Language :: Python :: 3.11",
|
|
38
37
|
"Programming Language :: Python :: 3.12",
|
|
39
38
|
"Programming Language :: Python :: 3.13",
|
|
@@ -47,9 +46,8 @@ dynamic = [
|
|
|
47
46
|
"version",
|
|
48
47
|
]
|
|
49
48
|
dependencies = [
|
|
50
|
-
"devpi-client>=7.
|
|
51
|
-
"devpi-server>=6.
|
|
52
|
-
"typing-extensions>=4.15; python_version<'3.11'",
|
|
49
|
+
"devpi-client>=7.3",
|
|
50
|
+
"devpi-server>=6.20.3",
|
|
53
51
|
]
|
|
54
52
|
urls.Homepage = "https://github.com/tox-dev/devpi-process#readme"
|
|
55
53
|
urls.Source = "https://github.com/tox-dev/devpi-process"
|
|
@@ -65,20 +63,20 @@ dev = [
|
|
|
65
63
|
test = [
|
|
66
64
|
"covdefaults>=2.3",
|
|
67
65
|
"httpx>=0.28.1",
|
|
68
|
-
"pytest>=
|
|
69
|
-
"pytest-cov>=7",
|
|
66
|
+
"pytest>=9.1.1",
|
|
67
|
+
"pytest-cov>=7.1",
|
|
70
68
|
]
|
|
71
69
|
type = [
|
|
72
|
-
"ty>=0.0.
|
|
70
|
+
"ty>=0.0.84",
|
|
73
71
|
{ include-group = "test" },
|
|
74
72
|
]
|
|
75
73
|
lint = [
|
|
76
|
-
"pre-commit-uv>=4.
|
|
74
|
+
"pre-commit-uv>=4.3",
|
|
77
75
|
]
|
|
78
76
|
pkg-meta = [
|
|
79
77
|
"check-wheel-contents>=0.6.3",
|
|
80
|
-
"twine>=
|
|
81
|
-
"uv>=0.
|
|
78
|
+
"twine>=7",
|
|
79
|
+
"uv>=0.12.22",
|
|
82
80
|
]
|
|
83
81
|
|
|
84
82
|
[tool.hatch]
|
|
@@ -97,23 +95,23 @@ lint.select = [
|
|
|
97
95
|
"ALL",
|
|
98
96
|
]
|
|
99
97
|
lint.ignore = [
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
98
|
+
"any-type", # allow Any as type annotation
|
|
99
|
+
"CPY", # No copyright statements
|
|
100
|
+
"DOC", # not supported
|
|
101
|
+
"hardcoded-bind-all-interfaces", # Possible binding to all interface
|
|
102
|
+
"incorrect-blank-line-before-class", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
|
|
103
|
+
"missing-trailing-comma", # Conflict with formatter
|
|
104
|
+
"multi-line-summary-first-line", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
|
|
105
|
+
"non-empty-init-module", # `__init__` module should only contain docstrings and re-exports
|
|
106
|
+
"single-line-implicit-string-concatenation", # Conflict with formatter
|
|
109
107
|
]
|
|
110
108
|
lint.per-file-ignores."tests/**/*.py" = [
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
109
|
+
"assert", # asserts allowed in tests
|
|
110
|
+
"D", # don't care about documentation in tests
|
|
111
|
+
"FBT", # don't care about booleans as positional arguments in tests
|
|
112
|
+
"implicit-namespace-package", # no implicit namespace
|
|
113
|
+
"magic-value-comparison", # Magic value used in comparison, consider replacing with a constant variable
|
|
114
|
+
"subprocess-without-shell-equals-true", # `subprocess` call: check for execution of untrusted input
|
|
117
115
|
]
|
|
118
116
|
lint.isort = { known-first-party = [
|
|
119
117
|
"devpi_process",
|
|
@@ -131,7 +129,7 @@ count = true
|
|
|
131
129
|
max_supported_python = "3.15"
|
|
132
130
|
|
|
133
131
|
[tool.ty]
|
|
134
|
-
environment.python-version = "3.
|
|
132
|
+
environment.python-version = "3.15"
|
|
135
133
|
|
|
136
134
|
[tool.coverage]
|
|
137
135
|
run.parallel = true
|
|
@@ -18,11 +18,7 @@ from ._version import __version__
|
|
|
18
18
|
if TYPE_CHECKING:
|
|
19
19
|
from collections.abc import Iterator, Sequence
|
|
20
20
|
from types import TracebackType
|
|
21
|
-
|
|
22
|
-
if sys.version_info >= (3, 11): # pragma: no cover (py311+)
|
|
23
|
-
from typing import Self
|
|
24
|
-
else: # pragma: no cover (<py311)
|
|
25
|
-
from typing_extensions import Self
|
|
21
|
+
from typing import Self
|
|
26
22
|
|
|
27
23
|
|
|
28
24
|
def _check_call(cmd: list[str]) -> None:
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.
|
|
22
|
-
__version_tuple__ = version_tuple = (1,
|
|
21
|
+
__version__ = version = '1.3.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 3, 0)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
requires = [ "tox>=4.
|
|
2
|
-
env_list = [ "3.15", "3.14", "3.13", "3.12", "3.11", "3.
|
|
1
|
+
requires = [ "tox>=4.64.7", "tox-uv>=1.36.1" ]
|
|
2
|
+
env_list = [ "3.15", "3.14", "3.13", "3.12", "3.11", "3.15t", "fix", "pkg_meta", "type" ]
|
|
3
3
|
skip_missing_interpreters = true
|
|
4
4
|
|
|
5
5
|
[env_run_base]
|
|
6
6
|
description = "run the unit tests with pytest under {env_name}"
|
|
7
|
+
default_base_python = [ "3.15" ]
|
|
7
8
|
package = "wheel"
|
|
8
9
|
wheel_build_env = ".pkg"
|
|
9
10
|
dependency_groups = [ "test" ]
|
|
@@ -35,6 +36,9 @@ commands = [
|
|
|
35
36
|
],
|
|
36
37
|
]
|
|
37
38
|
|
|
39
|
+
[env_pkg_base]
|
|
40
|
+
default_base_python = [ "3.15" ]
|
|
41
|
+
|
|
38
42
|
[env.fix]
|
|
39
43
|
description = "format the code base to adhere to our styles, and complain about what we cannot do automatically"
|
|
40
44
|
skip_install = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|