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

ci: update uv and ruff #5581

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
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
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
Loading