Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump to use py3.12 #226

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Python 3.9
- name: Setup Python 3.12
uses: actions/[email protected]
with:
python-version: '3.9'
python-version: '3.12'
architecture: x64

- name: Install dependencies
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
- name: Checkout Code
uses: actions/[email protected]

- name: Setup Python 3.9
- name: Setup Python 3.12
uses: actions/[email protected]
with:
python-version: '3.9'
python-version: '3.12'
architecture: x64

- name: Setup Poetry
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ on:
jobs:
single:
runs-on: ubuntu-latest
name: Python 3.9
name: Python 3.12
steps:
- name: Checkout Code
uses: actions/[email protected]

- name: Setup Latest Python
uses: actions/[email protected]
with:
python-version: 3.9
python-version: 3.12
architecture: x64

- name: Setup Poetry
Expand All @@ -32,10 +32,10 @@ jobs:
run: pip install nox nox_poetry coverage[toml]

- name: Run Tests
run: nox -s tests -p 3.9
run: nox -s tests -p 3.12

- name: Combine Coverage reports
run: nox -s coverage -p 3.9
run: nox -s coverage -p 3.12

- name: Convert Coverage
run: coverage xml --fail-under=0
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10"] # 3.9 is done in the job above
python-version: ["3.8", "3.10"] # 3.12 is done in the job above
name: Python ${{ matrix.python-version }}
steps:
- name: Checkout Code
Expand Down
2 changes: 2 additions & 0 deletions .python-version
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
3.7.13
3.8.13
3.10.4
3.11.6
3.12.0
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
raise SystemExit(dedent(message)) from None


python_versions = ["3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]

nox.options.sessions = (
# "pre-commit",
Expand Down
Loading