Accepting request 874169 from home:bnavigator:branches:devel:languages:python:numeric
- Skip python36 build: With NumPy 1.20, python36-numpy is no longer available in Tumbleweed (NEP 29) - The downside of not testing: This was only detected by packages depending on bokeh. As a mitigation move the runtime requirements to unconditional BuildRequires. OBS-URL: https://build.opensuse.org/request/show/874169 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-bokeh?expand=0&rev=38
This commit is contained in:
parent
b7bb9629f0
commit
2de352b98d
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 21 17:02:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Skip python36 build: With NumPy 1.20, python36-numpy is no
|
||||||
|
longer available in Tumbleweed (NEP 29)
|
||||||
|
- The downside of not testing: This was only detected by packages
|
||||||
|
depending on bokeh. As a mitigation move the runtime requirements
|
||||||
|
to unconditional BuildRequires.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 21 22:22:11 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
Wed Oct 21 22:22:11 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bokeh
|
# spec file for package python-bokeh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,13 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Tests fail due to missing git data,
|
# tests suite disabled by default. See below.
|
||||||
# and building the JS from source doesn't work (tested as of version 2.2.0)
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
# PACKAGE NO LONGER SUPPORTS PYTHON2
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
%define skip_python36 1
|
||||||
Name: python-bokeh
|
Name: python-bokeh
|
||||||
Version: 2.2.3
|
Version: 2.2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -30,32 +28,36 @@ Summary: Statistical interactive HTML plots for Python
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/bokeh/bokeh/
|
URL: https://github.com/bokeh/bokeh/
|
||||||
Source: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module Jinja2 >= 2.7}
|
||||||
|
BuildRequires: %{python_module Pillow >= 7.1.0}
|
||||||
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module numpy >= 1.11.3}
|
||||||
|
BuildRequires: %{python_module packaging >= 16.8}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module tornado >= 5.1}
|
||||||
|
BuildRequires: %{python_module typing_extensions >= 3.7.4}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module Jinja2 >= 2.7}
|
BuildRequires: %{python_module beautifulsoup4}
|
||||||
BuildRequires: %{python_module Pillow >= 4.0}
|
BuildRequires: %{python_module flaky}
|
||||||
BuildRequires: %{python_module PyYAML >= 3.10}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module numpy >= 1.11.3}
|
|
||||||
BuildRequires: %{python_module packaging >= 16.8}
|
|
||||||
BuildRequires: %{python_module python-dateutil >= 2.1}
|
BuildRequires: %{python_module python-dateutil >= 2.1}
|
||||||
BuildRequires: %{python_module selenium}
|
BuildRequires: %{python_module selenium}
|
||||||
BuildRequires: %{python_module tornado >= 5}
|
# Note: If you manage to activate the test suite, try to patch external mock out.
|
||||||
BuildRequires: %{python_module typing_extensions >= 3.7.4}
|
BuildRequires: %{python_module mock}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildConflicts: python-buildservice-tweak
|
BuildConflicts: python-buildservice-tweak
|
||||||
Requires: python-Jinja2 >= 2.7
|
Requires: python-Jinja2 >= 2.7
|
||||||
Requires: python-Pillow >= 4.0
|
Requires: python-Pillow >= 7.1.0
|
||||||
Requires: python-PyYAML >= 3.10
|
Requires: python-PyYAML >= 3.10
|
||||||
Requires: python-numpy >= 1.11.3
|
Requires: python-numpy >= 1.11.3
|
||||||
Requires: python-packaging >= 16.8
|
Requires: python-packaging >= 16.8
|
||||||
Requires: python-python-dateutil >= 2.1
|
Requires: python-python-dateutil >= 2.1
|
||||||
Requires: python-selenium
|
Requires: python-tornado >= 5.1
|
||||||
Requires: python-tornado >= 5
|
|
||||||
Requires: python-typing_extensions >= 3.7.4
|
Requires: python-typing_extensions >= 3.7.4
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@ -88,7 +90,9 @@ with interactivity over large or streaming datasets.
|
|||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
# Running the test suite (with datafiles from the GitHub archive) fails
|
||||||
|
# due to missing server/client setups, chromedriver, selenium etc.
|
||||||
|
%pytest --no-js
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user