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

feat: add support for Python 3.13 #383

Merged
merged 5 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
9 changes: 6 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ jobs:
pull-requests: write
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.9", "3.12"]
# TODO: Change to macos-latest when Python 3.9 is depcrecated. We're
rhatgadkar-goog marked this conversation as resolved.
Show resolved Hide resolved
# using macos-12 here, because psycopg 2.9.10 package on
# Python 3.9 is only for macos-12.
os: [macos-12, windows-latest, ubuntu-latest]
python-version: ["3.9", "3.13"]
fail-fast: false
steps:
- name: Checkout code
Expand Down Expand Up @@ -99,7 +102,7 @@ jobs:
(github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
strategy:
matrix:
python-version: ["3.9", "3.12"]
python-version: ["3.9", "3.13"]
fail-fast: false
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
ISORT_VERSION = "isort==5.13.2"
LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"]

SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]


@nox.session
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
asyncpg==0.30.0
mock==5.1.0
pg8000==1.31.2
psycopg2-binary==2.9.9
psycopg2-binary==2.9.10
pytest==8.3.3
pytest-asyncio==0.24.0
pytest-cov==5.0.0
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
Expand Down
Loading