Skip to content

Commit

Permalink
Support python 3.12 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
danishi authored Dec 26, 2023
1 parent 7d6eb21 commit 73baa99
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
context: .
dockerfile: ./Dockerfile
args:
- VARIANT=3.11
- VARIANT=3.12
volumes:
- ../:/workspace/
tty: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pypi-and-docker-hub-release
on:
push:
tags:
- 'v*'
- "v*"

jobs:
deploy:
Expand All @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ['3.10']
python-version: ["3.12"]
os: [ubuntu-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.12"]
os: [ubuntu-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-github-package-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test-github-package-release
on:
push:
tags:
- 'test-*'
- "test-*"

jobs:
deploy:
Expand All @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ['3.10']
python-version: ["3.12"]
os: [ubuntu-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ['3.10']
python-version: ["3.12"]
os: [ubuntu-latest]

steps:
Expand All @@ -39,7 +39,7 @@ jobs:
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_REPOSITORY_URL: 'https://test.pypi.org/legacy/'
TWINE_REPOSITORY_URL: "https://test.pypi.org/legacy/"
run: |
python setup.py sdist bdist_wheel
twine upload --repository pypitest dist/*
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Utilities

[options]
Expand Down

0 comments on commit 73baa99

Please sign in to comment.