From e117da9573dc6763e483cd13bd95343ecedb5ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szendr=C5=91?= Date: Wed, 18 Feb 2026 11:02:14 +0100 Subject: [PATCH 1/4] Update supported Python versions to 3.10 - 3.14 --- .github/workflows/onpush.yml | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/onpush.yml b/.github/workflows/onpush.yml index dfb0798..843d9df 100644 --- a/.github/workflows/onpush.yml +++ b/.github/workflows/onpush.yml @@ -12,7 +12,7 @@ jobs: check: strategy: matrix: - python-ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-ver: ["3.10", "3.11", "3.12", "3.13", "3.14"] os: [ubuntu-22.04, macos-latest] runs-on: ${{matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index e269d1b..d7c2bfe 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" +requires-python = ">=3.10" dependencies = ["web3==7.12.0", "plum-dispatch==2.5.4", "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}" From 4e5c2594a6fd744e7902a3c22772083b5c19fb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szendr=C5=91?= Date: Wed, 18 Feb 2026 11:03:45 +0100 Subject: [PATCH 2/4] Update GitHub action base image to Ubuntu 24.04 LTS --- .github/workflows/onpush.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/onpush.yml b/.github/workflows/onpush.yml index 843d9df..ab02d66 100644 --- a/.github/workflows/onpush.yml +++ b/.github/workflows/onpush.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python-ver: ["3.10", "3.11", "3.12", "3.13", "3.14"] - os: [ubuntu-22.04, macos-latest] + os: [ubuntu-24.04, macos-latest] runs-on: ${{matrix.os }} From 9a3d688334952ba77e02b06ab166f894b7d73d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szendr=C5=91?= Date: Wed, 18 Feb 2026 11:06:27 +0100 Subject: [PATCH 3/4] Remove unused plum dependency There aren't any overloaded contract functions in the current version. --- autonity/contracts/__init__.py | 7 ------- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) 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 d7c2bfe..114faba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ license = "MIT" keywords = ["autonity", "web3", "rpc", "client", "library"] dynamic = ["version"] requires-python = ">=3.10" -dependencies = ["web3==7.12.0", "plum-dispatch==2.5.4", "semver==3.0.2"] +dependencies = ["web3==7.12.0", "semver==3.0.2"] classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", From 2148197816dc4189e64a7c182ce57cdbdab9b950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szendr=C5=91?= Date: Wed, 18 Feb 2026 11:07:13 +0100 Subject: [PATCH 4/4] Do not force a specific Web3.py version Allow using the SDK with any Web3.py version greater than v7.12. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 114faba..04c613b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ license = "MIT" keywords = ["autonity", "web3", "rpc", "client", "library"] dynamic = ["version"] requires-python = ">=3.10" -dependencies = ["web3==7.12.0", "semver==3.0.2"] +dependencies = ["web3>=7.12.0", "semver==3.0.2"] classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License",