Skip to content

Commit

Permalink
let's support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ojii committed Jan 18, 2024
1 parent 468e887 commit d3e3ab0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
Expand All @@ -29,7 +29,7 @@ jobs:
needs: lock
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
implementation: [
{flavor: "other", name: "dynalite"},
{flavor: "other", name: "dynamodb-local"},
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
needs: lock
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
Expand All @@ -85,11 +85,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- uses: actions/cache@v3
with:
path: poetry.lock
key: ${{ github.sha }}-3.11
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry run isort --check --diff src tests
Expand All @@ -102,11 +102,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- uses: actions/cache@v3
with:
path: poetry.lock
key: ${{ github.sha }}-3.11
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry run black --check src/ tests/
Expand All @@ -119,11 +119,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- uses: actions/cache@v3
with:
path: poetry.lock
key: ${{ github.sha }}-3.11
key: ${{ github.sha }}-3.12
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry install --extras aiohttp --extras httpx
- run: poetry run ruff check src/ tests/
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ repository = "https://github.com/HENNGE/aiodynamo"
documentation = "https://aiodynamo.readthedocs.io"
classifiers = [
"Framework :: AsyncIO",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit d3e3ab0

Please sign in to comment.