devpi-process 1.1.0__tar.gz → 1.1.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.
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/workflows/check.yaml +1 -1
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/workflows/release.yaml +3 -3
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.pre-commit-config.yaml +7 -8
- {devpi_process-1.1.0 → devpi_process-1.1.1}/PKG-INFO +2 -6
- {devpi_process-1.1.0 → devpi_process-1.1.1}/pyproject.toml +37 -18
- {devpi_process-1.1.0 → devpi_process-1.1.1}/src/devpi_process/_version.py +2 -2
- {devpi_process-1.1.0 → devpi_process-1.1.1}/tests/demo_pkg_inline/pyproject.toml +1 -2
- devpi_process-1.1.1/tox.toml +66 -0
- devpi_process-1.1.0/tox.ini +0 -68
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/FUNDING.yaml +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/SECURITY.md +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/dependabot.yaml +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.github/release.yaml +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.gitignore +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/.markdownlint.yaml +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/CHANGELOG.md +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/CODE_OF_CONDUCT.md +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/LICENSE.txt +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/README.md +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/src/devpi_process/__init__.py +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/src/devpi_process/py.typed +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/tests/demo_pkg_inline/build.py +0 -0
- {devpi_process-1.1.0 → devpi_process-1.1.1}/tests/test_devpi_process.py +0 -0
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
build:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
16
|
- name: Install the latest version of uv
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
- name: Build package
|
|
23
23
|
run: uv build --python 3.14 --python-preference only-managed --sdist --wheel . --out-dir dist
|
|
24
24
|
- name: Store the distribution packages
|
|
25
|
-
uses: actions/upload-artifact@
|
|
25
|
+
uses: actions/upload-artifact@v6
|
|
26
26
|
with:
|
|
27
27
|
name: ${{ env.dists-artifact-name }}
|
|
28
28
|
path: dist/*
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
id-token: write
|
|
39
39
|
steps:
|
|
40
40
|
- name: Download all the dists
|
|
41
|
-
uses: actions/download-artifact@
|
|
41
|
+
uses: actions/download-artifact@v7
|
|
42
42
|
with:
|
|
43
43
|
name: ${{ env.dists-artifact-name }}
|
|
44
44
|
path: dist/
|
|
@@ -5,7 +5,7 @@ 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.
|
|
8
|
+
rev: 0.36.2
|
|
9
9
|
hooks:
|
|
10
10
|
- id: check-github-workflows
|
|
11
11
|
args: ["--verbose"]
|
|
@@ -14,23 +14,22 @@ repos:
|
|
|
14
14
|
hooks:
|
|
15
15
|
- id: codespell
|
|
16
16
|
additional_dependencies: ["tomli>=2.2.1"]
|
|
17
|
-
- repo: https://github.com/tox-dev/tox-
|
|
18
|
-
rev: "
|
|
17
|
+
- repo: https://github.com/tox-dev/tox-toml-fmt
|
|
18
|
+
rev: "v1.7.2"
|
|
19
19
|
hooks:
|
|
20
|
-
- id: tox-
|
|
21
|
-
args: ["-p", "fix"]
|
|
20
|
+
- id: tox-toml-fmt
|
|
22
21
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
23
|
-
rev: "v2.
|
|
22
|
+
rev: "v2.16.2"
|
|
24
23
|
hooks:
|
|
25
24
|
- id: pyproject-fmt
|
|
26
25
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
27
|
-
rev: "v0.
|
|
26
|
+
rev: "v0.15.2"
|
|
28
27
|
hooks:
|
|
29
28
|
- id: ruff-format
|
|
30
29
|
- id: ruff
|
|
31
30
|
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
|
|
32
31
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
33
|
-
rev: "v3.
|
|
32
|
+
rev: "v3.8.1"
|
|
34
33
|
hooks:
|
|
35
34
|
- id: prettier
|
|
36
35
|
args: ["--print-width=120", "--prose-wrap=always"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devpi-process
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
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
|
|
@@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
26
|
Classifier: Topic :: Software Development :: Libraries
|
|
26
27
|
Classifier: Topic :: Software Development :: Testing
|
|
27
28
|
Classifier: Topic :: Utilities
|
|
@@ -29,11 +30,6 @@ Requires-Python: >=3.10
|
|
|
29
30
|
Requires-Dist: devpi-client>=7.2
|
|
30
31
|
Requires-Dist: devpi-server>=6.17
|
|
31
32
|
Requires-Dist: typing-extensions>=4.15; python_version < '3.11'
|
|
32
|
-
Provides-Extra: testing
|
|
33
|
-
Requires-Dist: covdefaults>=2.3; extra == 'testing'
|
|
34
|
-
Requires-Dist: httpx>=0.28.1; extra == 'testing'
|
|
35
|
-
Requires-Dist: pytest-cov>=7; extra == 'testing'
|
|
36
|
-
Requires-Dist: pytest>=8.4.2; extra == 'testing'
|
|
37
33
|
Description-Content-Type: text/markdown
|
|
38
34
|
|
|
39
35
|
# 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.28",
|
|
6
6
|
]
|
|
7
7
|
|
|
8
8
|
[project]
|
|
@@ -37,6 +37,7 @@ classifiers = [
|
|
|
37
37
|
"Programming Language :: Python :: 3.11",
|
|
38
38
|
"Programming Language :: Python :: 3.12",
|
|
39
39
|
"Programming Language :: Python :: 3.13",
|
|
40
|
+
"Programming Language :: Python :: 3.14",
|
|
40
41
|
"Topic :: Software Development :: Libraries",
|
|
41
42
|
"Topic :: Software Development :: Testing",
|
|
42
43
|
"Topic :: Utilities",
|
|
@@ -49,15 +50,35 @@ dependencies = [
|
|
|
49
50
|
"devpi-server>=6.17",
|
|
50
51
|
"typing-extensions>=4.15; python_version<'3.11'",
|
|
51
52
|
]
|
|
52
|
-
|
|
53
|
+
urls.Homepage = "https://github.com/tox-dev/devpi-process#readme"
|
|
54
|
+
urls.Source = "https://github.com/tox-dev/devpi-process"
|
|
55
|
+
urls.Tracker = "https://github.com/tox-dev/devpi-process/issues"
|
|
56
|
+
|
|
57
|
+
[dependency-groups]
|
|
58
|
+
dev = [
|
|
59
|
+
{ include-group = "lint" },
|
|
60
|
+
{ include-group = "pkg-meta" },
|
|
61
|
+
{ include-group = "test" },
|
|
62
|
+
{ include-group = "type" },
|
|
63
|
+
]
|
|
64
|
+
test = [
|
|
53
65
|
"covdefaults>=2.3",
|
|
54
66
|
"httpx>=0.28.1",
|
|
55
67
|
"pytest>=8.4.2",
|
|
56
68
|
"pytest-cov>=7",
|
|
57
69
|
]
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
70
|
+
type = [
|
|
71
|
+
"ty>=0.0.17",
|
|
72
|
+
{ include-group = "test" },
|
|
73
|
+
]
|
|
74
|
+
lint = [
|
|
75
|
+
"pre-commit-uv>=4.2",
|
|
76
|
+
]
|
|
77
|
+
pkg-meta = [
|
|
78
|
+
"check-wheel-contents>=0.6.3",
|
|
79
|
+
"twine>=6.2",
|
|
80
|
+
"uv>=0.10.2",
|
|
81
|
+
]
|
|
61
82
|
|
|
62
83
|
[tool.hatch]
|
|
63
84
|
build.hooks.vcs.version-file = "src/devpi_process/_version.py"
|
|
@@ -82,6 +103,7 @@ lint.ignore = [
|
|
|
82
103
|
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
|
|
83
104
|
"DOC", # not supported
|
|
84
105
|
"ISC001", # Conflict with formatter
|
|
106
|
+
"RUF067", # `__init__` module should only contain docstrings and re-exports
|
|
85
107
|
"S104", # Possible binding to all interface
|
|
86
108
|
]
|
|
87
109
|
lint.per-file-ignores."tests/**/*.py" = [
|
|
@@ -105,11 +127,13 @@ write-changes = true
|
|
|
105
127
|
count = true
|
|
106
128
|
|
|
107
129
|
[tool.pyproject-fmt]
|
|
108
|
-
max_supported_python = "3.
|
|
130
|
+
max_supported_python = "3.14"
|
|
109
131
|
|
|
110
132
|
[tool.coverage]
|
|
111
|
-
|
|
112
|
-
|
|
133
|
+
run.parallel = true
|
|
134
|
+
run.plugins = [
|
|
135
|
+
"covdefaults",
|
|
136
|
+
]
|
|
113
137
|
paths.source = [
|
|
114
138
|
"src",
|
|
115
139
|
".tox*/*/lib/python*/site-packages",
|
|
@@ -119,14 +143,9 @@ paths.source = [
|
|
|
119
143
|
"*\\src",
|
|
120
144
|
]
|
|
121
145
|
report.fail_under = 98
|
|
122
|
-
report.omit = [
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
run.plugins = [
|
|
126
|
-
"covdefaults",
|
|
127
|
-
]
|
|
146
|
+
report.omit = []
|
|
147
|
+
html.show_contexts = true
|
|
148
|
+
html.skip_covered = false
|
|
128
149
|
|
|
129
|
-
[tool.
|
|
130
|
-
|
|
131
|
-
show_error_codes = true
|
|
132
|
-
strict = true
|
|
150
|
+
[tool.ty]
|
|
151
|
+
environment.python-version = "3.14"
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 1,
|
|
31
|
+
__version__ = version = '1.1.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 1, 1)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
requires = [ "tox>=4.34.1", "tox-uv>=1.29" ]
|
|
2
|
+
env_list = [ "3.14", "3.13", "3.12", "3.11", "3.10", "fix", "pkg_meta", "type" ]
|
|
3
|
+
skip_missing_interpreters = true
|
|
4
|
+
|
|
5
|
+
[env_run_base]
|
|
6
|
+
description = "run the unit tests with pytest under {env_name}"
|
|
7
|
+
package = "wheel"
|
|
8
|
+
wheel_build_env = ".pkg"
|
|
9
|
+
dependency_groups = [ "test" ]
|
|
10
|
+
pass_env = [ "DIFF_AGAINST", "PYTEST_*" ]
|
|
11
|
+
set_env.COVERAGE_FILE = { replace = "env", name = "COVERAGE_FILE", default = "{work_dir}{/}.coverage.{env_name}" }
|
|
12
|
+
commands = [
|
|
13
|
+
[
|
|
14
|
+
"python",
|
|
15
|
+
"-m",
|
|
16
|
+
"pytest",
|
|
17
|
+
{ replace = "posargs", extend = true, default = [
|
|
18
|
+
"--cov",
|
|
19
|
+
"{env_site_packages_dir}{/}devpi_process",
|
|
20
|
+
"--cov",
|
|
21
|
+
"{tox_root}{/}tests",
|
|
22
|
+
"--cov-config=pyproject.toml",
|
|
23
|
+
"--no-cov-on-fail",
|
|
24
|
+
"--cov-report",
|
|
25
|
+
"term-missing:skip-covered",
|
|
26
|
+
"--cov-context=test",
|
|
27
|
+
"--cov-report",
|
|
28
|
+
"html:{env_tmp_dir}{/}htmlcov",
|
|
29
|
+
"--cov-report",
|
|
30
|
+
"xml:{work_dir}{/}coverage.{env_name}.xml",
|
|
31
|
+
"--junitxml",
|
|
32
|
+
"{work_dir}{/}junit.{env_name}.xml",
|
|
33
|
+
"tests",
|
|
34
|
+
] },
|
|
35
|
+
],
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[env.fix]
|
|
39
|
+
description = "format the code base to adhere to our styles, and complain about what we cannot do automatically"
|
|
40
|
+
skip_install = true
|
|
41
|
+
dependency_groups = [ "lint" ]
|
|
42
|
+
commands = [ [ "pre-commit", "run", "--all-files", "--show-diff-on-failure" ] ]
|
|
43
|
+
|
|
44
|
+
[env.pkg_meta]
|
|
45
|
+
description = "check that the long description is valid"
|
|
46
|
+
skip_install = true
|
|
47
|
+
dependency_groups = [ "pkg-meta" ]
|
|
48
|
+
commands = [
|
|
49
|
+
[ "uv", "build", "--sdist", "--wheel", "--out-dir", "{env_tmp_dir}", "." ],
|
|
50
|
+
[ "twine", "check", "{env_tmp_dir}{/}*" ],
|
|
51
|
+
[ "check-wheel-contents", "--no-config", "{env_tmp_dir}" ],
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[env.type]
|
|
55
|
+
description = "run type check on code base"
|
|
56
|
+
dependency_groups = [ "type" ]
|
|
57
|
+
commands = [ [ "ty", "check", "--output-format", "concise", "--error-on-warning", "." ] ]
|
|
58
|
+
|
|
59
|
+
[env.dev]
|
|
60
|
+
description = "generate a DEV environment"
|
|
61
|
+
package = "editable"
|
|
62
|
+
dependency_groups = [ "dev" ]
|
|
63
|
+
commands = [
|
|
64
|
+
[ "uv", "pip", "tree" ],
|
|
65
|
+
[ "python", "-c", "import sys; print(sys.executable)" ],
|
|
66
|
+
]
|
devpi_process-1.1.0/tox.ini
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
[tox]
|
|
2
|
-
requires =
|
|
3
|
-
tox>=4.30.3
|
|
4
|
-
tox-uv>=1.28
|
|
5
|
-
env_list =
|
|
6
|
-
fix
|
|
7
|
-
3.14
|
|
8
|
-
3.13
|
|
9
|
-
3.12
|
|
10
|
-
3.11
|
|
11
|
-
3.10
|
|
12
|
-
type
|
|
13
|
-
pkg_meta
|
|
14
|
-
skip_missing_interpreters = true
|
|
15
|
-
|
|
16
|
-
[testenv]
|
|
17
|
-
description = run the unit tests with pytest under {base_python}
|
|
18
|
-
package = wheel
|
|
19
|
-
wheel_build_env = .pkg
|
|
20
|
-
extras =
|
|
21
|
-
testing
|
|
22
|
-
pass_env =
|
|
23
|
-
DIFF_AGAINST
|
|
24
|
-
PYTEST_*
|
|
25
|
-
set_env =
|
|
26
|
-
COVERAGE_FILE = {work_dir}/.coverage.{env_name}
|
|
27
|
-
commands =
|
|
28
|
-
python -m pytest {tty:--color=yes} {posargs: \
|
|
29
|
-
--cov {env_site_packages_dir}{/}devpi_process --cov {tox_root}{/}tests \
|
|
30
|
-
--cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \
|
|
31
|
-
--cov-report html:{env_tmp_dir}{/}htmlcov --cov-report xml:{work_dir}{/}coverage.{env_name}.xml \
|
|
32
|
-
--junitxml {work_dir}{/}junit.{env_name}.xml \
|
|
33
|
-
tests}
|
|
34
|
-
|
|
35
|
-
[testenv:fix]
|
|
36
|
-
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
|
|
37
|
-
skip_install = true
|
|
38
|
-
deps =
|
|
39
|
-
pre-commit-uv>=4.1.5
|
|
40
|
-
commands =
|
|
41
|
-
pre-commit run --all-files --show-diff-on-failure
|
|
42
|
-
|
|
43
|
-
[testenv:type]
|
|
44
|
-
description = run type check on code base
|
|
45
|
-
deps =
|
|
46
|
-
mypy==1.18.2
|
|
47
|
-
commands =
|
|
48
|
-
mypy src
|
|
49
|
-
mypy tests
|
|
50
|
-
|
|
51
|
-
[testenv:pkg_meta]
|
|
52
|
-
description = check that the long description is valid
|
|
53
|
-
skip_install = true
|
|
54
|
-
deps =
|
|
55
|
-
check-wheel-contents>=0.6.3
|
|
56
|
-
twine>=6.2
|
|
57
|
-
uv>=0.8.22
|
|
58
|
-
commands =
|
|
59
|
-
uv build --sdist --wheel --out-dir {env_tmp_dir} .
|
|
60
|
-
twine check {env_tmp_dir}{/}*
|
|
61
|
-
check-wheel-contents --no-config {env_tmp_dir}
|
|
62
|
-
|
|
63
|
-
[testenv:dev]
|
|
64
|
-
description = generate a DEV environment
|
|
65
|
-
package = editable
|
|
66
|
-
commands =
|
|
67
|
-
uv pip tree
|
|
68
|
-
python -c 'import sys; print(sys.executable)'
|
|
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
|
|
File without changes
|