SHA256
1
0
forked from pool/python-panel

Compare commits

15 Commits

Author SHA256 Message Date
4b40037fcf Accepting request 1286931 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1286931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=32
2025-06-20 14:49:44 +00:00
e623d39d39 - Drop upstreamed patch manual-asyncio-loop.patch
- Update to 1.7.1 (CVE-2025-5889, bsc#1244347):
  ## Enhancements
  * Add option to disable FileDropper previews (#7944)
  * --index-titles help string typo fix and don't call title on user input (#7935)
  ## Bug fixes
  * Migrate to correct logger interface (#7931)
  * Column updates not working for Bokeh<3.7 (#7948)
1.7.0:
  ## Features
  * Add a secondary (right) sidebar to the FastListTemplate (#7774)
  * Add Date(Time)Picker.allowInput option (#7886)
  * Add Markdown.disable_anchors option (#7902)
  * Add config.cache_path variable to configure default location for diskcache (#7903)
  * Support custom cookie path (#7911)
  * Allow customizing index page titles with --index-titles CLI option (#7916)
  * Add Image.target option to configure where to open link_url (#7924)
  ## Enhancements
  * Display parameter name in error messages (#7879)
  * Improve Material design styling (#7891, #7917)
  * Improve logic for computing Tabulator page size automatically (#7915)
  ## Versions and Compatibility
  * Bump Ace CodeEditor version 1.40.1 and add themes (#7874)
  * Bump pyodide version to 0.27.5 (#7905)
  * Bump ECharts version to 5.6.0 (#7905)
  * Bump JSONEditor version to 10.2.0 (#7905)
  * Bump Perspective version to 3.6.1 (#7919)
  ## Bug fixes
  * Deduplicate components before compiling (#7887)
  * Avoid boomeranging of events after hold is applied (#7892)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=68
2025-06-19 11:36:12 +00:00
59ce4d38bf Accepting request 1237377 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1237377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=31
2025-01-13 16:53:03 +00:00
6ddb599bb0 - Update to 1.5.5:
## Enhancements
  * Add ability to scroll_to a particular object on Column (#7206)
  * Add pointer when hovering on Markdown copy button (#7490)
  * Allow streaming to ChatStep (#7520)
  * Improve ChatMessage repr (#7521)
  * Add ChatInterface button tooltips (#7552)
  ## Bug fixes
  * Ensure Notifications are cleaned up correctly (#4964)
  * Ensure FileDownload label text updates correctly (#7489)
  * Fix Tabulator aggregation behavior (#7450)
  * Fix typing for .servable method (#7530)
  * Ensure NestedSelect respects disabled parameter (#7533)
  * Ensure errors in hooks aren't masked by fallback to different signature (#7502)
  * Ensure Notifications are only shown once if scheduled onload (#7504)
  ## Documentation
  * Improve hold how-to guide (#7487, #7500)
  ## Maintenance
  * Enable strict type checking (#7497)
  * Ensure node_modules aren't bundled into package (#7526)
  * Internal cleanup of compatibility code for older param versions (#7527)
  ## Compatibility
  * Compatibility for websockets 14 when running on FastAPI server (#7491)
  * Compatibility with Textual 0.86 (#7501)
  * Compatibility with Altair 5.5.0 (#7523)
  * Bump Vizzu version to 0.15 (#7485)
- Add manual-asyncio-loop.patch to fix tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=66
2025-01-13 10:25:20 +00:00
fef462c320 Accepting request 1227121 from devel:languages:python:numeric
- Disable server async tests. It's just too flaky on obs
- Update to 1.5.4
  * This release primarily focuses on improving the ESM components
    including fixes for serialization of parameter values,
    improvements for compiling bundles, and building custom
    layouts. Additionally this release includes the new
    DatetimeSlider, adds a copy button to codeblocks in Markdown
    panes, improves responsive sizing for Plotly and starts adding
    better support for Polars.
  ## Enhancements
  * Add DatetimeSlider widget (#7374)
  * Improve Jupyter preview error handling (#7434)
  * Add copy button to Markdown codeblocks (#7451)
  * Various improvements for writing ESM components (#7462)
  * Log authorization callback errors (#7463)
  * Support polars in pn.cache (#7472)
  * Improve and document hold utility (#7474)
  * Improve how panel compile collects bundles (#7477)
  ## Bug fixes
  * Fix issues detecting changed property values during
    serialization (#7432)
  * Ensure ESM compilation correctly detects file extension (#7446)
  * Ensure parameter overrides are applied to ESM components
    (#7452)
  * Ensure component Children parameter correctly resolves when
    multiple types are defined (#7454)
  * Fix issues using Jupyter Preview with notifications enabled
    (#7466)
  * Ensure HTML/Markdown streaming does not freeze during rapid
    updates (#7480)
  * Ensure Plotly sizes correctly on initial render (#7483)
- Version 1.5.3
  * This release fixes a number of smaller regressions related to
    Tabulator row_content, ensures --dev/--autoreload picks up on
    external modules correctly and resolves OAuth guest endpoints
    correctly. Additionally it introduces some enhancements and bug
    fixes for custom components, such as adding support for loading
    custom components ESM Javascript bundles from the inbuilt
    endpoint ensuring that the bundle can be cached by the browser. 
  ## Enhancements
  * Sync dark mode on browser_info object (#7382)
  * Allow loading custom component ESM bundles from URL (#7410,
    #7412)
  ## Bug fixes
  * Address issues with Tabulator embed_content and optimize row
    expansion (#7364)
  * Prevent pipeline network plot from linking with other plots
    (#7372)
  * Various fixes for custom component compilation (#7381)
  * Fix OAuth guest endpoint (#7385)
  * Fix ReactiveESM._importmap typing (#7392)
  * Ensure that autoreload records modules to watch before startup
    (#7399)
  * Prevent Tabulator from overlapping when max_height is set
    (#7403)
  * Do not mutate layout Children inplace (#7417)
  * Set Tabulator null formatter to empty string (#7421)
  * Ensure Tabulator table content does not overflow (#7425)
  ## Compatibility
  * Upgraded Tabulator version to 6.3 (#7419)
- Version 1.5.2
  * This release is a small patch release primarily addressing a
    regression handling selections on multi-indexed data on the
    Tabulator widget along with a number of documentation
    improvements.
  ## Bug fixes
  * Fix regression handling selection on multi-indexed Tabulator
    data (#7336)
  * Fix Fast template theme toggle color (#7341)
- Version 1.5.1
  * This release primarily focuses on a number of tweaks and
    enhancements for the documentation and also resolves a number
    of bugs related to Tabulator rendering and the new FastAPI
    integration.
  ## Enhancements
  * Add mapboxgl CSS to Plotly (#7320)
  * Tweak margins of icons in ChatMessage (#7310)
  ## Bug fixes
  * Fix langchain import in panel.chat.langchain (#7297)
  * Ensure Tabulator is consistently redrawn after render and
    resize (#7305)
  * Filter out empty plotly_selected events (#7312)
  * Improve parameter validation on Timepicker (#7308)
  * Ensure Tabulator.selection consistency when pagination='local'
    (#7304)
  * Correctly handle ipv6 localhost URI in Location (#7316)
  * Ensure resource URLs are handled correctly in all server
    implementations (#7318)
  * Ensure Plotly datetime are correctly converted from timestamp
    to date string (#7319)
  ## Regressions
  * Only postpone --setup script until after server startup if
    --num-procs is greater than 1 (#7289)
  ## Compatibility
  * Support for Bokeh 3.6.x releases (#7322)
- Replace exclude-package-lock.patch with opensuse-js-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/1227121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=30
2024-11-28 21:43:10 +00:00
9bab13c47a - Disable server async tests. It's just too flaky on obs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=64
2024-11-28 12:19:00 +00:00
28d24e7d34 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=63 2024-11-28 11:15:32 +00:00
f7f90f417b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=62 2024-11-28 11:06:18 +00:00
db6d3628db OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=61 2024-11-28 10:48:30 +00:00
9e0f26c976 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=60 2024-11-28 10:47:49 +00:00
bb7ee67cce - Update to 1.5.4
* This release primarily focuses on improving the ESM components
    including fixes for serialization of parameter values,
    improvements for compiling bundles, and building custom
    layouts. Additionally this release includes the new
    DatetimeSlider, adds a copy button to codeblocks in Markdown
    panes, improves responsive sizing for Plotly and starts adding
    better support for Polars.
  ## Enhancements
  * Add DatetimeSlider widget (#7374)
  * Improve Jupyter preview error handling (#7434)
  * Add copy button to Markdown codeblocks (#7451)
  * Various improvements for writing ESM components (#7462)
  * Log authorization callback errors (#7463)
  * Support polars in pn.cache (#7472)
  * Improve and document hold utility (#7474)
  * Improve how panel compile collects bundles (#7477)
  ## Bug fixes
  * Fix issues detecting changed property values during
    serialization (#7432)
  * Ensure ESM compilation correctly detects file extension (#7446)
  * Ensure parameter overrides are applied to ESM components
    (#7452)
  * Ensure component Children parameter correctly resolves when
    multiple types are defined (#7454)
  * Fix issues using Jupyter Preview with notifications enabled
    (#7466)
  * Ensure HTML/Markdown streaming does not freeze during rapid
    updates (#7480)
  * Ensure Plotly sizes correctly on initial render (#7483)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=59
2024-11-27 20:58:38 +00:00
33e507be55 Accepting request 1205542 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1205542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=29
2024-10-04 15:10:17 +00:00
d4b9c331d7 - Add exclude-package-lock.patch
* Do not install package-lock.json
  * Avoids non-reproducible local registry port
  * boo#1231254 gh#openSUSE/obs-service-node_modules#41

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=57
2024-10-03 14:25:11 +00:00
0bc0e62d66 Accepting request 1203876 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1203876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=28
2024-09-26 16:54:23 +00:00
7e1f222e6e - Update to 1.5.0
* This release, while technically a minor release hugely expands
    the scope of what is possible in Panel. In particular the
    introduction of the new panel.custom module makes it trivially
    easy to create new JS and React based components using modern
    tooling, a first-class developer experience and support for
    compilation and bundling. We are incredibly excited to see
    which new components you build using this approach. This
    release also includes native integration with FastAPI, such
    that you can now run Panel apps natively on an existing FastAPI
    server. We also introduce a number of new components, improved
    the developer experience, and squashed a huge number of bugs,
    particularly for the Tabulator component.
  ## Features
  * Allow building custom ESM based JSComponent and ReactComponent
    (#5593)
  * Add Placeholder pane (#6790)
  * Add FileDropper widget (#6826)
  * Add ChatStep component to show/hide intermediate steps (#6617)
  * Add TimePicker widget (#7013)
  * Add PyComponent baseclass (#7051)
  * Add native support for running Panel on FastAPI server (#7205)
  ## Enhancements
  * Allow callbacks after append and stream (#6805)
  * Enable directory uploads with FileInput (#6808)
  * Make autoreload robust to syntax errors and empty apps (#7028)
  * Add support for automatically determining optimal
    Tabulator.page_size (#6978)
  * Various typing improvements (#7081, #7092, #7094, #7132)
  * Display value for player (#7060)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=55
2024-09-26 12:08:34 +00:00
10 changed files with 3755 additions and 57 deletions

7
_service Normal file
View File

@@ -0,0 +1,7 @@
<services>
<service name="node_modules" mode="manual">
<param name="cpio">node_modules.obscpio</param>
<param name="output">node_modules.spec.inc</param>
<param name="source-offset">10000</param>
</service>
</services>

3
node_modules.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a24ae74979218f2a0c4ce64dcf8aa59e014412e697eb4b3364ebd58a2b9c3cb2
size 29198512

233
node_modules.spec.inc Normal file
View File

@@ -0,0 +1,233 @@
Source10000: https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz#/@babel-runtime-7.27.6.tgz
Source10001: https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.7.3.tgz#/@bokeh-bokehjs-3.7.3.tgz
Source10002: https://registry.npmjs.org/@bokeh/numbro/-/numbro-1.6.2.tgz#/@bokeh-numbro-1.6.2.tgz
Source10003: https://registry.npmjs.org/@bokeh/slickgrid/-/slickgrid-2.4.4103.tgz#/@bokeh-slickgrid-2.4.4103.tgz
Source10004: https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz#/@eslint-community-eslint-utils-4.7.0.tgz
Source10005: https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#/@eslint-community-regexpp-4.12.1.tgz
Source10006: https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#/@eslint-eslintrc-2.1.4.tgz
Source10007: https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz#/@eslint-js-8.57.1.tgz
Source10008: https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#/@humanwhocodes-config-array-0.13.0.tgz
Source10009: https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#/@humanwhocodes-module-importer-1.0.1.tgz
Source10010: https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#/@humanwhocodes-object-schema-2.0.3.tgz
Source10011: https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz#/@isaacs-cliui-8.0.2.tgz
Source10012: https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz#/@jridgewell-gen-mapping-0.3.8.tgz
Source10013: https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#/@jridgewell-resolve-uri-3.1.2.tgz
Source10014: https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz#/@jridgewell-set-array-1.2.1.tgz
Source10015: https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#/@jridgewell-sourcemap-codec-1.5.0.tgz
Source10016: https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#/@jridgewell-trace-mapping-0.3.25.tgz
Source10017: https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#/@nodelib-fs.scandir-2.1.5.tgz
Source10018: https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#/@nodelib-fs.stat-2.0.5.tgz
Source10019: https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#/@nodelib-fs.walk-1.2.8.tgz
Source10020: https://registry.npmjs.org/@petamoriken/float16/-/float16-3.9.2.tgz#/@petamoriken-float16-3.9.2.tgz
Source10021: https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#/@pkgjs-parseargs-0.11.0.tgz
Source10022: https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-1.8.1.tgz#/@stylistic-eslint-plugin-1.8.1.tgz
Source10023: https://registry.npmjs.org/@stylistic/eslint-plugin-js/-/eslint-plugin-js-1.8.1.tgz#/@stylistic-eslint-plugin-js-1.8.1.tgz
Source10024: https://registry.npmjs.org/@stylistic/eslint-plugin-jsx/-/eslint-plugin-jsx-1.8.1.tgz#/@stylistic-eslint-plugin-jsx-1.8.1.tgz
Source10025: https://registry.npmjs.org/@stylistic/eslint-plugin-plus/-/eslint-plugin-plus-1.8.1.tgz#/@stylistic-eslint-plugin-plus-1.8.1.tgz
Source10026: https://registry.npmjs.org/@stylistic/eslint-plugin-ts/-/eslint-plugin-ts-1.8.1.tgz#/@stylistic-eslint-plugin-ts-1.8.1.tgz
Source10027: https://registry.npmjs.org/@types/debounce/-/debounce-1.2.4.tgz#/@types-debounce-1.2.4.tgz
Source10028: https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz#/@types-eslint-8.56.12.tgz
Source10029: https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz#/@types-estree-1.0.8.tgz
Source10030: https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz#/@types-geojson-7946.0.16.tgz
Source10031: https://registry.npmjs.org/@types/gl-matrix/-/gl-matrix-2.4.5.tgz#/@types-gl-matrix-2.4.5.tgz
Source10032: https://registry.npmjs.org/@types/google.maps/-/google.maps-3.58.1.tgz#/@types-google.maps-3.58.1.tgz
Source10033: https://registry.npmjs.org/@types/jquery/-/jquery-3.5.32.tgz#/@types-jquery-3.5.32.tgz
Source10034: https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz#/@types-json-schema-7.0.15.tgz
Source10035: https://registry.npmjs.org/@types/proj4/-/proj4-2.5.6.tgz#/@types-proj4-2.5.6.tgz
Source10036: https://registry.npmjs.org/@types/semver/-/semver-7.7.0.tgz#/@types-semver-7.7.0.tgz
Source10037: https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.9.tgz#/@types-sizzle-2.3.9.tgz
Source10038: https://registry.npmjs.org/@types/slickgrid/-/slickgrid-2.1.40.tgz#/@types-slickgrid-2.1.40.tgz
Source10039: https://registry.npmjs.org/@types/sprintf-js/-/sprintf-js-1.1.4.tgz#/@types-sprintf-js-1.1.4.tgz
Source10040: https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz#/@typescript-eslint-eslint-plugin-7.18.0.tgz
Source10041: https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz#/@typescript-eslint-parser-7.18.0.tgz
Source10042: https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#/@typescript-eslint-scope-manager-6.21.0.tgz
Source10043: https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz#/@typescript-eslint-scope-manager-7.18.0.tgz
Source10044: https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz#/@typescript-eslint-type-utils-7.18.0.tgz
Source10045: https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz#/@typescript-eslint-types-6.21.0.tgz
Source10046: https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz#/@typescript-eslint-types-7.18.0.tgz
Source10047: https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#/@typescript-eslint-typescript-estree-6.21.0.tgz
Source10048: https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz#/@typescript-eslint-typescript-estree-7.18.0.tgz
Source10049: https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz#/@typescript-eslint-utils-6.21.0.tgz
Source10050: https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz#/@typescript-eslint-utils-7.18.0.tgz
Source10051: https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#/@typescript-eslint-visitor-keys-6.21.0.tgz
Source10052: https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz#/@typescript-eslint-visitor-keys-7.18.0.tgz
Source10053: https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#/@ungap-structured-clone-1.3.0.tgz
Source10054: https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.8.tgz#/@xmldom-xmldom-0.9.8.tgz
Source10055: https://registry.npmjs.org/ace-code/-/ace-code-1.42.0.tgz#/ace-code-1.42.0.tgz
Source10056: https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz#/acorn-8.15.0.tgz
Source10057: https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz#/acorn-jsx-5.3.2.tgz
Source10058: https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#/ajv-6.12.6.tgz
Source10059: https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#/ansi-regex-5.0.1.tgz
Source10060: https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz#/ansi-regex-6.1.0.tgz
Source10061: https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#/ansi-styles-4.3.0.tgz
Source10062: https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz#/ansi-styles-6.2.1.tgz
Source10063: https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#/any-promise-1.3.0.tgz
Source10064: https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#/argparse-2.0.1.tgz
Source10065: https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#/array-union-2.1.0.tgz
Source10066: https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#/balanced-match-1.0.2.tgz
Source10067: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz#/brace-expansion-1.1.12.tgz
Source10068: https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz#/brace-expansion-2.0.2.tgz
Source10069: https://registry.npmjs.org/braces/-/braces-3.0.3.tgz#/braces-3.0.3.tgz
Source10070: https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#/callsites-3.1.0.tgz
Source10071: https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz#/chalk-4.1.2.tgz
Source10072: https://registry.npmjs.org/choices.js/-/choices.js-10.2.0.tgz#/choices.js-10.2.0.tgz
Source10073: https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz#/color-convert-2.0.1.tgz
Source10074: https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#/color-name-1.1.4.tgz
Source10075: https://registry.npmjs.org/commander/-/commander-13.1.0.tgz#/commander-13.1.0.tgz
Source10076: https://registry.npmjs.org/commander/-/commander-4.1.1.tgz#/commander-4.1.1.tgz
Source10077: https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#/concat-map-0.0.1.tgz
Source10078: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz#/cross-spawn-7.0.6.tgz
Source10079: https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz#/debounce-1.2.1.tgz
Source10080: https://registry.npmjs.org/debug/-/debug-4.4.1.tgz#/debug-4.4.1.tgz
Source10081: https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#/deep-is-0.1.4.tgz
Source10082: https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz#/deepmerge-4.3.1.tgz
Source10083: https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz#/dir-glob-3.0.1.tgz
Source10084: https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#/doctrine-3.0.0.tgz
Source10085: https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz#/eastasianwidth-0.2.0.tgz
Source10086: https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#/emoji-regex-8.0.0.tgz
Source10087: https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#/emoji-regex-9.2.2.tgz
Source10088: https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#/escape-string-regexp-4.0.0.tgz
Source10089: https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz#/eslint-8.57.1.tgz
Source10090: https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz#/eslint-scope-7.2.2.tgz
Source10091: https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#/eslint-visitor-keys-3.4.3.tgz
Source10092: https://registry.npmjs.org/esm/-/esm-3.2.25.tgz#/esm-3.2.25.tgz
Source10093: https://registry.npmjs.org/espree/-/espree-9.6.1.tgz#/espree-9.6.1.tgz
Source10094: https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz#/esquery-1.6.0.tgz
Source10095: https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz#/esrecurse-4.3.0.tgz
Source10096: https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz#/estraverse-5.3.0.tgz
Source10097: https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#/esutils-2.0.3.tgz
Source10098: https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#/fast-deep-equal-3.1.3.tgz
Source10099: https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz#/fast-glob-3.3.3.tgz
Source10100: https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#/fast-json-stable-stringify-2.1.0.tgz
Source10101: https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#/fast-levenshtein-2.0.6.tgz
Source10102: https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz#/fastq-1.19.1.tgz
Source10103: https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz#/file-entry-cache-6.0.1.tgz
Source10104: https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz#/fill-range-7.1.1.tgz
Source10105: https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz#/find-up-5.0.0.tgz
Source10106: https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz#/flat-cache-3.2.0.tgz
Source10107: https://registry.npmjs.org/flatbush/-/flatbush-4.4.0.tgz#/flatbush-4.4.0.tgz
Source10108: https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz#/flatpickr-4.6.13.tgz
Source10109: https://registry.npmjs.org/flatqueue/-/flatqueue-2.0.3.tgz#/flatqueue-2.0.3.tgz
Source10110: https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz#/flatted-3.3.3.tgz
Source10111: https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz#/foreground-child-3.3.1.tgz
Source10112: https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#/fs.realpath-1.0.0.tgz
Source10113: https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz#/fuse.js-6.6.2.tgz
Source10114: https://registry.npmjs.org/geotiff/-/geotiff-2.1.3.tgz#/geotiff-2.1.3.tgz
Source10115: https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz#/gl-matrix-3.4.3.tgz
Source10116: https://registry.npmjs.org/glob/-/glob-10.4.5.tgz#/glob-10.4.5.tgz
Source10117: https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#/glob-7.2.3.tgz
Source10118: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#/glob-parent-5.1.2.tgz
Source10119: https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz#/glob-parent-6.0.2.tgz
Source10120: https://registry.npmjs.org/globals/-/globals-13.24.0.tgz#/globals-13.24.0.tgz
Source10121: https://registry.npmjs.org/globby/-/globby-11.1.0.tgz#/globby-11.1.0.tgz
Source10122: https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz#/graphemer-1.4.0.tgz
Source10123: https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#/has-flag-4.0.0.tgz
Source10124: https://registry.npmjs.org/htm/-/htm-3.1.1.tgz#/htm-3.1.1.tgz
Source10125: https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz#/ignore-5.3.2.tgz
Source10126: https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz#/import-fresh-3.3.1.tgz
Source10127: https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#/imurmurhash-0.1.4.tgz
Source10128: https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#/inflight-1.0.6.tgz
Source10129: https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#/inherits-2.0.4.tgz
Source10130: https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#/is-extglob-2.1.1.tgz
Source10131: https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#/is-fullwidth-code-point-3.0.0.tgz
Source10132: https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz#/is-glob-4.0.3.tgz
Source10133: https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#/is-number-7.0.0.tgz
Source10134: https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz#/is-path-inside-3.0.3.tgz
Source10135: https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#/isexe-2.0.0.tgz
Source10136: https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz#/jackspeak-3.4.3.tgz
Source10137: https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz#/jquery-3.7.1.tgz
Source10138: https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.14.1.tgz#/jquery-ui-1.14.1.tgz
Source10139: https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz#/js-yaml-4.1.0.tgz
Source10140: https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz#/json-buffer-3.0.1.tgz
Source10141: https://registry.npmjs.org/json-formatter-js/-/json-formatter-js-2.5.23.tgz#/json-formatter-js-2.5.23.tgz
Source10142: https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#/json-schema-traverse-0.4.1.tgz
Source10143: https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#/json-stable-stringify-without-jsonify-1.0.1.tgz
Source10144: https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz#/keyv-4.5.4.tgz
Source10145: https://registry.npmjs.org/lerc/-/lerc-3.0.0.tgz#/lerc-3.0.0.tgz
Source10146: https://registry.npmjs.org/levn/-/levn-0.4.1.tgz#/levn-0.4.1.tgz
Source10147: https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#/lines-and-columns-1.2.4.tgz
Source10148: https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz#/locate-path-6.0.0.tgz
Source10149: https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#/lodash.merge-4.6.2.tgz
Source10150: https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz#/lru-cache-10.4.3.tgz
Source10151: https://registry.npmjs.org/mathjax-full/-/mathjax-full-3.2.2.tgz#/mathjax-full-3.2.2.tgz
Source10152: https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz#/merge2-1.4.1.tgz
Source10153: https://registry.npmjs.org/mgrs/-/mgrs-1.0.0.tgz#/mgrs-1.0.0.tgz
Source10154: https://registry.npmjs.org/mhchemparser/-/mhchemparser-4.2.1.tgz#/mhchemparser-4.2.1.tgz
Source10155: https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz#/micromatch-4.0.8.tgz
Source10156: https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#/minimatch-3.1.2.tgz
Source10157: https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz#/minimatch-9.0.3.tgz
Source10158: https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz#/minimatch-9.0.5.tgz
Source10159: https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz#/minipass-7.1.2.tgz
Source10160: https://registry.npmjs.org/mj-context-menu/-/mj-context-menu-0.6.1.tgz#/mj-context-menu-0.6.1.tgz
Source10161: https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#/ms-2.1.3.tgz
Source10162: https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#/mz-2.7.0.tgz
Source10163: https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#/natural-compare-1.4.0.tgz
Source10164: https://registry.npmjs.org/nouislider/-/nouislider-15.8.1.tgz#/nouislider-15.8.1.tgz
Source10165: https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#/object-assign-4.1.1.tgz
Source10166: https://registry.npmjs.org/once/-/once-1.4.0.tgz#/once-1.4.0.tgz
Source10167: https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz#/optionator-0.9.4.tgz
Source10168: https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz#/p-limit-3.1.0.tgz
Source10169: https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz#/p-locate-5.0.0.tgz
Source10170: https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#/package-json-from-dist-1.0.1.tgz
Source10171: https://registry.npmjs.org/pako/-/pako-2.1.0.tgz#/pako-2.1.0.tgz
Source10172: https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#/parent-module-1.0.1.tgz
Source10173: https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.6.tgz#/parse-headers-2.0.6.tgz
Source10174: https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#/path-exists-4.0.0.tgz
Source10175: https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#/path-is-absolute-1.0.1.tgz
Source10176: https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#/path-key-3.1.1.tgz
Source10177: https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz#/path-scurry-1.11.1.tgz
Source10178: https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#/path-type-4.0.0.tgz
Source10179: https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#/picomatch-2.3.1.tgz
Source10180: https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz#/picomatch-4.0.2.tgz
Source10181: https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz#/pirates-4.0.7.tgz
Source10182: https://registry.npmjs.org/preact/-/preact-10.26.9.tgz#/preact-10.26.9.tgz
Source10183: https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#/prelude-ls-1.2.1.tgz
Source10184: https://registry.npmjs.org/proj4/-/proj4-2.19.2.tgz#/proj4-2.19.2.tgz
Source10185: https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#/punycode-2.3.1.tgz
Source10186: https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#/queue-microtask-1.2.3.tgz
Source10187: https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.2.tgz#/quick-lru-6.1.2.tgz
Source10188: https://registry.npmjs.org/redux/-/redux-4.2.1.tgz#/redux-4.2.1.tgz
Source10189: https://registry.npmjs.org/regl/-/regl-2.1.1.tgz#/regl-2.1.1.tgz
Source10190: https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#/resolve-from-4.0.0.tgz
Source10191: https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz#/reusify-1.1.0.tgz
Source10192: https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#/rimraf-3.0.2.tgz
Source10193: https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz#/run-parallel-1.2.0.tgz
Source10194: https://registry.npmjs.org/semver/-/semver-7.7.2.tgz#/semver-7.7.2.tgz
Source10195: https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#/shebang-command-2.0.0.tgz
Source10196: https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#/shebang-regex-3.0.0.tgz
Source10197: https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz#/signal-exit-4.1.0.tgz
Source10198: https://registry.npmjs.org/slash/-/slash-3.0.0.tgz#/slash-3.0.0.tgz
Source10199: https://registry.npmjs.org/speech-rule-engine/-/speech-rule-engine-4.1.2.tgz#/speech-rule-engine-4.1.2.tgz
Source10200: https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz#/sprintf-js-1.1.3.tgz
Source10201: https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#/string-width-4.2.3.tgz
Source10202: https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz#/string-width-5.1.2.tgz
Source10203: https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#/strip-ansi-6.0.1.tgz
Source10204: https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#/strip-ansi-7.1.0.tgz
Source10205: https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz#/strip-json-comments-3.1.1.tgz
Source10206: https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz#/sucrase-3.35.0.tgz
Source10207: https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#/supports-color-7.2.0.tgz
Source10208: https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#/text-table-0.2.0.tgz
Source10209: https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz#/thenify-3.3.1.tgz
Source10210: https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz#/thenify-all-1.6.0.tgz
Source10211: https://registry.npmjs.org/timezone/-/timezone-1.0.23.tgz#/timezone-1.0.23.tgz
Source10212: https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz#/to-regex-range-5.0.1.tgz
Source10213: https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz#/ts-api-utils-1.4.3.tgz
Source10214: https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#/ts-interface-checker-0.1.13.tgz
Source10215: https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#/tslib-1.14.1.tgz
Source10216: https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz#/tslib-2.8.1.tgz
Source10217: https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz#/type-check-0.4.0.tgz
Source10218: https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#/type-fest-0.20.2.tgz
Source10219: https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz#/typescript-5.8.3.tgz
Source10220: https://registry.npmjs.org/underscore.template/-/underscore.template-0.1.7.tgz#/underscore.template-0.1.7.tgz
Source10221: https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#/uri-js-4.4.1.tgz
Source10222: https://registry.npmjs.org/web-worker/-/web-worker-1.5.0.tgz#/web-worker-1.5.0.tgz
Source10223: https://registry.npmjs.org/which/-/which-2.0.2.tgz#/which-2.0.2.tgz
Source10224: https://registry.npmjs.org/wicked-good-xpath/-/wicked-good-xpath-1.3.0.tgz#/wicked-good-xpath-1.3.0.tgz
Source10225: https://registry.npmjs.org/wkt-parser/-/wkt-parser-1.5.2.tgz#/wkt-parser-1.5.2.tgz
Source10226: https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz#/word-wrap-1.2.5.tgz
Source10227: https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#/wrap-ansi-7.0.0.tgz
Source10228: https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#/wrap-ansi-8.1.0.tgz
Source10229: https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#/wrappy-1.0.2.tgz
Source10230: https://registry.npmjs.org/xml-utils/-/xml-utils-1.10.2.tgz#/xml-utils-1.10.2.tgz
Source10231: https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#/yocto-queue-0.1.0.tgz
Source10232: https://registry.npmjs.org/zstddec/-/zstddec-0.1.0.tgz#/zstddec-0.1.0.tgz

40
opensuse-js-fixes.patch Normal file
View File

@@ -0,0 +1,40 @@
- Do not install package-lock.json into the wheel
* boo#1231254 gh#openSUSE/obs-service-node_modules#41
- Require typescript for compilation
- Fix test artifact destination
Index: panel-1.7.1/pyproject.toml
===================================================================
--- panel-1.7.1.orig/pyproject.toml
+++ panel-1.7.1/pyproject.toml
@@ -111,7 +111,7 @@ raw-options = { version_scheme = "no-gue
[tool.hatch.build.targets.wheel]
include = ["panel"]
-exclude = ["panel/node_modules"]
+exclude = ["panel/node_modules", "panel/package-lock.json"]
[tool.hatch.build.targets.wheel.force-include]
"panel/dist" = "panel/dist"
Index: panel-1.7.1/panel/tests/command/test_compile.py
===================================================================
--- panel-1.7.1.orig/panel/tests/command/test_compile.py
+++ panel-1.7.1/panel/tests/command/test_compile.py
@@ -21,7 +21,7 @@ class JSTestComponentWithShared(JSCompon
def test_compile_component(py_file):
cmd = [sys.executable, "-m", "panel", "compile", "panel.tests.command.test_compile:JSTestComponent", "--unminified"]
- p = subprocess.Popen(cmd, shell=False, cwd=CWD)
+ p = subprocess.Popen(cmd, shell=False)
p.wait()
bundle = CWD / "JSTestComponent.bundle.js"
@@ -35,7 +35,7 @@ def test_compile_component(py_file):
def test_compile_component_with_shared_file(py_file):
cmd = [sys.executable, "-m", "panel", "compile", "panel.tests.command.test_compile:JSTestComponentWithShared", "--unminified"]
- p = subprocess.Popen(cmd, shell=False, cwd=CWD)
+ p = subprocess.Popen(cmd, shell=False)
p.wait()
bundle = CWD / "JSTestComponentWithShared.bundle.js"

2997
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ad2084e65d4f0fc424432a963c9a4d668d8315203b338830b40c112ead3ebb7
size 38182034

3
panel-1.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eadc6a10b6cd3a474a4dceeb3f4258265bbd55f5e8a8b94dfca8efa0c461641d
size 31513100

View File

@@ -1,2 +1,2 @@
# Required for version info checked by other packages # These must be empty, otherwise npm fails
addFilter(".*hidden-file-or-dir.*/site-packages/panel/.version") addFilter("zero-length .*css")

View File

@@ -1,3 +1,412 @@
-------------------------------------------------------------------
Thu Jun 19 10:13:14 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Drop upstreamed patch manual-asyncio-loop.patch
- Update to 1.7.1 (CVE-2025-5889, bsc#1244347):
## Enhancements
* Add option to disable FileDropper previews (#7944)
* --index-titles help string typo fix and don't call title on user input (#7935)
## Bug fixes
* Migrate to correct logger interface (#7931)
* Column updates not working for Bokeh<3.7 (#7948)
1.7.0:
## Features
* Add a secondary (right) sidebar to the FastListTemplate (#7774)
* Add Date(Time)Picker.allowInput option (#7886)
* Add Markdown.disable_anchors option (#7902)
* Add config.cache_path variable to configure default location for diskcache (#7903)
* Support custom cookie path (#7911)
* Allow customizing index page titles with --index-titles CLI option (#7916)
* Add Image.target option to configure where to open link_url (#7924)
## Enhancements
* Display parameter name in error messages (#7879)
* Improve Material design styling (#7891, #7917)
* Improve logic for computing Tabulator page size automatically (#7915)
## Versions and Compatibility
* Bump Ace CodeEditor version 1.40.1 and add themes (#7874)
* Bump pyodide version to 0.27.5 (#7905)
* Bump ECharts version to 5.6.0 (#7905)
* Bump JSONEditor version to 10.2.0 (#7905)
* Bump Perspective version to 3.6.1 (#7919)
## Bug fixes
* Deduplicate components before compiling (#7887)
* Avoid boomeranging of events after hold is applied (#7892)
* Handle .ico image base64 mime-type correctly (#7894)
* Ensure FileDropper height is not limited (#7898)
* Ensure correct stylesheet cache is used by theme hooks when component is shared between sessions (#7896)
* Reset BaseTemplate._documents correctly on autoreload (#7897)
* Ensure widget CSS is loaded correctly when server path is prefixed (#7900)
* Correct display Tabulator with multi index and multi index column (#7907)
* Ensure stretch and scale sizing_mode does not cause overflow in container (#7928)
1.6.3:
## Enhancements
* Implement smarter Column child rendering #7846
* Optimize ReactComponent child renders #7828
* Add indent and soft_tabs options to CodeEditor #7831
* Allow creating Param.widget without instantiating object, speeding up Widget.from_param #7867
## Bug fixes
* Fix handling of React based AnyWidgetComponent types #7820
* Cache ESM render modules #7827
* Check for None in select function for PyComponent #7837
* Fix for AttributeError in auth.py:CodeChallenge OAuth login #7844
* Fix error when old_objects is empty in _get_objects() #7842
* Ensure ReactiveESM renders elements #7853
* Ensure ESM shared resources are watched properly #7856
* Fix Material design Tabulator header color #7855
* Ensure current view and selection lookups on Tabulator handle None case #7858
* Ensure Modal events are targeted to correct model #7860
* Ensure ChatFeed has inherent height #7861
* Ensure Markdown code blocks are always left aligned #7862
* Gracefully handle ECharts delayed rendering #7869
1.6.2:
## Enhancements
* Make it easier to subclass components (#7730, #7744, #7785)
* Allow model.useState in ReactComponents to reference nested parameter values (#7743)
* Allow providing shared ESM modules (#7757)
* Allow defining root node for ReactComponent (#7787)
* Improve pretty printing in HoloViews pane (#7775)
* Allow serializing joint dict/Parameterized types on DataModel (#7789)
* Improve ListLike and NamedListLike to better match Python list behavior (#7794)
* Improve rendering of ReactComponent children (#7802)
* Allow overriding Param input widgets (#7813)
## Performance
* Avoid redundant list operations in ListLike (#7764)
* Optimize ipywidget reference transform (#7778)
## Bug fixes
* Correctly handle empty source files (#7732)
* Add extra guard around get_ipython check (#7734)
* Ensure ReactComponent children are sized correctly (#7741)
* Ensure ChatStep does not toggle from failed to success (#7742)
* Ensure Feed and scrollable layout children heights are not fixed (#7747)
* Declare more Child parameters on various components (#7749)
* Do not sync parameters mapped to None on on ESM components (#7750, #7753)
* Always include esm.css for ESM components (#7752)
* Do not duplicate stylesheets (d133eb9)
* Ensure ChatStep text does not overflow container (#7770)
* Refactor ChatFeed post hook ensuring it processes correct message (#7722)
* Ensure hooks are applied to root components with Fast design (#7777)
* Ensure resource mode is set in notebooks (#7776)
* Clear state cookie if OAuth access token expired and can't be refreshed (#7780)
* Fix formatting in TextEditor widget (#7739)
* Use Ace version with no require.js dependency (#7781)
* Ensure multiple sequential notifications render (#7790)
* Style correct column when frozen Tabulator column is an index (#7792)
* Ensure IconButton tooltip timer is cleared on multiple mouseenter events (#7798)
* Ensure pre-processors are applied to ESM children (#7799)
* Ensure outputs are laid out correctly after initial render of EditableTemplate (#7816)
* Fix regressiong related to providing Path to ESM component stylesheets (#7809)
## Compatibility
* Compatibility with Bokeh 3.7 (#7724, #7815)
* Update TextEditor widget to Quill.js 2.0.2 (#7739)
* Update Plotly pane to Plotly.js 3.0.1 (#7731)
1.6.1:
## Enhancements
* Add ChatFeed.scroll_to method (#7671)
* Implement watch feature for panel compile command (#7683)
* Allow ESM components to load CSS bundles (#7685, #7691)
* Generalize ReactiveESM.select so children are automatically detected (#7699)
## Bug fixes
* Ensure errors in sync periodic callbacks are logged (#7665)
* Reset visible_range when Feed.objects are updated (#7673)
* Ensure ESM bundles correctly resolve component implementations (#7684, #7698)
* Fix default avatar in send/stream (#7677)
* Ensure index redirects are relative to fix index page behind a reverse proxy (#7704)
* Ensure root_url is correctly determined during auth (#7680)
* Ensure the modal is on top in EditableTemplate (#7710)
* Ensure Tabulator selection is recalculated after filtering (#7712)
* Fix custom login endpoints (#7714)
* Ensure type checkers can correctly infer extension argument types (#7709)
* Ensure custom components and extensions respect resource mode in notebooks (#7701, #7716)
* Ensure in process events are cleaned up after they are applied (#7717)
## Compatibility
* Compatibility with Plotly 6.0 (#7681, #7682)
* Bump pyodide version to 0.27.2 and PyScript version to 2025.2.1 (#7718)
1.6.0:
## Features
* Add PAM authentication support (#6861)
* Add Widget.from_values method (#7033)
* Add a standalone Modal layout (#7083)
* Introduces ChatMessage and ChatFeed edit functionality (#7559)
## Enhancements
* Allow ChatFeed.callback_exception to accept a callable and 'traceback' (alias for verbose) (#7558)
* Fix Accordion active_header_background in dark theme (#7576)
* Increase default max character limit on ChatAreaInput (#7562)
* Fix chat message alignment issues (#7563)
* Make Markdown pane line breaking behavior configurable (#7582)
* Improve styling of chat components in dark theme (#7601, #7602)
* Automatically scroll when streaming to ChatFeed and ChatStep (#7608)
* Add support for remote filesystems on FileSelector (#7618)
* Add support for FigureWidget events on Plotly pane (#7654, #7662)
## Bug fixes
* Fix Azure Oauth issues (#7587)
* Correctly display file not found paths in panel convert (#7589)
* Fix Tabulator.patch when table is filtered (#7621)
* Ensure esbuild can be detected on windows during panel compile (#7625)
* Fix various issues styling Tabulator when it is wider than the viewport (#7626)
* Fix resource loading when serving Panel app on nested FastAPI endpoint (#7627)
* Fix panel oauth-secret command (#7628)
* Ensure fonts are applied to NotificationArea (#7633)
* Handle session context where session is not defined (#7634)
* Ensure CompositeWidget can be populated in callback (#7636)
* Correctly identify skimage and PIL packages when converting to pyodide (#7637)
* Ensure we use CDN resources in pyodide (#7638)
* Consistently apply sizing_mode to FileSelector components (#7640)
* Ensure tasks are cancelled correctly (#7641)
* Ensure NotificationArea stylesheet loads in panel-preview (#7643)
* Ensure NestedSelect updates when options are changed (#7649)
* Ensure ButtonIcon displays an icon during click (#7650)
## Compatibility and Updates
* Update panel convert to latest versions of pyodide and pyscript (#7584)
* Bump plotly.js version to 2.35.3 (#7657)
* Bump tabulator.js version to 6.3.1 (#7656)
-------------------------------------------------------------------
Mon Jan 13 08:41:57 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 1.5.5:
## Enhancements
* Add ability to scroll_to a particular object on Column (#7206)
* Add pointer when hovering on Markdown copy button (#7490)
* Allow streaming to ChatStep (#7520)
* Improve ChatMessage repr (#7521)
* Add ChatInterface button tooltips (#7552)
## Bug fixes
* Ensure Notifications are cleaned up correctly (#4964)
* Ensure FileDownload label text updates correctly (#7489)
* Fix Tabulator aggregation behavior (#7450)
* Fix typing for .servable method (#7530)
* Ensure NestedSelect respects disabled parameter (#7533)
* Ensure errors in hooks aren't masked by fallback to different signature (#7502)
* Ensure Notifications are only shown once if scheduled onload (#7504)
## Documentation
* Improve hold how-to guide (#7487, #7500)
## Maintenance
* Enable strict type checking (#7497)
* Ensure node_modules aren't bundled into package (#7526)
* Internal cleanup of compatibility code for older param versions (#7527)
## Compatibility
* Compatibility for websockets 14 when running on FastAPI server (#7491)
* Compatibility with Textual 0.86 (#7501)
* Compatibility with Altair 5.5.0 (#7523)
* Bump Vizzu version to 0.15 (#7485)
- Add manual-asyncio-loop.patch to fix tests
-------------------------------------------------------------------
Thu Nov 28 12:05:47 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Disable server async tests. It's just too flaky on obs
-------------------------------------------------------------------
Wed Nov 27 16:03:51 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.5.4
* This release primarily focuses on improving the ESM components
including fixes for serialization of parameter values,
improvements for compiling bundles, and building custom
layouts. Additionally this release includes the new
DatetimeSlider, adds a copy button to codeblocks in Markdown
panes, improves responsive sizing for Plotly and starts adding
better support for Polars.
## Enhancements
* Add DatetimeSlider widget (#7374)
* Improve Jupyter preview error handling (#7434)
* Add copy button to Markdown codeblocks (#7451)
* Various improvements for writing ESM components (#7462)
* Log authorization callback errors (#7463)
* Support polars in pn.cache (#7472)
* Improve and document hold utility (#7474)
* Improve how panel compile collects bundles (#7477)
## Bug fixes
* Fix issues detecting changed property values during
serialization (#7432)
* Ensure ESM compilation correctly detects file extension (#7446)
* Ensure parameter overrides are applied to ESM components
(#7452)
* Ensure component Children parameter correctly resolves when
multiple types are defined (#7454)
* Fix issues using Jupyter Preview with notifications enabled
(#7466)
* Ensure HTML/Markdown streaming does not freeze during rapid
updates (#7480)
* Ensure Plotly sizes correctly on initial render (#7483)
- Version 1.5.3
* This release fixes a number of smaller regressions related to
Tabulator row_content, ensures --dev/--autoreload picks up on
external modules correctly and resolves OAuth guest endpoints
correctly. Additionally it introduces some enhancements and bug
fixes for custom components, such as adding support for loading
custom components ESM Javascript bundles from the inbuilt
endpoint ensuring that the bundle can be cached by the browser.
## Enhancements
* Sync dark mode on browser_info object (#7382)
* Allow loading custom component ESM bundles from URL (#7410,
#7412)
## Bug fixes
* Address issues with Tabulator embed_content and optimize row
expansion (#7364)
* Prevent pipeline network plot from linking with other plots
(#7372)
* Various fixes for custom component compilation (#7381)
* Fix OAuth guest endpoint (#7385)
* Fix ReactiveESM._importmap typing (#7392)
* Ensure that autoreload records modules to watch before startup
(#7399)
* Prevent Tabulator from overlapping when max_height is set
(#7403)
* Do not mutate layout Children inplace (#7417)
* Set Tabulator null formatter to empty string (#7421)
* Ensure Tabulator table content does not overflow (#7425)
## Compatibility
* Upgraded Tabulator version to 6.3 (#7419)
- Version 1.5.2
* This release is a small patch release primarily addressing a
regression handling selections on multi-indexed data on the
Tabulator widget along with a number of documentation
improvements.
## Bug fixes
* Fix regression handling selection on multi-indexed Tabulator
data (#7336)
* Fix Fast template theme toggle color (#7341)
- Version 1.5.1
* This release primarily focuses on a number of tweaks and
enhancements for the documentation and also resolves a number
of bugs related to Tabulator rendering and the new FastAPI
integration.
## Enhancements
* Add mapboxgl CSS to Plotly (#7320)
* Tweak margins of icons in ChatMessage (#7310)
## Bug fixes
* Fix langchain import in panel.chat.langchain (#7297)
* Ensure Tabulator is consistently redrawn after render and
resize (#7305)
* Filter out empty plotly_selected events (#7312)
* Improve parameter validation on Timepicker (#7308)
* Ensure Tabulator.selection consistency when pagination='local'
(#7304)
* Correctly handle ipv6 localhost URI in Location (#7316)
* Ensure resource URLs are handled correctly in all server
implementations (#7318)
* Ensure Plotly datetime are correctly converted from timestamp
to date string (#7319)
## Regressions
* Only postpone --setup script until after server startup if
--num-procs is greater than 1 (#7289)
## Compatibility
* Support for Bokeh 3.6.x releases (#7322)
- Replace exclude-package-lock.patch with opensuse-js-fixes.patch
-------------------------------------------------------------------
Wed Oct 2 20:03:56 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Add exclude-package-lock.patch
* Do not install package-lock.json
* Avoids non-reproducible local registry port
* boo#1231254 gh#openSUSE/obs-service-node_modules#41
-------------------------------------------------------------------
Wed Sep 25 10:38:30 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.5.0
* This release, while technically a minor release hugely expands
the scope of what is possible in Panel. In particular the
introduction of the new panel.custom module makes it trivially
easy to create new JS and React based components using modern
tooling, a first-class developer experience and support for
compilation and bundling. We are incredibly excited to see
which new components you build using this approach. This
release also includes native integration with FastAPI, such
that you can now run Panel apps natively on an existing FastAPI
server. We also introduce a number of new components, improved
the developer experience, and squashed a huge number of bugs,
particularly for the Tabulator component.
## Features
* Allow building custom ESM based JSComponent and ReactComponent
(#5593)
* Add Placeholder pane (#6790)
* Add FileDropper widget (#6826)
* Add ChatStep component to show/hide intermediate steps (#6617)
* Add TimePicker widget (#7013)
* Add PyComponent baseclass (#7051)
* Add native support for running Panel on FastAPI server (#7205)
## Enhancements
* Allow callbacks after append and stream (#6805)
* Enable directory uploads with FileInput (#6808)
* Make autoreload robust to syntax errors and empty apps (#7028)
* Add support for automatically determining optimal
Tabulator.page_size (#6978)
* Various typing improvements (#7081, #7092, #7094, #7132)
* Display value for player (#7060)
* Optimize rendering and scrolling behavior of Feed (#7101)
* Implement support for multi-index columns in Tabulator (#7108)
* Add placeholder while loading to ChatFeed (#7042)
* Allow streaming chunks to HTML and Markdown panes (#7125)
* Show Player interval value on click (#7064)
* Expose Player options to scale and hide buttons (#7065)
* Add on_keyup and value_input for CodeEditor (#6919)
* Detect WebGL support on BrowserInfo (#6931)
* Tweak ChatMessage layout (#7209, #7266)
* Add nested editor to Tabulator (#7251)
* Support anchor links in HTML and Markdown panes (#7258, #7263)
# Bug fixes
* Ensure Gauge is responsively sized (#7034)
* Ensure Tabulator sorters are correctly synced (#7036)
* Ensure Tabulator selection is consistent across paginated,
sorted and filtered states (#7058)
* Do not propagate clicks on input elements in Card header
(#7057)
* Ensure Tabulator range selection applies to current view
(#7063)
* Ensure Tabulator.selection is updated when indexes change
(#7066)
* Ensure Tabulator can be updated with None value (#7067)
* Fix issues with PYTHONPATH in Jupyter Preview (#7059)
* Ensure Tabulator styling is correctly applied on multi-index
(#7075)
* Fix various scrolling related Tabulator issues (#7076)
* Ensure Tabulator data is updated after filters are changed
(#7074)
* Allow controlling DataFrame pane header and cell alignment
(#7082)
* Highlight active page in Tabulator using Fast Design (#7085)
* Ensure follow behavior works when streaming to paginated
Tabulator (#7084)
* Avoid events boomeranging from frontend (#7093)
* Correctly map Tabulator expanded indexes when paginated,
filtered and sorted (#7103)
* Ensure custom HoloViews backends do not error out (#7114)
* Ensure events are always dispatched sequentially (#7128)
* Ensure 'multiselect' Tabulator.header_filter uses 'in' filter
function (#7111)
* Ensure no content warning is not displayed when template is
added (#7164)
* Make it easy to prompt user for input in ChatFeed (#7148)
* Fix LaTeX pane MathJax rendering (#7188)
* Ensure OAuth expiry is numeric and can be compared (#7191)
* Correctly detect max depth of NestedSelect if level is empty
(#7194)
* Make --setup/--autoreload/--warm work with --num-procs (#6913)
* Ensure error rendering application does not crash server
(#7223)
* Refactor state.notifications to fix pyodide (#7235)
* Handle setting None value on DateRangePicker (#7240)
* Add header_tooltips parameter to Tabulator (#7241)
* Fix issue using Tabulator.header_filter with recent Pandas
versions (#7242)
* Fix setting of Dial background (#7261)
* Fix issues when loading multiple times in a Jupyter(Lab)
session (#7269)
## Compatibility and Updates
* Update to Bokeh 3.5.x
* Update Tabulator to 6.2.1 (#6840)
* Update to latest Pyscript (2024.08.01) and Pyodide (0.26.2)
(#7016)
* Add compatibility for latest Textual (#7130)
## Deprecation and API Warnings
* PasswordInput and TextAreaInput no longer inherit directly from
TextInput (#6593)
* Remove deprecated panel.depends.param_value_if_widget function
(#7202)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 7 09:14:55 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com> Tue May 7 09:14:55 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-panel # spec file for package python-panel
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,71 +24,85 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%global skip_python39 1
# too flaky server-side. Test it locally
%bcond_with servertests
# truncate trailing suffix
%define distversion 1.7.1
Name: python-panel%{psuffix} Name: python-panel%{psuffix}
Version: 1.4.1 Version: 1.7.1
Release: 0 Release: 0
Summary: A high level app and dashboarding solution for Python Summary: A high level app and dashboarding solution for Python
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/holoviz/panel URL: https://github.com/holoviz/panel
Source0: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz
# package-lock.json file generated with procedure:
# - delete old package-lock.json in panel subdirectory
# - add '"typescript": "^5.1.0"' to package.json devDependencies
# - npm install --package-lock-only --legacy-peer-deps --ignore-scripts
Source10: package-lock.json
# node_modules generated using "osc service mr" with https://github.com/openSUSE/obs-service-node_modules
Source11: node_modules.spec.inc
Source99: python-panel-rpmlintrc Source99: python-panel-rpmlintrc
%include %{_sourcedir}/node_modules.spec.inc
# PATCH-FEATURE-OPENSUSE opensuse-js-fixes.patch boo#1231254 gh#openSUSE/obs-service-node_modules#41
Patch0: opensuse-js-fixes.patch
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: %{python_module bleach} BuildRequires: %{python_module bleach}
BuildRequires: %{python_module bokeh >= 3.4.0} BuildRequires: %{python_module bokeh >= 3.5.0 with %python-bokeh < 3.7}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module packaging} BuildRequires: %{python_module packaging}
BuildRequires: %{python_module param >= 2.0.0} BuildRequires: %{python_module param >= 2.1.0}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyct >= 0.4.4}
BuildRequires: %{python_module pyviz-comms >= 2.0.0} BuildRequires: %{python_module pyviz-comms >= 2.0.0}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tqdm >= 4.48.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: jupyter-notebook-filesystem BuildRequires: jupyter-notebook-filesystem
BuildRequires: nodejs BuildRequires: local-npm-registry
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Markdown Requires: python-Markdown
Requires: python-bleach Requires: python-bleach
Requires: python-bokeh >= 3.2.0
Requires: python-linkify-it-py Requires: python-linkify-it-py
Requires: python-markdown-it-py Requires: python-markdown-it-py
Requires: python-mdit-py-plugins Requires: python-mdit-py-plugins
Requires: python-packaging
Requires: python-pandas >= 1.2 Requires: python-pandas >= 1.2
Requires: python-param >= 2.0.0
Requires: python-pyviz_comms >= 2.0.0 Requires: python-pyviz_comms >= 2.0.0
Requires: python-requests Requires: python-requests
Requires: python-tqdm >= 4.48.0 Requires: python-tqdm
Requires: python-typing_extensions Requires: python-typing_extensions
Requires: python-xyzservices >= 2021.09.1 Requires: (python-bokeh >= 3.5.0 with python-bokeh < 3.7)
Requires: (python-param >= 2.1 with python-param < 3)
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
Recommends: jupyter-panel Recommends: jupyter-panel
Recommends: python-Pillow Recommends: python-Pillow
Recommends: python-holoviews >= 1.16.0 Recommends: python-holoviews >= 1.18.0
Recommends: python-jupyterlab Recommends: python-jupyterlab
Recommends: python-matplotlib Recommends: python-matplotlib
Recommends: python-plotly Recommends: python-plotly
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module altair}
BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module folium}
BuildRequires: %{python_module holoviews >= 1.16.0}
BuildRequires: %{python_module ipympl}
BuildRequires: %{python_module ipython >= 7.0}
BuildRequires: %{python_module panel = %{version}} BuildRequires: %{python_module panel = %{version}}
BuildRequires: %{python_module parameterized} ##
BuildRequires: %{python_module plotly >= 4.0} BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module altair}
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module holoviews >= 1.16.0}
BuildRequires: %{python_module ipywidgets}
BuildRequires: %{python_module jupyterlab}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module plotly}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy} BuildRequires: %{python_module scipy}
BuildRequires: %{python_module streamz} BuildRequires: %{python_module streamz}
BuildRequires: esbuild
BuildRequires: unzip BuildRequires: unzip
# Tests segfault # Tests segfault
# BuildRequires: %%{python_module vtk} # BuildRequires: %%{python_module vtk}
@@ -104,7 +118,8 @@ text.
Summary: Jupyter notebook and server cofiguration for python-panel Summary: Jupyter notebook and server cofiguration for python-panel
Group: Development/Languages/Python Group: Development/Languages/Python
# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 # Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354
Requires: python3dist(panel) = %{version} Requires: python3dist(panel) = %{distversion}
Requires: jupyter-bokeh
Suggests: python3-panel Suggests: python3-panel
%description -n jupyter-panel %description -n jupyter-panel
@@ -117,24 +132,25 @@ to all Python flavors.
%prep %prep
%autosetup -p1 -n panel-%{version} %autosetup -p1 -n panel-%{version}
# Do not try to rebuild the bundled npm stuff. We don't have network. Just use the shipped bundle.
sed -i '/def _build_paneljs/ a \ return' setup.py
# no color for pytest # no color for pytest
sed -i '/addopts/ s/--color=yes//' pyproject.toml sed -i '/addopts/ s/--color=yes//' pyproject.toml
sed -i /asyncio_default_fixture_loop_scope/d pyproject.toml
rm panel/.eslintrc.js
for p in panel/tests/io/reload_module.py for p in panel/tests/io/reload_module.py
do \ do \
[ -f $p -a ! -s $p ] || exit 1 && echo "# Empty module" > $p [ -f $p -a ! -s $p ] || exit 1 && echo "# Empty module" > $p
done done
for p in panel/dist/css/regular_table.css \ # Resources are already bundled in sdist
panel/dist/bundled/perspective/@finos/perspective-viewer@2.9.0/dist/css/variables.css sed -i 's|bundle_resources()$|assert os.path.exists("panel/dist/bundled/font-awesome")|' hatch_build.py
do \ pushd panel
[ -f $p -a ! -s $p ] || exit 1 && echo "// Empty css" > $p rm package-lock.json
done local-npm-registry %{_sourcedir} install --include=dev --include=peer
popd
%if ! %{with test}
%build %build
%pyproject_wheel %pyproject_wheel
%if ! %{with test}
%install %install
%pyproject_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/panel %python_clone -a %{buildroot}%{_bindir}/panel
@@ -144,28 +160,21 @@ done
%if %{with test} %if %{with test}
%check %check
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./) export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
# DISABLE TESTS REQUIRING NETWORK ACCESS # test_compile tries to build and write next to the imported module: permission denied
donttest="test_loading_a_image_from_url" export PYTHONPATH=":x"
donttest="$donttest or test_png_native_size_embed" # no network connection in obs
donttest="$donttest or test_png_embed_scaled_fixed_size" deselectmark=(-m "not internet")
donttest="$donttest or (test_png_scale_ and True)" # no multiflavor playwright
donttest="$donttest or (test_png_stretch_ and True)" ignorefiles=(--ignore scripts/panelite/test/test_utils.py --ignore scripts/panelite/test/test_panelite.py)
donttest="$donttest or (test_svg_native_size and True)"
donttest="$donttest or (test_svg_scaled_fixed_size and True)"
donttest="$donttest or (test_svg_scale_ and True)"
donttest="$donttest or (test_svg_stretch_ and True)"
# flaky async test
donttest="$donttest or test_server_async_callbacks"
# flaky timeout
donttest="$donttest or test_server_thread_pool_change_event or test_server_on_load_after_init"
# upstream skips it for win and osx, we skip it because it (flakily) terminates everything on aarch64 # upstream skips it for win and osx, we skip it because it (flakily) terminates everything on aarch64
donttest="$donttest or (test_terminal and test_subprocess)" donttest="(test_terminal and test_subprocess)"
# file sample.pdf missing # file sample.pdf missing
donttest="$donttest or test_pdf_local_file" donttest="$donttest or test_pdf_local_file"
# Don't test on 32-bit: asyncio is too flaky %if !%{with servertests}
[ $(getconf LONG_BIT) -eq 32 ] && exit 0 # flaky async tests
# donttest="$donttest or test_server"
%pytest -n auto -rsfE -k "not ($donttest)" %endif
%pytest -n auto -rsfE -k "not ($donttest)" "${deselectmark[@]}" "${ignorefiles[@]}" -p no:unraisableexception
%endif %endif
%post %post