diff --git a/.binder/postBuild b/.binder/postBuild index 0a5a2b2..00acf5d 100755 --- a/.binder/postBuild +++ b/.binder/postBuild @@ -4,6 +4,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh source $HOME/.cargo/env uv export \ --group jupyter \ + --no-dev \ > requirements.txt uv pip install \ --requirement requirements.txt \ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8eb6a1..6577534 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ on: jobs: doc: - uses: ComPWA/actions/.github/workflows/ci-docs.yml@v2 + uses: ComPWA/actions/.github/workflows/ci-docs.yml@v2.1 permissions: pages: write id-token: write @@ -36,7 +36,7 @@ jobs: gh-pages: true specific-pip-packages: ${{ inputs.specific-pip-packages }} pytest: - uses: ComPWA/actions/.github/workflows/pytest.yml@v2 + uses: ComPWA/actions/.github/workflows/pytest.yml@v2.1 with: coverage-target: pawian macos-python-version: "3.9" @@ -45,4 +45,4 @@ jobs: if: inputs.specific-pip-packages == '' secrets: token: ${{ secrets.PAT }} - uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2 + uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f22305..f8d5f95 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ repos: - --repo-name=pawian-tools - --repo-organization=RUB-EP1 - --repo-title=Pawian Tools + - --update-lock-files=outsource - id: remove-empty-tags - repo: https://github.com/kynan/nbstripout diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6c71942..399ab3d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ cd pawian-tools Now it's simply a matter of creating and activating the [virtual environment](https://docs.astral.sh/uv/pip/environments) with [`uv sync`](https://docs.astral.sh/uv/reference/cli/#uv-sync). The dependencies for the project are 'pinned' in each commit through the [`uv.lock` file](https://docs.astral.sh/uv/concepts/projects/#project-lockfile). ```shell -uv sync +uv sync --all-extras source .venv/bin/activate ```