diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d3621631a8..24fe4129a3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ on: defaults: run: - shell: bash -el {0} + shell: bash -l {0} env: PACKAGE: "panel" @@ -35,14 +35,14 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 conda_build: name: Build Conda needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" install: false @@ -90,7 +90,7 @@ jobs: needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" install: false @@ -143,7 +143,7 @@ jobs: needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" download-data: false @@ -198,7 +198,7 @@ jobs: needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" install: false diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 996758cd76..35094b7978 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -23,7 +23,7 @@ on: defaults: run: - shell: bash -el {0} + shell: bash -l {0} env: DISPLAY: ":99.0" @@ -33,7 +33,7 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 docs_build: name: Build Documentation @@ -43,7 +43,7 @@ jobs: outputs: tag: ${{ steps.vars.outputs.tag }} steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: docs opengl: true diff --git a/.github/workflows/jupyterlite.yaml b/.github/workflows/jupyterlite.yaml index 40523eec7d..a19026c0bd 100644 --- a/.github/workflows/jupyterlite.yaml +++ b/.github/workflows/jupyterlite.yaml @@ -26,14 +26,14 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 lite_build: name: Build Jupyterlite needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "lite" install: false diff --git a/.github/workflows/nightly_lock.yaml b/.github/workflows/nightly_lock.yaml index 564a5ca05e..e4be7855fb 100644 --- a/.github/workflows/nightly_lock.yaml +++ b/.github/workflows/nightly_lock.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 - name: Upload lock-file to S3 if: '!github.event.pull_request.head.repo.fork' env: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f330f061b0..933b31a04f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,7 +29,7 @@ concurrency: defaults: run: - shell: bash -el {0} + shell: bash -l {0} env: DISPLAY: ":99.0" @@ -125,7 +125,7 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 with: cache: ${{ github.event.inputs.cache == 'true' || github.event.inputs.cache == '' }} @@ -139,7 +139,7 @@ jobs: matrix: ${{ fromJson(needs.setup.outputs.matrix) }} timeout-minutes: 90 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: ${{ matrix.environment }} opengl: true @@ -193,19 +193,19 @@ jobs: OKTA_OAUTH_USER: ${{ secrets.OKTA_OAUTH_USER }} OKTA_OAUTH_PASSWORD: ${{ secrets.OKTA_OAUTH_PASSWORD }} steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: ${{ matrix.environment }} id: install - name: Build pyodide wheels run: pixi run -e test-ui "python ./scripts/build_pyodide_wheels.py" - name: Launch JupyterLab - shell: pixi run -e test-ui bash -el {0} + shell: pixi run -e test-ui bash -l {0} run: | jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix (jupyter lab --config panel/tests/ui/jupyter_server_test_config.py --port 8887 > /tmp/jupyterlab_server.log 2>&1) & - name: Build JupyterLite - shell: pixi run -e test-ui bash -el {0} + shell: pixi run -e test-ui bash -l {0} run: pixi run -e lite lite-build - name: Wait for JupyterLab uses: ifaxity/wait-on-action@v1.2.1 @@ -227,7 +227,7 @@ jobs: if-no-files-found: ignore - name: Stop JupyterLab if: always() - shell: pixi run -e test-ui bash -el {0} + shell: pixi run -e test-ui bash -l {0} run: | jupyter lab stop 8887 || true - uses: codecov/codecov-action@v4 @@ -246,7 +246,7 @@ jobs: environment: ["test-core"] timeout-minutes: 120 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: ${{ matrix.environment }} - name: Test Unit @@ -265,7 +265,7 @@ jobs: environment: ["test-type"] timeout-minutes: 120 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: ${{ matrix.environment }} - name: Test Type diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49e563408c..9ac0b97142 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: exclude: \.min\.js$ - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.4 + rev: v0.6.6 hooks: - id: ruff files: panel/ diff --git a/pixi.toml b/pixi.toml index 3a94e5fd60..71dd382c21 100644 --- a/pixi.toml +++ b/pixi.toml @@ -232,7 +232,7 @@ pre-commit = "*" [feature.lint.tasks] lint = 'pre-commit run --all-files' -lint-install = 'pre-commit install' +lint-install = 'pre-commit install -t=pre-commit' # ============================================= # =================== LITE ====================