- 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/request/show/1286909 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=68
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
- 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"
|