Skip to content

Commit

Permalink
Update uv
Browse files Browse the repository at this point in the history
  • Loading branch information
delfick committed Feb 23, 2025
1 parent 7bc117f commit 68b1d13
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: python -c "import sys; print(sys.version)"

- name: Install venv
run: ./tools/uv sync --extra tools --locked
run: ./tools/uv sync --extra dev --locked

- name: Run module tests
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: "3.12"

- name: Install venv
run: ./tools/uv sync --extra tools --locked
run: ./tools/uv sync --extra dev --locked

- name: Ensure linter is happy
run: ./tools/ci lint
Expand All @@ -40,7 +40,7 @@ jobs:
python-version: "3.12"

- name: Install venv
run: ./tools/uv sync --extra tools --locked
run: ./tools/uv sync --extra dev --locked

- name: Ensure code is formatted
run: |
Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[tool.uv]
dev-dependencies = [
[project]
name = "photons"
version = "0"

[project.optional-dependencies]
dev = [
"tools",
"lifx-photons-core[web-server]",
"lifx-photons-arranger",
"lifx-photons-interactor",
Expand Down
2 changes: 1 addition & 1 deletion tools/requirements.uv.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
uv==0.5.11
uv==0.6.2
103 changes: 90 additions & 13 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68b1d13

Please sign in to comment.