- Update to 3.6.1
## bugfixes: * #14082 [BUG] p.circle(..) can't be added as renderer to PointDrawTool since 3.6 * #14090 [component: bokehjs] [BUG] Google Chrome 130 fails to draw figure, throws `TypeError: Failed to execute 'fill' on 'CanvasRenderingContext2D'` * #14107 [component: bokehjs] [BUG] Loss of mobile touch scrolling with update to Bokeh 3.6.0 ## tasks: * #14096 Backports for 3.6.1 - Release 3.6.0 ## bugfixes: * #4951 ModelExtensions - all resources from a whole module are loaded * #7524 GroupFilter only accepts strings * #13827 [component: bokehjs] [BUG] Lack of range expansion when there remains unbounded directions, even when `maintain_focus=False` * #13886 [component: bokehjs] [BUG] NPM package has types (*.d.ts) in incorrect location * #13957 [component: bokehjs] Explicit selection glyph example broken * #13959 [BUG] Reset Tool Error in Bokeh Gridplot with Single Plot * #13964 [component: bokehjs] [BUG] page won't render if CustomJS args has a dict with key "constructor" * #13965 [component: bokehjs] [BUG] CategoricalSlider shows ‘undefined’ value and skip that value * #13972 BOKEH_MINIFIED not working OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-bokeh?expand=0&rev=97
This commit is contained in:
commit
2ebfa968cb
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>
|
||||
<flavor>test</flavor>
|
||||
</multibuild>
|
3
bokeh-3.4.1-gh.tar.gz
Normal file
3
bokeh-3.4.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e670b1a8fed6eeacbba15f1a0f862184e4d1ebcda38d7d4029555a6e393908f5
|
||||
size 44881021
|
3
bokeh-3.4.1.tar.gz
Normal file
3
bokeh-3.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d824961e4265367b0750ce58b07e564ad0b83ca64b335521cd3421e9b9f10d89
|
||||
size 6402286
|
3
bokeh-3.4.2-gh.tar.gz
Normal file
3
bokeh-3.4.2-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd7bf0bb0021b841613c7d078b8ae8bb9814e10af64344ec719f78a7e6eb9b94
|
||||
size 44896567
|
3
bokeh-3.4.2.tar.gz
Normal file
3
bokeh-3.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a16d5cc0abb93d2d270d70fc35851f3e1b9208814a985a4678e0ba5ef2d9cd42
|
||||
size 6409417
|
3
bokeh-3.5.2-gh.tar.gz
Normal file
3
bokeh-3.5.2-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9f7facd8520a9203adeb4d796e87c3b1b52c0f2f0dbbc9e5b1acdc025c0dd0c5
|
||||
size 45466176
|
3
bokeh-3.5.2.tar.gz
Normal file
3
bokeh-3.5.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:03a54a67db677b8881834271c620a781b383ae593af5c3ea2149164754440d07
|
||||
size 6163320
|
3
bokeh-3.6.1-gh.tar.gz
Normal file
3
bokeh-3.6.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb1dd296c05a88eafaa176b88af7ecef55741279858f911c970e8ed55f5bae92
|
||||
size 45544139
|
3
bokeh-3.6.1.tar.gz
Normal file
3
bokeh-3.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:04d3fb5fac871423f38e4535838164cd90c3d32e707bcb74c8bf991ed28878fc
|
||||
size 6246963
|
5172
python-bokeh.changes
Normal file
5172
python-bokeh.changes
Normal file
File diff suppressed because it is too large
Load Diff
209
python-bokeh.spec
Normal file
209
python-bokeh.spec
Normal file
@ -0,0 +1,209 @@
|
||||
#
|
||||
# spec file for package python-bokeh
|
||||
#
|
||||
# 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
|
||||
|
||||
# too many flaky timeouts on obs servers
|
||||
%bcond_with testexamples
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-bokeh%{psuffix}
|
||||
Version: 3.6.1
|
||||
Release: 0
|
||||
Summary: Interactive plots and applications in the browser from Python
|
||||
License: BSD-3-Clause
|
||||
URL: https://bokeh.org/
|
||||
# Source-URL: https://github.com/bokeh/bokeh/
|
||||
# PyPI sdist for the precompiled JS files
|
||||
# in order to build the JS on our own, need to resolve gh#openSUSE/obs-service-node_modules#43
|
||||
Source0: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz
|
||||
# Github repo for the tests
|
||||
Source1: https://github.com/bokeh/bokeh/archive/refs/tags/%{version}.tar.gz#/bokeh-%{version}-gh.tar.gz
|
||||
# Only present in the GH tarball, not extracted during non-test builds
|
||||
Source2: https://raw.githubusercontent.com/bokeh/bokeh/%{version}/docs/CHANGELOG
|
||||
BuildRequires: %{python_module Jinja2 >= 2.9}
|
||||
BuildRequires: %{python_module Pillow >= 7.1.0}
|
||||
BuildRequires: %{python_module PyYAML >= 3.10}
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module contourpy >= 1.2}
|
||||
BuildRequires: %{python_module numpy >= 1.16}
|
||||
BuildRequires: %{python_module packaging >= 16.8}
|
||||
BuildRequires: %{python_module pandas >= 1.2}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools-git-versioning}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tornado >= 6.2}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module xyzservices >= 2021.9.1 }
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Jinja2 >= 2.9
|
||||
Requires: python-Pillow >= 7.1.0
|
||||
Requires: python-PyYAML >= 3.10
|
||||
Requires: python-contourpy >= 1.2
|
||||
Requires: python-numpy >= 1.16
|
||||
Requires: python-packaging >= 16.8
|
||||
Requires: python-pandas >= 1.2
|
||||
Requires: python-tornado >= 6.2
|
||||
Requires: python-xyzservices >= 2021.9.1
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module bokeh = %{version}}
|
||||
BuildRequires: %{python_module colorcet}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module icalendar}
|
||||
BuildRequires: %{python_module ipython}
|
||||
BuildRequires: %{python_module json5}
|
||||
%ifarch %{ix86}
|
||||
BuildRequires: %{python_module nbconvert >= 5.4}
|
||||
%endif
|
||||
BuildRequires: %{python_module nbformat}
|
||||
BuildRequires: %{python_module networkx}
|
||||
BuildRequires: %{python_module notebook}
|
||||
BuildRequires: %{python_module pandas-datareader}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pydot}
|
||||
BuildRequires: %{python_module pygraphviz}
|
||||
BuildRequires: %{python_module pyshp}
|
||||
BuildRequires: %{python_module pytest-asyncio >= 0.18.1 with %python-pytest-asyncio < 0.23}
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 1.2.3}
|
||||
BuildRequires: %{python_module requests-unixsocket}
|
||||
BuildRequires: %{python_module scikit-learn}
|
||||
BuildRequires: %{python_module selenium}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: npm
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Bokeh is an interactive visualization library for modern web browsers.
|
||||
It provides elegant, concise construction of versatile graphics and affords
|
||||
high-performance interactivity across large or streaming datasets.
|
||||
Bokeh can help anyone who wants to create interactive plots, dashboards,
|
||||
and data applications quickly and easily.
|
||||
|
||||
%prep
|
||||
%if !%{with test}
|
||||
%setup -q -n bokeh-%{version}
|
||||
cp %{SOURCE2} ./
|
||||
%else
|
||||
%setup -q -n bokeh-%{version} -T -b1
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
# Needs the JS files prepackaged in src/bokeh/server/static/, marked by PKG-INFO in sdist
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/bokeh
|
||||
|
||||
%python_expand find %{buildroot}%{$python_sitelib}/typings -name __init__.pyi -size 0 -delete
|
||||
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# npm can't build inside obs without network
|
||||
deselectname="test_bokehjs or test_ext_commands"
|
||||
%if %{with testexamples}
|
||||
# loads external font
|
||||
deselectname+=" or (test_examples and font-awesome)"
|
||||
# no squarify
|
||||
deselectname+=" or (test_examples and treemap)"
|
||||
%else
|
||||
# too many flaky timeouts on obs servers
|
||||
deselectname+=" or test_examples"
|
||||
%endif
|
||||
# testfile not available
|
||||
deselectname+=" or test_with_INLINE_resources"
|
||||
deselectname+=" or test_with_CDN_resources"
|
||||
deselectname+=" or test_with_Server_resources"
|
||||
deselectname+=" or test_with_Server_resources_dev"
|
||||
deselectname+=" or test_cross"
|
||||
# does not expect pytest-$binsuffix
|
||||
deselectname+=" or test_detect_current_filename"
|
||||
# cannot open socket / address already in use / no pattern detected
|
||||
deselectname+=" or (test_server and test_address)"
|
||||
deselectname+=" or (test_serve and printed)"
|
||||
deselectname+=" or test__ioloop_not_forcibly_stopped"
|
||||
# not json5 serializable
|
||||
deselectname+=" or test_defaults or test_bool"
|
||||
# flaky timeouts
|
||||
deselectname+=" or (test_deprecation and (test_since or test_message))"
|
||||
deselectname+=" or (test_document_lifecycle and test_document_on_session_destroyed_exceptions)"
|
||||
# test can't list modules correctly in test environment
|
||||
deselectname+=" or (codebase and combined)"
|
||||
# extraneous fields
|
||||
deselectname+=" or test_serialization_data_models"
|
||||
# linting and code structure irrelevant for rpm package
|
||||
deselectname+=" or test_ruff or test_isort or test_eslint or test_code_quality or test_no_request_host"
|
||||
# no driver (chromedriver only x86_64)
|
||||
deselectname+=" or Test_webdriver_control or test_adding_periodic_twice"
|
||||
# fails when tested with pytest-xdist
|
||||
deselectname+=" or (TestModelCls and test_get_class)"
|
||||
deselectname+=" or test_external_js_and_css_resource_ordering"
|
||||
# No vermin pkg for openSUSE
|
||||
deselectname+=" or test_vermin"
|
||||
# network
|
||||
deselectname+=" or test__use_provided_session_header_autoload"
|
||||
# No sampledata
|
||||
rm -fr tests/unit/bokeh/sampledata
|
||||
deselectname+=" or test_contour or test_sampledata__util"
|
||||
# Needed for writing fontconfig cache dir
|
||||
export HOME=$PWD
|
||||
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
|
||||
%pytest -v -m "not selenium" -k "not ($deselectname)" --no-js -W ignore::DeprecationWarning -n auto
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative bokeh
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative bokeh
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.md CHANGELOG
|
||||
%python_alternative %{_bindir}/bokeh
|
||||
%{python_sitelib}/bokeh/
|
||||
%{python_sitelib}/bokeh-%{version}*-info
|
||||
%{python_sitelib}/typings/
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user