diff --git a/.github/workflows/onpush.yml b/.github/workflows/onpush.yml index dfb0798..ab02d66 100644 --- a/.github/workflows/onpush.yml +++ b/.github/workflows/onpush.yml @@ -12,8 +12,8 @@ jobs: check: strategy: matrix: - python-ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] - os: [ubuntu-22.04, macos-latest] + python-ver: ["3.10", "3.11", "3.12", "3.13", "3.14"] + os: [ubuntu-24.04, macos-latest] runs-on: ${{matrix.os }} diff --git a/autonity/contracts/__init__.py b/autonity/contracts/__init__.py index 809b2ff..906fa53 100644 --- a/autonity/contracts/__init__.py +++ b/autonity/contracts/__init__.py @@ -3,10 +3,3 @@ Each module consists of the contract binding class, the contract ABI, and ports of Solidity structures and enumerations. """ - -import warnings - -# Suppress warnings raised by `plum` about not being able to resolve types -# from `eth_typing`; the dispatch works as expected -warnings.filterwarnings("ignore", message="Could not resolve the type hint") -warnings.filterwarnings("ignore", message="Could not determine whether .+ is faithful") diff --git a/pyproject.toml b/pyproject.toml index e269d1b..04c613b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,17 +9,17 @@ readme = "README.md" license = "MIT" keywords = ["autonity", "web3", "rpc", "client", "library"] dynamic = ["version"] -requires-python = ">=3.9" -dependencies = ["web3==7.12.0", "plum-dispatch==2.5.4", "semver==3.0.2"] +requires-python = ">=3.10" +dependencies = ["web3>=7.12.0", "semver==3.0.2"] classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.urls] @@ -42,7 +42,7 @@ dependencies = ["pyabigen@git+https://github.com/clearmatics/pyabigen@v0.2.15"] dependencies = ["pytest"] [[tool.hatch.envs.test.matrix]] -python = ["3.9", "3.10", "3.11", "3.12", "3.13"] +python = ["3.10", "3.11", "3.12", "3.13", "3.14"] [tool.hatch.envs.test.scripts] all = "pytest -v {args:tests}"