Skip to content

Commit

Permalink
chore: Make Python 3.13 the default (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Oct 17, 2024
1 parent fcee72b commit d1eb007
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
visibility: ["private", "public"]
stream_type: ["REST", "GraphQL"]
auth_method:
Expand All @@ -50,7 +49,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.x

- uses: astral-sh/setup-uv@v3

Expand Down Expand Up @@ -86,7 +85,7 @@ jobs:
run: >
nox
--install-only
-s "lint-${{ matrix.python-version }}(visibility='${{ matrix.visibility }}', auth_method='${{ matrix.auth_method }}', stream_type='${{ matrix.stream_type }}')"
-s "lint(visibility='${{ matrix.visibility }}', auth_method='${{ matrix.auth_method }}', stream_type='${{ matrix.stream_type }}')"
- name: Run Nox
env:
Expand All @@ -95,4 +94,4 @@ jobs:
nox
--reuse-existing-virtualenvs
--no-install
-s "lint-${{ matrix.python-version }}(visibility='${{ matrix.visibility }}', auth_method='${{ matrix.auth_method }}', stream_type='${{ matrix.stream_type }}')"
-s "lint(visibility='${{ matrix.visibility }}', auth_method='${{ matrix.auth_method }}', stream_type='${{ matrix.stream_type }}')"
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ repository_visibility:
python_main_version:
type: str
help: Main Python version supported by this project
default: "3.12"
default: "3.13"

vscode_files:
type: bool
Expand Down
9 changes: 1 addition & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,9 @@
[lint]
extend-ignore = ["TD003"]
"""
python_versions = [
"3.13",
"3.12",
"3.11",
"3.10",
"3.9",
]


@nox.session(python=python_versions)
@nox.session()
@nox.parametrize("stream_type", STREAM_TYPES)
@nox.parametrize("auth_method", AUTH_METHODS)
@nox.parametrize("visibility", VISIBILITIES)
Expand Down

0 comments on commit d1eb007

Please sign in to comment.