SHA256
1
0
forked from pool/python-panel

Accepting request 1111740 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1111740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2023-09-20 11:25:18 +00:00 committed by Git OBS Bridge
commit a47babe87a
5 changed files with 76 additions and 106 deletions

View File

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

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

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

View File

@ -1,99 +0,0 @@
From 1ec8788110933887517ae1bd404481aa84fa130b Mon Sep 17 00:00:00 2001
From: Philipp Rudiger <prudiger@anaconda.com>
Date: Thu, 29 Jun 2023 13:54:57 +0200
Subject: [PATCH] Bump bokeh version to 3.2
---
panel/package-lock.json | 14 +++++++-------
panel/package.json | 2 +-
pyproject.toml | 2 +-
setup.py | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/panel/package-lock.json b/panel/package-lock.json
index 6811cec0f4..10162fc1ee 100644
--- a/panel/package-lock.json
+++ b/panel/package-lock.json
@@ -9,7 +9,7 @@
"version": "1.1.1",
"license": "BSD-3-Clause",
"dependencies": {
- "@bokeh/bokehjs": "~3.1.1",
+ "@bokeh/bokehjs": "~3.2.0",
"@luma.gl/constants": "^8.0.3",
"@types/debounce": "^1.2.0",
"@types/gl-matrix": "^2.4.5",
@@ -24,9 +24,9 @@
}
},
"node_modules/@bokeh/bokehjs": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.1.1.tgz",
- "integrity": "sha512-+S3hqhIaOS17Xp0Oy7fB+hhOPe+v3jeIew40sWaH4/DEEMuUmhDZZMFowWhicuwTN9J6Bay9bp/62YJc5Na1Qg==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.2.0.tgz",
+ "integrity": "sha512-YxKpc9IRux99S+SW1vqHA+H8X5nFwPWKQ/xlI14dJPHtnsQKkzPG1qXpWhjN/WBOu/H8urWPfIqBow976F3h0g==",
"engines": {
"node": ">=16.0",
"npm": ">=8.0"
@@ -79,9 +79,9 @@
},
"dependencies": {
"@bokeh/bokehjs": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.1.1.tgz",
- "integrity": "sha512-+S3hqhIaOS17Xp0Oy7fB+hhOPe+v3jeIew40sWaH4/DEEMuUmhDZZMFowWhicuwTN9J6Bay9bp/62YJc5Na1Qg=="
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.2.0.tgz",
+ "integrity": "sha512-YxKpc9IRux99S+SW1vqHA+H8X5nFwPWKQ/xlI14dJPHtnsQKkzPG1qXpWhjN/WBOu/H8urWPfIqBow976F3h0g=="
},
"@luma.gl/constants": {
"version": "8.1.0"
diff --git a/panel/package.json b/panel/package.json
index 97c1ca5b8c..f0596746b1 100644
--- a/panel/package.json
+++ b/panel/package.json
@@ -8,7 +8,7 @@
"url": "https://github.com/holoviz/panel.git"
},
"dependencies": {
- "@bokeh/bokehjs": "~3.1.1",
+ "@bokeh/bokehjs": "~3.2.0",
"@luma.gl/constants": "^8.0.3",
"@types/debounce": "^1.2.0",
"@types/gl-matrix": "^2.4.5",
diff --git a/pyproject.toml b/pyproject.toml
index 3f3eb26c61..a6d69a2050 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,7 +3,7 @@ requires = [
"param >=1.9.2",
"pyct >=0.4.4",
"setuptools >=42",
- "bokeh >=3.1.1,<3.2.0",
+ "bokeh >=3.1.1,<3.3.0",
"pyviz_comms >=0.7.4",
"requests",
"bleach",
diff --git a/setup.py b/setup.py
index 121f34b308..034fd3f899 100644
--- a/setup.py
+++ b/setup.py
@@ -101,7 +101,7 @@ def run(self):
########## dependencies ##########
install_requires = [
- 'bokeh >=3.1.1,<3.2.0',
+ 'bokeh >=3.1.1,<3.3.0',
'param >=1.12.0',
'pyviz_comms >=0.7.4',
'xyzservices >=2021.09.1', # Bokeh dependency, but pyodide 23.0.0 does not always pick it up
@@ -218,7 +218,7 @@ def run(self):
'setuptools >=42',
'requests',
'packaging',
- 'bokeh >=3.1.1,<3.2.0',
+ 'bokeh >=3.1.1,<3.3.0',
'pyviz_comms >=0.7.4',
'bleach',
'tqdm >=4.48.0',

View File

@ -1,3 +1,72 @@
-------------------------------------------------------------------
Sun Sep 17 00:11:57 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to vesion 1.2.2:
* Enhancements:
- Add scroll button, auto-scroll and scroll position options
to Column (gh#holoviz/panel#5245, gh#holoviz/panel#5365,
gh#holoviz/panel#5369, gh#holoviz/panel#5403)
- Add cache busting to server CSS resources
(gh#holoviz/panel#5414)
- Add Tabulator.title_formatters parameter
(gh#holoviz/panel#5421)
- Provide the the accessed path to authorization checks
(gh#holoviz/panel#5386)
- Add Perspective click events (gh#holoviz/panel#5430)
- Add and improve pn.io.hold and pn.io.immediate_dispatch
context managers to control events (gh#holoviz/panel#5444)
- Allow to passing basic_login_template argument to panel
server (gh#holoviz/panel#5454)
* Bug fixes:
- Ensure BasicAuth forwards to original URL after login
(gh#holoviz/panel#5357)
- Correct return types from threading.Thread to
panel.io.server.StoppableThread (gh#holoviz/panel#5396)
- Various guards and fixes ensuring Tabulator re-renders
correctly (gh#holoviz/panel#5410, gh#holoviz/panel#5412)
- Avoid extra executions when executing periodic callback with
counter (gh#holoviz/panel#5344)
- Ensure updates to DataModel are correctly scheduled on the
event loop (gh#holoviz/panel#5360)
- Fixes for displaying single newlines in Markdown output and
add renderer_options (gh#holoviz/panel#5376)
- Allow update of Accordion title without updating content
(gh#holoviz/panel#5413)
- Fix authentication handling when prefix is set
(gh#holoviz/panel#5422)
- Fix serialization issues affecting TextLayer objects in
DeckGL (gh#holoviz/panel#5427)
- Fix height responsiveness of Perspective pane
(gh#holoviz/panel#5429)
- Ensure FileDownload button can be clicked anywhere
(gh#holoviz/panel#5431)
- Ensure ReactiveHTML children are rendered just like other
models (gh#holoviz/panel#5434)
- Set Perspective properties correctly to avoid causing
unfocus on keypresses (gh#holoviz/panel#5432)
- Ensure FloatPanel correctly exposes its children to allow
linking (gh#holoviz/panel#5433)
- Do no reset Tabulator options if DataFrame indexes are
unchanged (gh#holoviz/panel#5436)
- Add ability to work around issues when removing series from
ECharts (gh#holoviz/panel#5435)
- Fix race conditions when initializing and rendering
IPyWidgets in notebooks (gh#holoviz/panel#5462)
- Tweak Accordion CSS to remove gaps and avoid border overlap
(gh#holoviz/panel#5460)
- Ensure columns are deleted when updating traces on Plotly
pane to avoid corruption (gh#holoviz/panel#5464)
- Invalidate layout when TextEditor CSS loads
(gh#holoviz/panel#5465)
- Ensure FloatPanel reflects closed status
(gh#holoviz/panel#5466)
- Fix handling of string dtypes on Perspective pane
(gh#holoviz/panel#5467)
* Documentation updates.
- Drop panel-pr5185-bokeh3.2.patch: incorporated upstream.
- Disable test_local_pdf_file since local pdf file missing from
tarball.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 5 09:12:20 UTC 2023 - Ben Greiner <code@bnavigator.de> Wed Jul 5 09:12:20 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package python-panel
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
@ -26,7 +26,7 @@
%endif %endif
Name: python-panel%{psuffix} Name: python-panel%{psuffix}
Version: 1.1.1 Version: 1.2.2
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
@ -34,8 +34,6 @@ Group: Development/Languages/Python
URL: https://panel.holoviz.org URL: https://panel.holoviz.org
Source: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz
Source99: python-panel-rpmlintrc Source99: python-panel-rpmlintrc
# PATCH-FIX-UPSTREAM panel-pr5185-bokeh3.2.patch gh#holoviz/panel#5185
Patch0: https://github.com/holoviz/panel/pull/5185.patch#/panel-pr5185-bokeh3.2.patch
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module bleach} BuildRequires: %{python_module bleach}
BuildRequires: %{python_module bokeh >= 3.1.1 with %python-bokeh < 3.3} BuildRequires: %{python_module bokeh >= 3.1.1 with %python-bokeh < 3.3}
@ -152,6 +150,8 @@ donttest="$donttest or (test_svg_stretch_ and True)"
donttest="$donttest or test_server_async_callbacks" donttest="$donttest or test_server_async_callbacks"
# 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="$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 # Don't test on 32-bit: asyncio is too flaky
[ $(getconf LONG_BIT) -eq 32 ] && exit 0 [ $(getconf LONG_BIT) -eq 32 ] && exit 0
# #