Skip to content

Commit

Permalink
Update the python version, and uv.lock
Browse files Browse the repository at this point in the history
Bumps the `.python-version` to `3.13`, and adds a required `uv` version as well, along with a `uv sync` that trims a bunch of python 3.12 wheel from the lockfile.
  • Loading branch information
Swatinem committed Feb 27, 2025
1 parent fd58134 commit e360bc1
Showing 4 changed files with 9 additions and 230 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -28,11 +28,12 @@ jobs:
- uses: actions/checkout@v4

- uses: astral-sh/setup-uv@v5
- uses: actions/setup-python@v5
- run: uv sync --all-extras --dev

- uses: CodSpeedHQ/action@v3
with:
run: uv run pytest tests/ --codspeed --codspeed-mode=walltime --codspeed-warmup-time=0.25 --codspeed-max-time=1
run: uv run pytest tests/benchmarks/ --codspeed --codspeed-mode=walltime --codspeed-warmup-time=0.25 --codspeed-max-time=1
token: ${{ secrets.CODSPEED_TOKEN }}

test:
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.13
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name = "shared"
version = "0.1.0"
description = "Shared code used in codecov API and worker"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
dependencies = [
"boto3>=1.20.25",
"cachetools>=4.1.1",
@@ -44,6 +44,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
required-version = ">=0.6.0"
dev-dependencies = [
"factory-boy>=3.2.0",
"freezegun>=1.1.0",
Loading
Oops, something went wrong.

0 comments on commit e360bc1

Please sign in to comment.