Skip to content

Commit

Permalink
feat: Support Python 3.12 🐍
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jun 20, 2023
1 parent fd807e6 commit 07da600
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 120 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
tests:
name: Test on ${{ matrix.python-version }} (${{ matrix.session }}) / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental || false }}
env:
NOXSESSION: ${{ matrix.session }}
strategy:
Expand All @@ -30,6 +31,7 @@ jobs:
include:
- { session: doctest, python-version: "3.10", os: "ubuntu-latest" }
- { session: mypy, python-version: "3.8", os: "ubuntu-latest" }
- { session: tests, python-version: "3.12", os: "ubuntu-latest", experimental: true }

steps:
- name: Check out the repository
Expand All @@ -45,7 +47,7 @@ jobs:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.6.1
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}${{ matrix.experimental && '-dev' || '' }}
architecture: x64
cache: 'pip'
cache-dependency-path: 'poetry.lock'
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"""

package = "singer_sdk"
python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]
main_python_version = "3.10"
locations = "singer_sdk", "tests", "noxfile.py", "docs/conf.py"
nox.options.sessions = (
Expand Down
Loading

0 comments on commit 07da600

Please sign in to comment.