diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa36e33..af337dc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -65,7 +65,7 @@ jobs: # TODO: Replace with macos-latest when works again. # https://github.com/actions/setup-python/issues/808 os: [ubuntu-latest, macos-12] # eventually add `windows-latest` - python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.9, "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 545b416..47e553f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Ecosystem Plugin for Fantom support in Ape ## Dependencies -- [python3](https://www.python.org/downloads) version 3.8 up to 3.12. +- [python3](https://www.python.org/downloads) version 3.9 up to 3.12. ## Installation diff --git a/ape_fantom/ecosystem.py b/ape_fantom/ecosystem.py index ec5cfbc..114f6ac 100644 --- a/ape_fantom/ecosystem.py +++ b/ape_fantom/ecosystem.py @@ -1,4 +1,4 @@ -from typing import ClassVar, Dict, Tuple, cast +from typing import ClassVar, cast from ape_ethereum.ecosystem import ( BaseEthereumConfig, @@ -15,7 +15,7 @@ class FantomConfig(BaseEthereumConfig): - NETWORKS: ClassVar[Dict[str, Tuple[int, int]]] = NETWORKS + NETWORKS: ClassVar[dict[str, tuple[int, int]]] = NETWORKS opera: NetworkConfig = create_network_config(block_time=0, required_confirmations=0) testnet: NetworkConfig = create_network_config(block_time=0, required_confirmations=0) diff --git a/pyproject.toml b/pyproject.toml index b3ea5fb..a48964a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ write_to = "ape_fantom/version.py" [tool.black] line-length = 100 -target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] +target-version = ['py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' [tool.pytest.ini_options] diff --git a/setup.py b/setup.py index f89926a..0bf69f6 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ "eth-ape>=0.7.6,<0.8", "ethpm-types", # Use same version as eth-ape ], - python_requires=">=3.8,<4", + python_requires=">=3.9,<4", extras_require=extras_require, py_modules=["ape_fantom"], license="Apache-2.0", @@ -79,7 +79,6 @@ "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",