Skip to content

Commit 819e2d3

Browse files
committed
enable python 3.13
1 parent 453a5fb commit 819e2d3

File tree

3 files changed

+42
-26
lines changed

3 files changed

+42
-26
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: actions/setup-python@v4
21-
with:
22-
python-version: "3.12"
20+
- uses: astral-sh/setup-uv@v3
21+
- run: uv python install 3.13
2322
- run: |
24-
curl -LsSf https://astral.sh/uv/install.sh | sh
2523
uv sync --all-extras --frozen --no-install-project
2624
uv run ruff format . --check
2725
uv run ruff check . --no-fix
@@ -46,11 +44,9 @@ jobs:
4644
--health-retries 5
4745
steps:
4846
- uses: actions/checkout@v3
49-
- uses: actions/setup-python@v4
50-
with:
51-
python-version: "3.12"
47+
- uses: astral-sh/setup-uv@v3
48+
- run: uv python install 3.13
5249
- run: |
53-
curl -LsSf https://astral.sh/uv/install.sh | sh
5450
uv sync --all-extras --frozen --no-install-project
5551
uv run alembic upgrade head
5652
uv run pytest . --cov=. --cov-report xml

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dev-dependencies = [
3838
fix = true
3939
unsafe-fixes = true
4040
line-length = 120
41-
target-version = "py311"
41+
target-version = "py312"
4242
extend-exclude = ["bin"]
4343

4444
[tool.ruff.lint]

uv.lock

Lines changed: 37 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)