Skip to content

Commit

Permalink
ci(setup-uv): remove default-enabled cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 21, 2024
1 parent 40f047c commit 166bf6d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- name: install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
version: "0.4.x"

- name: update apt-get
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ jobs:

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

- name: install additional deps
if: matrix.backend.key == 'snowpark'
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:

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

- uses: extractions/setup-just@v2
env:
Expand Down Expand Up @@ -488,8 +486,6 @@ jobs:

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

- name: install other deps
if: matrix.backend.additional_deps != null
Expand Down Expand Up @@ -605,8 +601,6 @@ jobs:

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

# it requires a version of pandas that pyspark is not compatible with
- name: remove lonboard
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ibis-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:

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

- name: install system dependencies
run: sudo apt-get install -qq -y build-essential libgeos-dev freetds-dev unixodbc-dev
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ibis-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:

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

- name: install ${{ matrix.os }} system dependencies
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -123,8 +121,6 @@ jobs:

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

- name: install system dependencies
run: |
Expand Down Expand Up @@ -158,8 +154,6 @@ jobs:

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

- uses: extractions/setup-just@v2
env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:

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

- 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"
2 changes: 1 addition & 1 deletion requirements-dev.txt

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

10 changes: 5 additions & 5 deletions uv.lock

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

0 comments on commit 166bf6d

Please sign in to comment.