Skip to content

Commit 3f978c5

Browse files
committed
Fix: Test dependencies were outdated
This updates test dependencies in pyproject.toml. Support for Python 3.9 is removed in favour of Python 3.10 minimum. Dependencies for running the software are untouched.
1 parent d1a1497 commit 3f978c5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

pyproject.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "aleph-vm"
77
dynamic = ["version"]
88
description = "Aleph.im VM execution engine"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = {file = "LICENSE"}
1212
keywords = []
1313
authors = [
@@ -86,10 +86,10 @@ check = "aleph-vm controller run {args:--help}"
8686
type = "virtual"
8787
system-packages = true
8888
dependencies = [
89-
"pytest==8.0.1",
90-
"pytest-cov==4.1.0",
91-
"pytest-mock==3.12.0",
92-
"pytest-asyncio==0.23.5",
89+
"pytest==8.2.1",
90+
"pytest-cov==5.0.0",
91+
"pytest-mock==3.14.0",
92+
"pytest-asyncio==0.23.7",
9393
"pytest-aiohttp==1.0.5",
9494
]
9595
[tool.hatch.envs.testing.scripts]
@@ -105,14 +105,14 @@ cov = [
105105
]
106106

107107
[[tool.hatch.envs.all.matrix]]
108-
python = ["3.9", "3.10", "3.11", "3.12"]
108+
python = ["3.10", "3.11", "3.12"]
109109

110110
[tool.hatch.envs.lint]
111111
detached = true
112112
dependencies = [
113-
"black==24.1.1",
113+
"black==24.3.0",
114114
"mypy==1.8.0",
115-
"ruff==0.1.15",
115+
"ruff==0.4.6",
116116
"isort==5.13.2",
117117
]
118118
[tool.hatch.envs.lint.scripts]
@@ -151,16 +151,17 @@ line-length = 120
151151
#skip-string-normalization = true
152152

153153
[tool.mypy]
154-
python_version = "3.9"
154+
python_version = "3.10"
155155
install_types = true
156156
non_interactive = true
157157
ignore_missing_imports = true
158158
explicit_package_bases = true
159159
check_untyped_defs = true
160160

161161
[tool.ruff]
162-
target-version = "py39"
162+
target-version = "py310"
163163
line-length = 120
164+
[tool.ruff.lint]
164165
select = [
165166
"A",
166167
"ARG",
@@ -205,13 +206,12 @@ ignore = [
205206
# "F401",
206207
#]
207208

208-
[tool.ruff.isort]
209-
known-first-party = ["aleph.vm"]
209+
isort.known-first-party = ["aleph.vm"]
210210

211211
#[tool.ruff.flake8-tidy-imports]
212212
#ban-relative-imports = "all"
213213

214-
[tool.ruff.per-file-ignores]
214+
[tool.ruff.lint.per-file-ignores]
215215
# Tests can use magic values, assertions, and relative imports
216216
"tests/**/*" = ["PLR2004", "S101", "TID252"]
217217

0 commit comments

Comments
 (0)