Skip to content

Commit 3c4f123

Browse files
authored
ci: Update CI workflow and Python version requirement (#712)
* ci: Update CI workflow and Python version requirement Simplified the CI workflow by removing the 'uv lock --check' step and updated the Python version requirement in pyproject.toml to '>=3.11,<4.0' for better compatibility. * Update uv.lock
1 parent 7df3e93 commit 3c4f123

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ jobs:
5454
New-Item -Type Directory -Force .venv
5555
"$(Resolve-Path .venv)/Scripts" | Out-File -FilePath "${env:GITHUB_PATH}" -Append
5656
57-
- run: |
58-
uv lock --check
59-
uv sync
60-
uv pip list
57+
- run: uv sync && uv pip list
6158

6259
- run: make lint test
6360

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.1.0"
88
description = "Python example app incorporating best practices"
99
authors = [{ name = "yxtay", email = "[email protected]" }]
1010
license = "MIT"
11-
requires-python = "~=3.11"
11+
requires-python = ">=3.11,<4.0"
1212
dependencies = [
1313
"fastapi[all]>=0.115",
1414
"gunicorn>=23.0",

uv.lock

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

0 commit comments

Comments
 (0)