Skip to content

Commit 134d7e6

Browse files
committed
Поправлены версии
1 parent bd8d755 commit 134d7e6

File tree

3 files changed

+43
-46
lines changed

3 files changed

+43
-46
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mellophone-valve"
3-
version = "3.1.0"
3+
version = "3.1.1"
44
description = "Python-клиент для Mellophone"
55
readme = "README.md"
66
requires-python = ">=3.7"
@@ -9,16 +9,16 @@ dependencies = []
99
[project.optional-dependencies]
1010
httpx = [
1111
"httpx>=0.23.0,<0.24.0; python_version < '3.8'",
12-
"httpx>=0.28.1; python_version >= '3.13'",
12+
"httpx>=0.28.1; python_version >= '3.8'",
1313
]
1414
requests = [
15-
"requests>=2.31.0,<2.32.0; python_version < '3.8'",
16-
"requests>=2.32.0; python_version >= '3.8'"
15+
"requests>=2.31.0,<2.32.0; python_version < '3.9'",
16+
"requests>=2.32.2; python_version >= '3.9'"
1717
]
1818

1919
[dependency-groups]
2020
dev = [
21-
"httpx>=0.28.1; python_version >= '3.13'",
21+
"httpx>=0.28.1; python_version >= '3.8'",
2222
"pre-commit>=4.3.0; python_version >= '3.13'",
2323
"pytest>=9.0.2; python_version >= '3.13'",
2424
"pyyaml>=6.0.3; python_version >= '3.13'",

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ skipsdist = true
66
description = Run unit tests in Docker using {env:PYTHON_IMAGE}
77
basepython = python3
88
package = skip
9-
allowlist_externals = docker
9+
allowlist_externals = docker, uv
1010
setenv =
1111
PYTHON_IMAGE = python:3.13-slim
1212
commands =
13-
docker run --rm -v {toxinidir}:/work -w /work {env:PYTHON_IMAGE} /bin/sh -c "python -m pip install -q --retries 5 --timeout 10 --disable-pip-version-check --root-user-action=ignore pytest httpx && pytest tests/test_mellophone.py -q"
13+
uv export --frozen --no-dev --extra httpx --format requirements.txt --no-hashes --no-emit-project -o {toxworkdir}/deps-{envname}.txt
14+
docker run --rm -v {toxinidir}:/work -w /work {env:PYTHON_IMAGE} /bin/sh -c "python -m pip install -q --retries 5 --timeout 10 --disable-pip-version-check --root-user-action=ignore pytest -r /work/.tox/deps-{envname}.txt && pytest tests/test_mellophone.py -q"
1415

1516
[testenv:docker37]
1617
setenv =

uv.lock

Lines changed: 35 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)