Accepting request 1166738 from home:badshah400:branches:devel:languages:python:numeric

- Update to version 3.4.0:
  * Too many changes to list, see
    %{_docdir}/python3<N>-bokeh/CHANGELOG.
- Add CHANGELOG file as Source; it is missing from PyPI tarballs.
- Drop bokeh-sampledata.tar.xz as tarball cannot be checked
  against upstream (it is generated locally by the packager and
  liable to be compromised); delete or disable tests depending on
  sampledata.
- Drop python-nbconvert requirement for test flavour on `%ix86`,
  where it is unavailable and disable related tests; make tests
  flavour arch dependent.

OBS-URL: https://build.opensuse.org/request/show/1166738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-bokeh?expand=0&rev=87
This commit is contained in:
Matej Cepl 2024-04-15 14:10:18 +00:00 committed by Git OBS Bridge
parent 575194ca68
commit 7fd71277dd
8 changed files with 1730 additions and 15 deletions

1698
CHANGELOG Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

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

3
bokeh-3.4.0-gh.tar.gz Normal file
View File

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

3
bokeh-3.4.0.tar.gz Normal file
View File

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

BIN
bokeh-sampledata.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Apr 4 08:57:43 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.4.0:
* Too many changes to list, see
%{_docdir}/python3<N>-bokeh/CHANGELOG.
- Add CHANGELOG file as Source; it is missing from PyPI tarballs.
- Drop bokeh-sampledata.tar.xz as tarball cannot be checked
against upstream (it is generated locally by the packager and
liable to be compromised); delete or disable tests depending on
sampledata.
- Drop python-nbconvert requirement for test flavour on `%ix86`,
where it is unavailable.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 4 21:19:00 UTC 2024 - Ben Greiner <code@bnavigator.de> Mon Mar 4 21:19:00 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -29,7 +29,7 @@
%bcond_with testexamples %bcond_with testexamples
Name: python-bokeh%{psuffix} Name: python-bokeh%{psuffix}
Version: 3.3.4 Version: 3.4.0
Release: 0 Release: 0
Summary: Statistical interactive HTML plots for Python Summary: Statistical interactive HTML plots for Python
License: BSD-3-Clause License: BSD-3-Clause
@ -39,8 +39,8 @@ URL: https://bokeh.org/
Source0: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz
# for the tests # for the tests
Source1: https://github.com/bokeh/bokeh/archive/refs/tags/%{version}.tar.gz#/bokeh-%{version}-gh.tar.gz Source1: https://github.com/bokeh/bokeh/archive/refs/tags/%{version}.tar.gz#/bokeh-%{version}-gh.tar.gz
# Sampledata: `rm -rf .bokeh && HOME=$PWD bokeh sampledata && tar cJf bokeh-sampledata.tar.xz .bokeh` # Only present in the GH tarball, not extracted during non-test builds
Source99: bokeh-sampledata.tar.xz Source2: https://github.com/bokeh/bokeh/blob/%{version}/docs/CHANGELOG
BuildRequires: %{python_module Jinja2 >= 2.9} BuildRequires: %{python_module Jinja2 >= 2.9}
BuildRequires: %{python_module Pillow >= 7.1.0} BuildRequires: %{python_module Pillow >= 7.1.0}
BuildRequires: %{python_module PyYAML >= 3.10} BuildRequires: %{python_module PyYAML >= 3.10}
@ -80,7 +80,9 @@ BuildRequires: %{python_module flaky}
BuildRequires: %{python_module icalendar} BuildRequires: %{python_module icalendar}
BuildRequires: %{python_module ipython} BuildRequires: %{python_module ipython}
BuildRequires: %{python_module json5} BuildRequires: %{python_module json5}
%ifarch %{ix86}
BuildRequires: %{python_module nbconvert >= 5.4} BuildRequires: %{python_module nbconvert >= 5.4}
%endif
BuildRequires: %{python_module networkx} BuildRequires: %{python_module networkx}
BuildRequires: %{python_module pandas-datareader} BuildRequires: %{python_module pandas-datareader}
BuildRequires: %{python_module pandas} BuildRequires: %{python_module pandas}
@ -111,8 +113,9 @@ with interactivity over large or streaming datasets.
%prep %prep
%if !%{with test} %if !%{with test}
%setup -q -n bokeh-%{version} %setup -q -n bokeh-%{version}
cp %{SOURCE2} ./
%else %else
%setup -q -n bokeh-%{version} -T -b1 -a99 %setup -q -n bokeh-%{version} -T -b1
%endif %endif
%if !%{with test} %if !%{with test}
@ -174,7 +177,10 @@ deselectname+=" or test_external_js_and_css_resource_ordering"
deselectname+=" or test_vermin" deselectname+=" or test_vermin"
# network # network
deselectname+=" or test__use_provided_session_header_autoload" deselectname+=" or test__use_provided_session_header_autoload"
# for finding the sampledata (packaged in Source99) # 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 HOME=$PWD
export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./) export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
%pytest -v -m "not selenium" -k "not ($deselectname)" --no-js -n auto %pytest -v -m "not selenium" -k "not ($deselectname)" --no-js -n auto
@ -189,7 +195,7 @@ export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./)
%if !%{with test} %if !%{with test}
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc README.md %doc README.md CHANGELOG
%python_alternative %{_bindir}/bokeh %python_alternative %{_bindir}/bokeh
%{python_sitelib}/bokeh/ %{python_sitelib}/bokeh/
%{python_sitelib}/bokeh-%{version}*-info %{python_sitelib}/bokeh-%{version}*-info