Skip to content

Commit

Permalink
ci: update uv and ruff (#5581)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang authored Dec 2, 2024
1 parent fc66650 commit 8198261
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
python-version: 3.12
- uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: "pyproject.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
python-version: ${{ matrix.py }}
- uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
- run: uvx --with tox-uv tox run -e phoenix_evals -- -ra -x

phoenix-otel:
Expand All @@ -122,7 +122,7 @@ jobs:
python-version: ${{ matrix.py }}
- uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
- run: uvx --with tox-uv tox run -e phoenix_otel -- -ra -x

# clean-jupyter-notebooks:
Expand All @@ -144,7 +144,7 @@ jobs:
# - name: Set up `uv`
# uses: astral-sh/setup-uv@v3
# with:
# version: 0.4.25
# version: 0.5.5
# enable-cache: true
# cache-dependency-glob: |
# pyproject.toml
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand All @@ -258,7 +258,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
- name: Run `ruff`
run: uvx --with tox-uv tox run -e ruff
- run: git diff --exit-code
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:
- name: Set up `uv`
uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python-version: 3.9
- uses: astral-sh/setup-uv@v3
with:
version: 0.4.25
version: 0.5.5
enable-cache: true
cache-dependency-glob: |
pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ commands =
[testenv:ruff]
description = Run ruff for formatting and linting
commands_pre =
uv tool install ruff@0.7.3
uv tool install ruff@0.8.1
commands =
uv tool run ruff format
uv tool run ruff check --fix

0 comments on commit 8198261

Please sign in to comment.