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

feat: updated to python 3.13 and uv 5.1 #214

Merged
merged 1 commit into from
Nov 9, 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
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 = "valentin.porchet@proton.me"}
]
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