Skip to content

Commit

Permalink
add Python 3.13 to setup.py and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Oct 18, 2024
1 parent db69230 commit ab2a4f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
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.13"]
postgres-version: [14]
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: [11, 12, 13, 14, 15, 16]

# 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'
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

0 comments on commit ab2a4f0

Please sign in to comment.