Skip to content

Commit

Permalink
feat: enable Python 3.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Dec 30, 2024
1 parent ebdb6e5 commit c9e6c99
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 131 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
uses: ./.github/workflows/test.yml
with:
coverage: ${{ (matrix.python-version == '3.12' || matrix.python-version == '3.8') }}
Expand All @@ -123,6 +123,9 @@ jobs:
version: "0.5.4"
enable-cache: true

- name: Install Build Dependencies
run: sudo apt-get install build-essential libpq-dev python3-dev -y

- name: Install dependencies
run: |
uv sync
Expand Down Expand Up @@ -190,6 +193,9 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Install Build Dependencies
run: sudo apt-get install build-essential libpq-dev python3-dev -y

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -260,6 +266,9 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Install Build Dependencies
run: sudo apt-get install build-essential libpq-dev python3-dev -y

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
with:
python-version: ${{ inputs.python-version }}

- name: Install Build Dependencies
run: sudo apt-get install build-essential libpq-dev python3-dev -y

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: "3"
python: "3.12"
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
Expand Down
Loading

0 comments on commit c9e6c99

Please sign in to comment.