diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bea7ce59..8bc8f9da 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.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index c5cb0dde..dac78ef4 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ To run your bot against a live network, this SDK includes a simple runner you ca $ silverback run "example:app" --network :mainnet:alchemy ``` -**NOTE**: The example is designed to work with Python 3.9+, and we suggest using 3.11+ for speed. +**NOTE**: The example is designed to work with Python 3.10+, and we suggest using 3.11+ for speed. ## Docker Usage @@ -59,6 +59,8 @@ $ silverback run "example:app" --network :mainnet:alchemy $ docker run --volume $PWD:/home/harambe/project --volume ~/.tokenlists:/home/harambe/.tokenlists apeworx/silverback:latest run "example:app" --network :mainnet:alchemy ``` +**NOTE**: The Docker image we publish uses Python 3.11 + ## Development This project is in development and should be considered a beta. diff --git a/pyproject.toml b/pyproject.toml index 97ef1153..00230c64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ write_to = "silverback/version.py" [tool.black] line-length = 100 -target-version = ['py310', 'py311'] +target-version = ['py310', 'py311', 'py312'] include = '\.pyi?$' [tool.pytest.ini_options] diff --git a/setup.py b/setup.py index e914c7fc..034aa9b7 100644 --- a/setup.py +++ b/setup.py @@ -95,5 +95,6 @@ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], )