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

1094 Add Python 3.13 support #1104

Merged
merged 4 commits into from
Oct 20, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v1"
with:
python-version: 3.12
python-version: 3.13
- name: "Install dependencies"
run: "pip install -r requirements/dev-requirements.txt"
- name: "Publish to PyPI"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand All @@ -40,7 +40,7 @@ jobs:
matrix:
# These tests are slow, so we only run on the latest Python
# version.
python-version: ["3.10"]
python-version: ["3.12"]
postgres-version: [17]
services:
postgres:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
postgres-version: [12, 13, 14, 15, 16, 17]

# Service containers to run with `container-job`
Expand Down Expand Up @@ -134,14 +134,14 @@ jobs:
PG_PASSWORD: postgres
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.12'
if: matrix.python-version == '3.13'

cockroach:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
cockroachdb-version: ["v24.1.0"]
steps:
- uses: actions/checkout@v3
Expand All @@ -168,14 +168,14 @@ jobs:
PG_DATABASE: piccolo
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.12'
if: matrix.python-version == '3.13'

sqlite:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand All @@ -193,4 +193,4 @@ jobs:
run: ./scripts/test-sqlite.sh
- name: Upload coverage
uses: codecov/codecov-action@v1
if: matrix.python-version == '3.12'
if: matrix.python-version == '3.13'
2 changes: 1 addition & 1 deletion requirements/extras/postgres.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
asyncpg>=0.21.0
asyncpg>=0.30.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def extras_require() -> t.Dict[str, t.List[str]]:
long_description_content_type="text/markdown",
author="Daniel Townsend",
author_email="[email protected]",
python_requires=">=3.8.0",
python_requires=">=3.9.0",
url="https://github.com/piccolo-orm/piccolo",
packages=find_packages(exclude=("tests",)),
package_data={
Expand All @@ -84,11 +84,11 @@ def extras_require() -> t.Dict[str, t.List[str]]:
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: AsyncIO",
"Typing :: Typed",
Expand Down
Loading