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

Update the python version, and uv.lock #547

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Update the python version, and uv.lock
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
commit e360bc1833037de2d7e4e52fc10a445caeafba41
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.
Loading
Oops, something went wrong.