Skip to content

Commit 72a87c0

Browse files
committed
Merge branch 'main' into lazy_import
2 parents bd407ad + cf9dc6b commit 72a87c0

File tree

351 files changed

+8430
-2232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+8430
-2232
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
defaults:
1515
run:
16-
shell: bash -el {0}
16+
shell: bash -e {0}
1717

1818
env:
1919
PACKAGE: "panel"
@@ -35,14 +35,14 @@ jobs:
3535
name: Pixi lock
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi
38+
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
3939

4040
conda_build:
4141
name: Build Conda
4242
needs: [pixi_lock]
4343
runs-on: "ubuntu-latest"
4444
steps:
45-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
45+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
4646
with:
4747
environments: "build"
4848
install: false
@@ -61,6 +61,9 @@ jobs:
6161
runs-on: ubuntu-latest
6262
needs: [conda_build, waiting_room]
6363
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
64+
defaults:
65+
run:
66+
shell: bash -el {0}
6467
steps:
6568
- uses: actions/download-artifact@v4
6669
with:
@@ -90,7 +93,7 @@ jobs:
9093
needs: [pixi_lock]
9194
runs-on: "ubuntu-latest"
9295
steps:
93-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
96+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
9497
with:
9598
environments: "build"
9699
install: false
@@ -143,7 +146,7 @@ jobs:
143146
needs: [pixi_lock]
144147
runs-on: "ubuntu-latest"
145148
steps:
146-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
149+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
147150
with:
148151
environments: "build"
149152
download-data: false
@@ -198,7 +201,7 @@ jobs:
198201
needs: [pixi_lock]
199202
runs-on: "ubuntu-latest"
200203
steps:
201-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
204+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
202205
with:
203206
environments: "build"
204207
install: false

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
defaults:
2525
run:
26-
shell: bash -el {0}
26+
shell: bash -e {0}
2727

2828
env:
2929
DISPLAY: ":99.0"
@@ -33,7 +33,7 @@ jobs:
3333
name: Pixi lock
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi
36+
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
3737

3838
docs_build:
3939
name: Build Documentation
@@ -43,7 +43,7 @@ jobs:
4343
outputs:
4444
tag: ${{ steps.vars.outputs.tag }}
4545
steps:
46-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
46+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
4747
with:
4848
environments: docs
4949
opengl: true

.github/workflows/gallery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
defaults:
2525
run:
26-
shell: bash -l {0}
26+
shell: bash -e {0}
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v3

.github/workflows/jupyterlite.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
name: Pixi lock
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi
29+
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
3030

3131
lite_build:
3232
name: Build Jupyterlite
3333
needs: [pixi_lock]
3434
runs-on: "ubuntu-latest"
3535
steps:
36-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
36+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
3737
with:
3838
environments: "lite"
3939
install: false

.github/workflows/nightly_lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515
steps:
16-
- uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi
16+
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
1717
- name: Upload lock-file to S3
1818
if: '!github.event.pull_request.head.repo.fork'
1919
env:

.github/workflows/test.yaml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929

3030
defaults:
3131
run:
32-
shell: bash -el {0}
32+
shell: bash -e {0}
3333

3434
env:
3535
DISPLAY: ":99.0"
@@ -125,7 +125,7 @@ jobs:
125125
name: Pixi lock
126126
runs-on: ubuntu-latest
127127
steps:
128-
- uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi
128+
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
129129
with:
130130
cache: ${{ github.event.inputs.cache == 'true' || github.event.inputs.cache == '' }}
131131

@@ -139,7 +139,7 @@ jobs:
139139
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
140140
timeout-minutes: 90
141141
steps:
142-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
142+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
143143
with:
144144
environments: ${{ matrix.environment }}
145145
opengl: true
@@ -193,19 +193,19 @@ jobs:
193193
OKTA_OAUTH_USER: ${{ secrets.OKTA_OAUTH_USER }}
194194
OKTA_OAUTH_PASSWORD: ${{ secrets.OKTA_OAUTH_PASSWORD }}
195195
steps:
196-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
196+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
197197
with:
198198
environments: ${{ matrix.environment }}
199199
id: install
200200
- name: Build pyodide wheels
201201
run: pixi run -e test-ui "python ./scripts/build_pyodide_wheels.py"
202202
- name: Launch JupyterLab
203-
shell: pixi run -e test-ui bash -el {0}
203+
shell: pixi run -e test-ui bash -e {0}
204204
run: |
205205
jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix
206206
(jupyter lab --config panel/tests/ui/jupyter_server_test_config.py --port 8887 > /tmp/jupyterlab_server.log 2>&1) &
207207
- name: Build JupyterLite
208-
shell: pixi run -e test-ui bash -el {0}
208+
shell: pixi run -e test-ui bash -e {0}
209209
run: pixi run -e lite lite-build
210210
- name: Wait for JupyterLab
211211
uses: ifaxity/[email protected]
@@ -227,7 +227,7 @@ jobs:
227227
if-no-files-found: ignore
228228
- name: Stop JupyterLab
229229
if: always()
230-
shell: pixi run -e test-ui bash -el {0}
230+
shell: pixi run -e test-ui bash -e {0}
231231
run: |
232232
jupyter lab stop 8887 || true
233233
- uses: codecov/codecov-action@v4
@@ -243,10 +243,10 @@ jobs:
243243
fail-fast: false
244244
matrix:
245245
os: ["ubuntu-latest"]
246-
environment: ["test-core"]
246+
environment: ["test-core", "test-minimum"]
247247
timeout-minutes: 120
248248
steps:
249-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
249+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
250250
with:
251251
environments: ${{ matrix.environment }}
252252
- name: Test Unit
@@ -265,9 +265,19 @@ jobs:
265265
environment: ["test-type"]
266266
timeout-minutes: 120
267267
steps:
268-
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
268+
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0
269269
with:
270270
environments: ${{ matrix.environment }}
271271
- name: Test Type
272272
run: |
273273
pixi run -e ${{ matrix.environment }} test-type || echo "Failed"
274+
275+
result_test_suite:
276+
name: result:test
277+
needs: [unit_test_suite, ui_test_suite, core_test_suite, type_test_suite]
278+
if: always()
279+
runs-on: ubuntu-latest
280+
steps:
281+
- name: check for failures
282+
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
283+
run: echo job failed && exit 1

.pre-commit-config.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# This is the configuration for pre-commit, a local framework for managing pre-commit hooks
2-
# Check out the docs at: https://pre-commit.com/
3-
4-
default_stages: [commit]
1+
default_stages: [pre-commit]
52
repos:
63
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.6.0
4+
rev: v5.0.0
85
hooks:
96
- id: check-builtin-literals
107
- id: check-case-conflict
@@ -17,7 +14,7 @@ repos:
1714
exclude: \.min\.js$
1815
- id: trailing-whitespace
1916
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.5.0
17+
rev: v0.7.0
2118
hooks:
2219
- id: ruff
2320
files: panel/
@@ -39,7 +36,7 @@ repos:
3936
additional_dependencies:
4037
- tomli
4138
- repo: https://github.com/hoxbro/prettier-pre-commit
42-
rev: v3.3.2
39+
rev: v3.3.3
4340
hooks:
4441
- id: prettier
4542
entry: prettier --write --ignore-unknown --no-error-on-unmatched-pattern
@@ -50,7 +47,7 @@ repos:
5047
- id: oxipng
5148
stages: [manual]
5249
- repo: https://github.com/pre-commit/mirrors-eslint
53-
rev: v9.6.0
50+
rev: v9.13.0
5451
hooks:
5552
- id: eslint
5653
args: ['-c', 'panel/.eslintrc.js', 'panel/*.ts', 'panel/models/**/*.ts', '--fix']

0 commit comments

Comments
 (0)