Skip to content

Commit

Permalink
Fix: Test dependencies were outdated
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hoh committed Jun 18, 2024
1 parent d1a1497 commit 3f978c5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "aleph-vm"
dynamic = ["version"]
description = "Aleph.im VM execution engine"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = []
authors = [
Expand Down Expand Up @@ -86,10 +86,10 @@ check = "aleph-vm controller run {args:--help}"
type = "virtual"
system-packages = true
dependencies = [
"pytest==8.0.1",
"pytest-cov==4.1.0",
"pytest-mock==3.12.0",
"pytest-asyncio==0.23.5",
"pytest==8.2.1",
"pytest-cov==5.0.0",
"pytest-mock==3.14.0",
"pytest-asyncio==0.23.7",
"pytest-aiohttp==1.0.5",
]
[tool.hatch.envs.testing.scripts]
Expand All @@ -105,14 +105,14 @@ cov = [
]

[[tool.hatch.envs.all.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
python = ["3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
detached = true
dependencies = [
"black==24.1.1",
"black==24.3.0",
"mypy==1.8.0",
"ruff==0.1.15",
"ruff==0.4.6",
"isort==5.13.2",
]
[tool.hatch.envs.lint.scripts]
Expand Down Expand Up @@ -151,16 +151,17 @@ line-length = 120
#skip-string-normalization = true

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
install_types = true
non_interactive = true
ignore_missing_imports = true
explicit_package_bases = true
check_untyped_defs = true

[tool.ruff]
target-version = "py39"
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"A",
"ARG",
Expand Down Expand Up @@ -205,13 +206,12 @@ ignore = [
# "F401",
#]

[tool.ruff.isort]
known-first-party = ["aleph.vm"]
isort.known-first-party = ["aleph.vm"]

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

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

Expand Down

0 comments on commit 3f978c5

Please sign in to comment.