diff --git a/.binder/postBuild b/.binder/postBuild index 87299c9d..71195648 100755 --- a/.binder/postBuild +++ b/.binder/postBuild @@ -1,7 +1,12 @@ #!/bin/bash set -ex curl -LsSf https://astral.sh/uv/install.sh | sh -uv sync \ +source $HOME/.cargo/env +uv export \ --extra jupyter \ - --extra notebooks -source .venv/bin/activate + --extra notebooks \ + > requirements.txt +uv pip install \ + --requirement requirements.txt \ + --system +uv cache clean diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index ac2c035b..e6a5c10a 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -12,6 +12,7 @@ on: - epic/* paths: - .pre-commit-config.yaml + - uv.lock schedule: - cron: "0 3 7 */1 *" workflow_dispatch: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c6c1bbc..6819ba7f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/policy - rev: 0.5.0rc5 + rev: 0.5.0rc6 hooks: - id: check-dev-files args: