Skip to content

Commit

Permalink
feat: updated to python 3.13 and uv 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TeKrop committed Nov 9, 2024
1 parent 9916b04 commit 172484d
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 299 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:

strategy:
matrix:
python-version: ["3.12"]
uv-version: ["0.4.27"]
python-version: ["3.13"]
uv-version: ["0.5.1"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build arguments
ARG PYTHON_VERSION=3.12
ARG UV_VERSION=0.4.27
ARG PYTHON_VERSION=3.13
ARG UV_VERSION=0.5.1

# Create a temporary stage to pull the uv binary
FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv-stage
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = "overfast-api"
version = "3.3.0"
version = "3.4.0"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = {file = "LICENSE"}
authors = [
{name = "Valentin PORCHET", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
dependencies = [
"fastapi[standard]==0.115.*",
"httpx[http2]==0.27.*",
Expand All @@ -32,7 +32,7 @@ dev-dependencies = [
"ipdb==0.13.*",
"pytest==8.3.*",
"pytest-asyncio==0.24.*",
"pytest-cov==5.0.*",
"pytest-cov==6.0.*",
"pytest-randomly==3.16.*",
"pytest-xdist==3.6.*",
"ruff==0.7.*",
Expand All @@ -46,8 +46,8 @@ dev-dependencies = [
# Check app code and tests
src = ["app", "tests"]

# Assume Python 3.12
target-version = "py312"
# Assume Python 3.13
target-version = "py313"

[tool.ruff.lint]
select = [
Expand Down
Loading

0 comments on commit 172484d

Please sign in to comment.