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

chore(deps): update astral-sh/setup-uv action to v5 #10604

Merged
merged 3 commits into from
Dec 21, 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
3 changes: 1 addition & 2 deletions .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
cache-dependency-path: requirements-dev.txt

- name: install uv
uses: astral-sh/setup-uv@v4.2.0
uses: astral-sh/setup-uv@v5.0.1
with:
enable-cache: true
version: "0.4.x"

- name: update apt-get
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- name: install additional deps
if: matrix.backend.key == 'snowpark'
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- uses: extractions/setup-just@v2
env:
Expand Down Expand Up @@ -487,9 +485,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- name: install other deps
if: matrix.backend.additional_deps != null
Expand Down Expand Up @@ -604,9 +600,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

# it requires a version of pandas that pyspark is not compatible with
- name: remove lonboard
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ibis-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
python-version: "3.11"

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- name: install system dependencies
run: sudo apt-get install -qq -y build-essential libgeos-dev freetds-dev unixodbc-dev
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/ibis-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- name: install ${{ matrix.os }} system dependencies
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -122,9 +120,7 @@ jobs:
python-version: "3.13"

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- name: install system dependencies
run: |
Expand Down Expand Up @@ -157,9 +153,7 @@ jobs:
python-version: "3.10"

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- uses: extractions/setup-just@v2
env:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
python-version: "3.13"

- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
uses: astral-sh/[email protected]

- uses: extractions/setup-just@v2
env:
Expand Down
16 changes: 12 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ build-jupyterlite:
rm -rf dist/

ibis_dev_version="$(just bump-version)"
uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "$ibis_dev_version"
sed -i "s/__version__ = \".+\"/__version__ = \"$ibis_dev_version\"/" ibis/__init__.py
uv build --wheel

git checkout pyproject.toml ibis/__init__.py
Expand Down Expand Up @@ -303,6 +301,16 @@ docs-build-all:
chat *args:
zulip-term {{ args }}

# bump the version number to the next pre-release version
@bump-version:
# compute the next version number
@compute-version:
uv run --only-group dev python ci/release/bump_version.py

# bump the version number in necessary files
bump-version:
#!/usr/bin/env bash

ibis_dev_version="$(just compute-version)"
uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "$ibis_dev_version" > /dev/null
sed -i 's/__version__ = .\+/__version__ = "'$ibis_dev_version'"/g' ibis/__init__.py
just lock > /dev/null
echo "$ibis_dev_version"
10 changes: 5 additions & 5 deletions requirements-dev.txt

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

32 changes: 16 additions & 16 deletions uv.lock

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

Loading