- 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
This commit is contained in:
commit
bb7ee67cce
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
7
_service
Normal file
7
_service
Normal 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>
|
14
exclude-package-lock.patch
Normal file
14
exclude-package-lock.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Do not install package-lock.json into the wheel
|
||||
boo#1231254 gh#openSUSE/obs-service-node_modules#41
|
||||
|
||||
diff -ur panel-1.5.0.orig/pyproject.toml panel-1.5.0/pyproject.toml
|
||||
--- panel-1.5.0.orig/pyproject.toml 2024-10-03 11:00:09.362861013 +0200
|
||||
+++ panel-1.5.0/pyproject.toml 2024-10-03 11:00:21.459903574 +0200
|
||||
@@ -110,6 +110,7 @@
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
include = ["panel"]
|
||||
+exclude = ["panel/package-lock.json"]
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"panel/dist" = "panel/dist"
|
3
node_modules.obscpio
Normal file
3
node_modules.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3dd21ebaef5e3c42657a849cbaee022a090b3a2277006cbedd315f82523bc51
|
||||
size 27712192
|
225
node_modules.spec.inc
Normal file
225
node_modules.spec.inc
Normal file
@ -0,0 +1,225 @@
|
||||
Source10000: https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz#/@babel-runtime-7.26.0.tgz
|
||||
Source10001: https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.6.0.tgz#/@bokeh-bokehjs-3.6.0.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.4.1.tgz#/@eslint-community-eslint-utils-4.4.1.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.5.tgz#/@jridgewell-gen-mapping-0.3.5.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/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#/@pkgjs-parseargs-0.11.0.tgz
|
||||
Source10021: https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-1.8.1.tgz#/@stylistic-eslint-plugin-1.8.1.tgz
|
||||
Source10022: https://registry.npmjs.org/@stylistic/eslint-plugin-js/-/eslint-plugin-js-1.8.1.tgz#/@stylistic-eslint-plugin-js-1.8.1.tgz
|
||||
Source10023: https://registry.npmjs.org/@stylistic/eslint-plugin-jsx/-/eslint-plugin-jsx-1.8.1.tgz#/@stylistic-eslint-plugin-jsx-1.8.1.tgz
|
||||
Source10024: https://registry.npmjs.org/@stylistic/eslint-plugin-plus/-/eslint-plugin-plus-1.8.1.tgz#/@stylistic-eslint-plugin-plus-1.8.1.tgz
|
||||
Source10025: https://registry.npmjs.org/@stylistic/eslint-plugin-ts/-/eslint-plugin-ts-1.8.1.tgz#/@stylistic-eslint-plugin-ts-1.8.1.tgz
|
||||
Source10026: https://registry.npmjs.org/@types/debounce/-/debounce-1.2.4.tgz#/@types-debounce-1.2.4.tgz
|
||||
Source10027: https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz#/@types-eslint-8.56.12.tgz
|
||||
Source10028: https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz#/@types-estree-1.0.6.tgz
|
||||
Source10029: https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz#/@types-geojson-7946.0.14.tgz
|
||||
Source10030: https://registry.npmjs.org/@types/gl-matrix/-/gl-matrix-2.4.5.tgz#/@types-gl-matrix-2.4.5.tgz
|
||||
Source10031: https://registry.npmjs.org/@types/google.maps/-/google.maps-3.58.1.tgz#/@types-google.maps-3.58.1.tgz
|
||||
Source10032: https://registry.npmjs.org/@types/jquery/-/jquery-3.5.32.tgz#/@types-jquery-3.5.32.tgz
|
||||
Source10033: https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz#/@types-json-schema-7.0.15.tgz
|
||||
Source10034: https://registry.npmjs.org/@types/proj4/-/proj4-2.5.5.tgz#/@types-proj4-2.5.5.tgz
|
||||
Source10035: https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz#/@types-semver-7.5.8.tgz
|
||||
Source10036: https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.9.tgz#/@types-sizzle-2.3.9.tgz
|
||||
Source10037: https://registry.npmjs.org/@types/slickgrid/-/slickgrid-2.1.40.tgz#/@types-slickgrid-2.1.40.tgz
|
||||
Source10038: https://registry.npmjs.org/@types/sprintf-js/-/sprintf-js-1.1.4.tgz#/@types-sprintf-js-1.1.4.tgz
|
||||
Source10039: https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz#/@typescript-eslint-eslint-plugin-7.18.0.tgz
|
||||
Source10040: https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz#/@typescript-eslint-parser-7.18.0.tgz
|
||||
Source10041: https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#/@typescript-eslint-scope-manager-6.21.0.tgz
|
||||
Source10042: https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz#/@typescript-eslint-scope-manager-7.18.0.tgz
|
||||
Source10043: https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz#/@typescript-eslint-type-utils-7.18.0.tgz
|
||||
Source10044: https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz#/@typescript-eslint-types-6.21.0.tgz
|
||||
Source10045: https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz#/@typescript-eslint-types-7.18.0.tgz
|
||||
Source10046: https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#/@typescript-eslint-typescript-estree-6.21.0.tgz
|
||||
Source10047: https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz#/@typescript-eslint-typescript-estree-7.18.0.tgz
|
||||
Source10048: https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz#/@typescript-eslint-utils-6.21.0.tgz
|
||||
Source10049: https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz#/@typescript-eslint-utils-7.18.0.tgz
|
||||
Source10050: https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#/@typescript-eslint-visitor-keys-6.21.0.tgz
|
||||
Source10051: https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz#/@typescript-eslint-visitor-keys-7.18.0.tgz
|
||||
Source10052: https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#/@ungap-structured-clone-1.2.0.tgz
|
||||
Source10053: https://registry.npmjs.org/ace-code/-/ace-code-1.36.5.tgz#/ace-code-1.36.5.tgz
|
||||
Source10054: https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz#/acorn-8.14.0.tgz
|
||||
Source10055: https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz#/acorn-jsx-5.3.2.tgz
|
||||
Source10056: https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#/ajv-6.12.6.tgz
|
||||
Source10057: https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#/ansi-regex-5.0.1.tgz
|
||||
Source10058: https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz#/ansi-regex-6.1.0.tgz
|
||||
Source10059: https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#/ansi-styles-4.3.0.tgz
|
||||
Source10060: https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz#/ansi-styles-6.2.1.tgz
|
||||
Source10061: https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#/any-promise-1.3.0.tgz
|
||||
Source10062: https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#/argparse-2.0.1.tgz
|
||||
Source10063: https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#/array-union-2.1.0.tgz
|
||||
Source10064: https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#/balanced-match-1.0.2.tgz
|
||||
Source10065: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#/brace-expansion-1.1.11.tgz
|
||||
Source10066: https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz#/brace-expansion-2.0.1.tgz
|
||||
Source10067: https://registry.npmjs.org/braces/-/braces-3.0.3.tgz#/braces-3.0.3.tgz
|
||||
Source10068: https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#/callsites-3.1.0.tgz
|
||||
Source10069: https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz#/chalk-4.1.2.tgz
|
||||
Source10070: https://registry.npmjs.org/choices.js/-/choices.js-10.2.0.tgz#/choices.js-10.2.0.tgz
|
||||
Source10071: https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz#/color-convert-2.0.1.tgz
|
||||
Source10072: https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#/color-name-1.1.4.tgz
|
||||
Source10073: https://registry.npmjs.org/commander/-/commander-4.1.1.tgz#/commander-4.1.1.tgz
|
||||
Source10074: https://registry.npmjs.org/commander/-/commander-9.2.0.tgz#/commander-9.2.0.tgz
|
||||
Source10075: https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#/concat-map-0.0.1.tgz
|
||||
Source10076: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz#/cross-spawn-7.0.6.tgz
|
||||
Source10077: https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz#/debounce-1.2.1.tgz
|
||||
Source10078: https://registry.npmjs.org/debug/-/debug-4.3.7.tgz#/debug-4.3.7.tgz
|
||||
Source10079: https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#/deep-is-0.1.4.tgz
|
||||
Source10080: https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz#/deepmerge-4.3.1.tgz
|
||||
Source10081: https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz#/dir-glob-3.0.1.tgz
|
||||
Source10082: https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#/doctrine-3.0.0.tgz
|
||||
Source10083: https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz#/eastasianwidth-0.2.0.tgz
|
||||
Source10084: https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#/emoji-regex-8.0.0.tgz
|
||||
Source10085: https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#/emoji-regex-9.2.2.tgz
|
||||
Source10086: https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#/escape-string-regexp-4.0.0.tgz
|
||||
Source10087: https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz#/eslint-8.57.1.tgz
|
||||
Source10088: https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz#/eslint-scope-7.2.2.tgz
|
||||
Source10089: https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#/eslint-visitor-keys-3.4.3.tgz
|
||||
Source10090: https://registry.npmjs.org/esm/-/esm-3.2.25.tgz#/esm-3.2.25.tgz
|
||||
Source10091: https://registry.npmjs.org/espree/-/espree-9.6.1.tgz#/espree-9.6.1.tgz
|
||||
Source10092: https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz#/esquery-1.6.0.tgz
|
||||
Source10093: https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz#/esrecurse-4.3.0.tgz
|
||||
Source10094: https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz#/estraverse-5.3.0.tgz
|
||||
Source10095: https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#/esutils-2.0.3.tgz
|
||||
Source10096: https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#/fast-deep-equal-3.1.3.tgz
|
||||
Source10097: https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz#/fast-glob-3.3.2.tgz
|
||||
Source10098: https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#/fast-json-stable-stringify-2.1.0.tgz
|
||||
Source10099: https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#/fast-levenshtein-2.0.6.tgz
|
||||
Source10100: https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz#/fastq-1.17.1.tgz
|
||||
Source10101: https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz#/file-entry-cache-6.0.1.tgz
|
||||
Source10102: https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz#/fill-range-7.1.1.tgz
|
||||
Source10103: https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz#/find-up-5.0.0.tgz
|
||||
Source10104: https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz#/flat-cache-3.2.0.tgz
|
||||
Source10105: https://registry.npmjs.org/flatbush/-/flatbush-4.4.0.tgz#/flatbush-4.4.0.tgz
|
||||
Source10106: https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz#/flatpickr-4.6.13.tgz
|
||||
Source10107: https://registry.npmjs.org/flatqueue/-/flatqueue-2.0.3.tgz#/flatqueue-2.0.3.tgz
|
||||
Source10108: https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz#/flatted-3.3.2.tgz
|
||||
Source10109: https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz#/foreground-child-3.3.0.tgz
|
||||
Source10110: https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#/fs.realpath-1.0.0.tgz
|
||||
Source10111: https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz#/fuse.js-6.6.2.tgz
|
||||
Source10112: https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz#/gl-matrix-3.4.3.tgz
|
||||
Source10113: https://registry.npmjs.org/glob/-/glob-10.4.5.tgz#/glob-10.4.5.tgz
|
||||
Source10114: https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#/glob-7.2.3.tgz
|
||||
Source10115: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#/glob-parent-5.1.2.tgz
|
||||
Source10116: https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz#/glob-parent-6.0.2.tgz
|
||||
Source10117: https://registry.npmjs.org/globals/-/globals-13.24.0.tgz#/globals-13.24.0.tgz
|
||||
Source10118: https://registry.npmjs.org/globby/-/globby-11.1.0.tgz#/globby-11.1.0.tgz
|
||||
Source10119: https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz#/graphemer-1.4.0.tgz
|
||||
Source10120: https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#/has-flag-4.0.0.tgz
|
||||
Source10121: https://registry.npmjs.org/htm/-/htm-3.1.1.tgz#/htm-3.1.1.tgz
|
||||
Source10122: https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz#/ignore-5.3.2.tgz
|
||||
Source10123: https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#/import-fresh-3.3.0.tgz
|
||||
Source10124: https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#/imurmurhash-0.1.4.tgz
|
||||
Source10125: https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#/inflight-1.0.6.tgz
|
||||
Source10126: https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#/inherits-2.0.4.tgz
|
||||
Source10127: https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#/is-extglob-2.1.1.tgz
|
||||
Source10128: https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#/is-fullwidth-code-point-3.0.0.tgz
|
||||
Source10129: https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz#/is-glob-4.0.3.tgz
|
||||
Source10130: https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#/is-number-7.0.0.tgz
|
||||
Source10131: https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz#/is-path-inside-3.0.3.tgz
|
||||
Source10132: https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#/isexe-2.0.0.tgz
|
||||
Source10133: https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz#/jackspeak-3.4.3.tgz
|
||||
Source10134: https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz#/jquery-3.7.1.tgz
|
||||
Source10135: https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.14.1.tgz#/jquery-ui-1.14.1.tgz
|
||||
Source10136: https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz#/js-yaml-4.1.0.tgz
|
||||
Source10137: https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz#/json-buffer-3.0.1.tgz
|
||||
Source10138: https://registry.npmjs.org/json-formatter-js/-/json-formatter-js-2.5.18.tgz#/json-formatter-js-2.5.18.tgz
|
||||
Source10139: https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#/json-schema-traverse-0.4.1.tgz
|
||||
Source10140: 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
|
||||
Source10141: https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz#/keyv-4.5.4.tgz
|
||||
Source10142: https://registry.npmjs.org/levn/-/levn-0.4.1.tgz#/levn-0.4.1.tgz
|
||||
Source10143: https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#/lines-and-columns-1.2.4.tgz
|
||||
Source10144: https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz#/locate-path-6.0.0.tgz
|
||||
Source10145: https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#/lodash.merge-4.6.2.tgz
|
||||
Source10146: https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz#/lru-cache-10.4.3.tgz
|
||||
Source10147: https://registry.npmjs.org/mathjax-full/-/mathjax-full-3.2.2.tgz#/mathjax-full-3.2.2.tgz
|
||||
Source10148: https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz#/merge2-1.4.1.tgz
|
||||
Source10149: https://registry.npmjs.org/mgrs/-/mgrs-1.0.0.tgz#/mgrs-1.0.0.tgz
|
||||
Source10150: https://registry.npmjs.org/mhchemparser/-/mhchemparser-4.2.1.tgz#/mhchemparser-4.2.1.tgz
|
||||
Source10151: https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz#/micromatch-4.0.8.tgz
|
||||
Source10152: https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#/minimatch-3.1.2.tgz
|
||||
Source10153: https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz#/minimatch-9.0.3.tgz
|
||||
Source10154: https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz#/minimatch-9.0.5.tgz
|
||||
Source10155: https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz#/minipass-7.1.2.tgz
|
||||
Source10156: https://registry.npmjs.org/mj-context-menu/-/mj-context-menu-0.6.1.tgz#/mj-context-menu-0.6.1.tgz
|
||||
Source10157: https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#/ms-2.1.3.tgz
|
||||
Source10158: https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#/mz-2.7.0.tgz
|
||||
Source10159: https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#/natural-compare-1.4.0.tgz
|
||||
Source10160: https://registry.npmjs.org/nouislider/-/nouislider-15.8.1.tgz#/nouislider-15.8.1.tgz
|
||||
Source10161: https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#/object-assign-4.1.1.tgz
|
||||
Source10162: https://registry.npmjs.org/once/-/once-1.4.0.tgz#/once-1.4.0.tgz
|
||||
Source10163: https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz#/optionator-0.9.4.tgz
|
||||
Source10164: https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz#/p-limit-3.1.0.tgz
|
||||
Source10165: https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz#/p-locate-5.0.0.tgz
|
||||
Source10166: https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#/package-json-from-dist-1.0.1.tgz
|
||||
Source10167: https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#/parent-module-1.0.1.tgz
|
||||
Source10168: https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#/path-exists-4.0.0.tgz
|
||||
Source10169: https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#/path-is-absolute-1.0.1.tgz
|
||||
Source10170: https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#/path-key-3.1.1.tgz
|
||||
Source10171: https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz#/path-scurry-1.11.1.tgz
|
||||
Source10172: https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#/path-type-4.0.0.tgz
|
||||
Source10173: https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#/picomatch-2.3.1.tgz
|
||||
Source10174: https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz#/picomatch-4.0.2.tgz
|
||||
Source10175: https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz#/pirates-4.0.6.tgz
|
||||
Source10176: https://registry.npmjs.org/preact/-/preact-10.25.0.tgz#/preact-10.25.0.tgz
|
||||
Source10177: https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#/prelude-ls-1.2.1.tgz
|
||||
Source10178: https://registry.npmjs.org/proj4/-/proj4-2.15.0.tgz#/proj4-2.15.0.tgz
|
||||
Source10179: https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#/punycode-2.3.1.tgz
|
||||
Source10180: https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#/queue-microtask-1.2.3.tgz
|
||||
Source10181: https://registry.npmjs.org/redux/-/redux-4.2.1.tgz#/redux-4.2.1.tgz
|
||||
Source10182: https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#/regenerator-runtime-0.14.1.tgz
|
||||
Source10183: https://registry.npmjs.org/regl/-/regl-2.1.1.tgz#/regl-2.1.1.tgz
|
||||
Source10184: https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#/resolve-from-4.0.0.tgz
|
||||
Source10185: https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz#/reusify-1.0.4.tgz
|
||||
Source10186: https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#/rimraf-3.0.2.tgz
|
||||
Source10187: https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz#/run-parallel-1.2.0.tgz
|
||||
Source10188: https://registry.npmjs.org/semver/-/semver-7.6.3.tgz#/semver-7.6.3.tgz
|
||||
Source10189: https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#/shebang-command-2.0.0.tgz
|
||||
Source10190: https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#/shebang-regex-3.0.0.tgz
|
||||
Source10191: https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz#/signal-exit-4.1.0.tgz
|
||||
Source10192: https://registry.npmjs.org/slash/-/slash-3.0.0.tgz#/slash-3.0.0.tgz
|
||||
Source10193: https://registry.npmjs.org/speech-rule-engine/-/speech-rule-engine-4.0.7.tgz#/speech-rule-engine-4.0.7.tgz
|
||||
Source10194: https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz#/sprintf-js-1.1.3.tgz
|
||||
Source10195: https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#/string-width-4.2.3.tgz
|
||||
Source10196: https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz#/string-width-5.1.2.tgz
|
||||
Source10197: https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#/strip-ansi-6.0.1.tgz
|
||||
Source10198: https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#/strip-ansi-7.1.0.tgz
|
||||
Source10199: https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz#/strip-json-comments-3.1.1.tgz
|
||||
Source10200: https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz#/sucrase-3.35.0.tgz
|
||||
Source10201: https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#/supports-color-7.2.0.tgz
|
||||
Source10202: https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#/text-table-0.2.0.tgz
|
||||
Source10203: https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz#/thenify-3.3.1.tgz
|
||||
Source10204: https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz#/thenify-all-1.6.0.tgz
|
||||
Source10205: https://registry.npmjs.org/timezone/-/timezone-1.0.23.tgz#/timezone-1.0.23.tgz
|
||||
Source10206: https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz#/to-regex-range-5.0.1.tgz
|
||||
Source10207: https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.2.tgz#/ts-api-utils-1.4.2.tgz
|
||||
Source10208: https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#/ts-interface-checker-0.1.13.tgz
|
||||
Source10209: https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#/tslib-1.14.1.tgz
|
||||
Source10210: https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz#/tslib-2.8.1.tgz
|
||||
Source10211: https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz#/type-check-0.4.0.tgz
|
||||
Source10212: https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#/type-fest-0.20.2.tgz
|
||||
Source10213: https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz#/typescript-5.7.2.tgz
|
||||
Source10214: https://registry.npmjs.org/underscore.template/-/underscore.template-0.1.7.tgz#/underscore.template-0.1.7.tgz
|
||||
Source10215: https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#/uri-js-4.4.1.tgz
|
||||
Source10216: https://registry.npmjs.org/which/-/which-2.0.2.tgz#/which-2.0.2.tgz
|
||||
Source10217: https://registry.npmjs.org/wicked-good-xpath/-/wicked-good-xpath-1.3.0.tgz#/wicked-good-xpath-1.3.0.tgz
|
||||
Source10218: https://registry.npmjs.org/wkt-parser/-/wkt-parser-1.4.0.tgz#/wkt-parser-1.4.0.tgz
|
||||
Source10219: https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz#/word-wrap-1.2.5.tgz
|
||||
Source10220: https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#/wrap-ansi-7.0.0.tgz
|
||||
Source10221: https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#/wrap-ansi-8.1.0.tgz
|
||||
Source10222: https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#/wrappy-1.0.2.tgz
|
||||
Source10223: https://registry.npmjs.org/xmldom-sre/-/xmldom-sre-0.1.31.tgz#/xmldom-sre-0.1.31.tgz
|
||||
Source10224: https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#/yocto-queue-0.1.0.tgz
|
42
opensuse-js-fixes.patch
Normal file
42
opensuse-js-fixes.patch
Normal file
@ -0,0 +1,42 @@
|
||||
- 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.5.4/pyproject.toml
|
||||
===================================================================
|
||||
--- panel-1.5.4.orig/pyproject.toml
|
||||
+++ panel-1.5.4/pyproject.toml
|
||||
@@ -111,6 +111,7 @@ raw-options = { version_scheme = "no-gue
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
include = ["panel"]
|
||||
+exclude = ["panel/package-lock.json"]
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"panel/dist" = "panel/dist"
|
||||
Index: panel-1.5.4/panel/package.json
|
||||
===================================================================
|
||||
--- panel-1.5.4.orig/panel/package.json
|
||||
+++ panel-1.5.4/panel/package.json
|
||||
@@ -23,6 +23,7 @@
|
||||
"@stylistic/eslint-plugin": "^1.6.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
||||
"@typescript-eslint/parser": "^7.2.0",
|
||||
+ "typescript": "^5.1.0",
|
||||
"acorn": "^8.11.3",
|
||||
"eslint": "^8.57.0",
|
||||
"flatpickr": "^4.6.9"
|
||||
Index: panel-1.5.4/panel/tests/command/test_compile.py
|
||||
===================================================================
|
||||
--- panel-1.5.4.orig/panel/tests/command/test_compile.py
|
||||
+++ panel-1.5.4/panel/tests/command/test_compile.py
|
||||
@@ -14,7 +14,7 @@ class JSTestComponent(JSComponent):
|
||||
|
||||
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"
|
2921
package-lock.json
generated
Normal file
2921
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
3
panel-1.4.1.tar.gz
Normal file
3
panel-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ad2084e65d4f0fc424432a963c9a4d668d8315203b338830b40c112ead3ebb7
|
||||
size 38182034
|
3
panel-1.5.0.tar.gz
Normal file
3
panel-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31e5cb229bbb6010ea3cc6023952c1423b008f4fa137ede3794fa6ce2e4a0f32
|
||||
size 29341232
|
3
panel-1.5.4.tar.gz
Normal file
3
panel-1.5.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7644e87afe9b94c32b4fca939d645c5b958d671691bd841d3391e31941090092
|
||||
size 29378323
|
2
python-panel-rpmlintrc
Normal file
2
python-panel-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# These must be empty, otherwise npm fails
|
||||
addFilter("zero-length .*css")
|
1593
python-panel.changes
Normal file
1593
python-panel.changes
Normal file
File diff suppressed because it is too large
Load Diff
198
python-panel.spec
Normal file
198
python-panel.spec
Normal file
@ -0,0 +1,198 @@
|
||||
#
|
||||
# spec file for package python-panel
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
|
||||
# truncate trailing suffix
|
||||
%define distversion 1.5.4
|
||||
Name: python-panel%{psuffix}
|
||||
Version: 1.5.4
|
||||
Release: 0
|
||||
Summary: A high level app and dashboarding solution for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/holoviz/panel
|
||||
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
|
||||
%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 bleach}
|
||||
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 param >= 2.1.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyviz-comms >= 2.0.0}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-notebook-filesystem
|
||||
BuildRequires: local-npm-registry
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Markdown
|
||||
Requires: python-bleach
|
||||
Requires: python-linkify-it-py
|
||||
Requires: python-markdown-it-py
|
||||
Requires: python-mdit-py-plugins
|
||||
Requires: python-packaging
|
||||
Requires: python-pandas >= 1.2
|
||||
Requires: python-pyviz_comms >= 2.0.0
|
||||
Requires: python-requests
|
||||
Requires: python-tqdm
|
||||
Requires: python-typing_extensions
|
||||
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(postun): update-alternatives
|
||||
Recommends: jupyter-panel
|
||||
Recommends: python-Pillow
|
||||
Recommends: python-holoviews >= 1.18.0
|
||||
Recommends: python-jupyterlab
|
||||
Recommends: python-matplotlib
|
||||
Recommends: python-plotly
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module panel = %{version}}
|
||||
##
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module altair}
|
||||
BuildRequires: %{python_module diskcache}
|
||||
BuildRequires: %{python_module holoviews >= 1.16.0}
|
||||
BuildRequires: %{python_module jupyterlab}
|
||||
BuildRequires: %{python_module matplotlib}
|
||||
BuildRequires: %{python_module plotly}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-rerunfailures}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy}
|
||||
BuildRequires: %{python_module streamz}
|
||||
BuildRequires: esbuild
|
||||
BuildRequires: unzip
|
||||
# Tests segfault
|
||||
# BuildRequires: %%{python_module vtk}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Panel is a Python library that lets you create custom interactive web apps and
|
||||
dashboards by connecting user-defined widgets to plots, images, tables, or
|
||||
text.
|
||||
|
||||
%package -n jupyter-panel
|
||||
Summary: Jupyter notebook and server cofiguration for python-panel
|
||||
Group: Development/Languages/Python
|
||||
# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354
|
||||
Requires: python3dist(panel) = %{distversion}
|
||||
Requires: jupyter-bokeh
|
||||
Suggests: python3-panel
|
||||
|
||||
%description -n jupyter-panel
|
||||
Panel is a Python library that lets you create custom interactive web apps and
|
||||
dashboards by connecting user-defined widgets to plots, images, tables, or
|
||||
text.
|
||||
|
||||
This package contains the notebook and server extension configuration common
|
||||
to all Python flavors.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n panel-%{version}
|
||||
# no color for pytest
|
||||
sed -i '/addopts/ s/--color=yes//' pyproject.toml
|
||||
rm panel/.eslintrc.js
|
||||
for p in panel/tests/io/reload_module.py
|
||||
do \
|
||||
[ -f $p -a ! -s $p ] || exit 1 && echo "# Empty module" > $p
|
||||
done
|
||||
# Resources are already bundled in sdist
|
||||
sed -i 's|bundle_resources()$|assert os.path.exists("panel/dist/bundled/font-awesome")|' hatch_build.py
|
||||
pushd panel
|
||||
rm package-lock.json
|
||||
local-npm-registry %{_sourcedir} install --include=dev --include=peer
|
||||
popd
|
||||
sed -i /asyncio_default_fixture_loop_scope/d pyproject.toml
|
||||
|
||||
%if ! %{with test}
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/panel
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
|
||||
# flaky async test
|
||||
donttest="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
|
||||
donttest="$donttest or (test_terminal and test_subprocess)"
|
||||
# file sample.pdf missing
|
||||
donttest="$donttest or test_pdf_local_file"
|
||||
# Don't test on 32-bit: asyncio is too flaky
|
||||
[ $(getconf LONG_BIT) -eq 32 ] && exit 0
|
||||
# no network connection in obs
|
||||
deselectmark=(-m "not internet")
|
||||
# no multiflavor playwright
|
||||
ignorefiles=(--ignore scripts/panelite/test/test_utils.py --ignore scripts/panelite/test/test_panelite.py)
|
||||
# test_compile tries to build and write next to the imported module: permission denied
|
||||
PYTHONPATH=":x"
|
||||
%pytest -n auto -rsfE -k "not ($donttest)" "${deselectmark[@]}" "${ignorefiles[@]}" -p no:unraisableexception
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative panel
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative panel
|
||||
|
||||
%if ! %{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%python_alternative %{_bindir}/panel
|
||||
%{python_sitelib}/panel
|
||||
%{python_sitelib}/panel-%{version}.dist-info
|
||||
|
||||
%files -n jupyter-panel
|
||||
%license LICENSE.txt
|
||||
%{_jupyter_config} %{_jupyter_servextension_confdir}/panel-client-jupyter.json
|
||||
%{_jupyter_config} %{_jupyter_server_confdir}/panel-client-jupyter.json
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user