Skip to content

Commit 2c1d121

Browse files
authored
Merge pull request #50 from kurtmckee/updates
Updates
2 parents be599b1 + 7eebb49 commit 2c1d121

File tree

5 files changed

+37
-8
lines changed

5 files changed

+37
-8
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
cpython-beta: "3.14"
4242
cache-key-hash-files:
4343
- "pyproject.toml"
44+
- "requirements/*/requirements.txt"
4445

4546
uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@ca26472ada33aa277527450aa46436f530e3d2c1" # v1.4
4647
with:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ repos:
3737
- id: "black"
3838

3939
- repo: "https://github.com/pycqa/isort"
40-
rev: "6.0.0"
40+
rev: "6.0.1"
4141
hooks:
4242
- id: "isort"
4343

4444
- repo: "https://github.com/pycqa/flake8"
45-
rev: "7.1.2"
45+
rev: "7.2.0"
4646
hooks:
4747
- id: "flake8"
4848
additional_dependencies:
4949
- "flake8-bugbear==24.12.12"
5050

5151
- repo: "https://github.com/editorconfig-checker/editorconfig-checker"
52-
rev: "v3.2.0"
52+
rev: "v3.2.1"
5353
hooks:
5454
- id: "editorconfig-checker"

requirements/test/pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[tool.poetry]
2+
package-mode = false
3+
4+
[tool.poetry.dependencies]
5+
python = ">=3.9"
6+
blinker = "*"
7+
coverage = {extras = ["toml"], version = "*"}
8+
pyfakefs = "*"
9+
pytest = "*"
10+
pytest-randomly = "*"

requirements/test/requirements.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
blinker==1.9.0 ; python_version >= "3.9"
2+
colorama==0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
3+
coverage==7.8.0 ; python_version >= "3.9"
4+
exceptiongroup==1.2.2 ; python_version >= "3.9" and python_version < "3.11"
5+
importlib-metadata==8.6.1 ; python_version == "3.9"
6+
iniconfig==2.1.0 ; python_version >= "3.9"
7+
packaging==24.2 ; python_version >= "3.9"
8+
pluggy==1.5.0 ; python_version >= "3.9"
9+
pyfakefs==5.8.0 ; python_version >= "3.9"
10+
pytest-randomly==3.16.0 ; python_version >= "3.9"
11+
pytest==8.3.5 ; python_version >= "3.9"
12+
tomli==2.2.1 ; python_version >= "3.9" and python_full_version <= "3.11.0a6"
13+
zipp==3.21.0 ; python_version == "3.9"

tox.ini

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ labels =
1212
[testenv]
1313
description = Run the test suite ({env_name})
1414
deps =
15-
blinker
16-
coverage[toml]
17-
pytest
18-
pyfakefs
15+
-r requirements/test/requirements.txt
1916
extras =
2017
all_extras: brotli,zstandard,zopfli
2118
package = wheel
@@ -60,13 +57,21 @@ commands =
6057

6158

6259
[testenv:update]
63-
description = Update pre-commit hook versions
60+
description = Update tool dependency versions
61+
base_python = py3.13
6462
skip_install = True
6563
recreate = True
6664
deps =
65+
poetry
66+
poetry-plugin-export
6767
pre-commit
6868
upadup
6969
commands =
70+
# Update test requirements
71+
poetry update --directory="requirements/test" --lock
72+
poetry export --directory="requirements/test" --output="requirements.txt" --without-hashes
73+
74+
# Update pre-commit hook versions
7075
pre-commit autoupdate
7176
upadup
7277

0 commit comments

Comments
 (0)