- Update to 0.12.40
* fix: remove numpy upper bound pin by @maartenbreddels in #1601 * fix: background color of figure was not computed properly by @maartenbreddels in #1603 * fix: axis formatting depended on initial values or changes #1541 * fix: resize not always working by @mariobuikhuizen in #1598 * Backport PR #1511 on branch 0.12.x (Fix missing interpolation options) by @meeseeksmachine in #1525 * feature: custom axis labeling from kernel side (tick_labels). by @maartenbreddels in #1526 * Backport PR #1506 on branch 0.12.x (Add +, x and . as markers) by @meeseeksmachine in #1529 * Backport PR #1505 on branch 0.12.x (Plotting Widgets) by @meeseeksmachine in #1530 * Backport PR #1539: fix: figure is not updating when margins change by @mariobuikhuizen in #1581 * Backport resize observer PR #1531 by @martinRenou in #1593 * fix: panning in a by CSS rotated plot doesn't work correctly by @mariobuikhuizen in #1585 * Fix luminowidget error for ipywidgets 7 by @martinRenou in #1523 * Exclude tests top-level package, add some JupyterLab trove classifiers by @meeseeksmachine in #1518 * Fix processPhosphorMessage for ipywidgets 7 by @meeseeksmachine in #1522 * ipywidgets 8 support by @martinRenou in #1517 * fix: line label invisible in dark theme by @meeseeksmachine in #1472 * Add default color CSS selectors to node text by OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-bqplot?expand=0&rev=29
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bqplot
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,11 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define pyver 0.12.31
|
||||
%define jupver 0.5.32
|
||||
%define pyver 0.12.40
|
||||
%define jupver 0.5.41
|
||||
Name: python-bqplot
|
||||
Version: %{pyver}
|
||||
Release: 0
|
||||
@@ -32,26 +29,28 @@ Source0: https://files.pythonhosted.org/packages/source/b/bqplot/bqplot-%
|
||||
# tests from GitHub source
|
||||
Source1: https://github.com/bqplot/bqplot/archive/refs/tags/%{pyver}.tar.gz#/bqplot-%{pyver}-gh.tar.gz
|
||||
BuildRequires: %{python_module jupyter-packaging}
|
||||
BuildRequires: %{python_module notebook}
|
||||
BuildRequires: %{python_module jupyterlab}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-jupyterlab-filesystem >= 20211114
|
||||
BuildRequires: jupyter-notebook-filesystem
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: jupyter-bqplot-notebook = %{jupver}
|
||||
Requires: python-ipywidgets >= 7.5.0
|
||||
Requires: python-numpy >= 1.10.4
|
||||
Requires: python-pandas
|
||||
Requires: python-traitlets >= 4.3.0
|
||||
Requires: python-traittypes >= 0.0.6
|
||||
Requires: (python-ipywidgets >= 7.5.0 with python-ipywidgets < 9)
|
||||
Requires: (python-pandas >= 1 with python-pandas < 3)
|
||||
Provides: python-jupyter_bqplot = %{pyver}
|
||||
Obsoletes: python-jupyter_bqplot < %{pyver}
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module ipywidgets >= 7.5.0}
|
||||
BuildRequires: %{python_module ipywidgets >= 7.5.0 with %python-ipywidgets < 9}
|
||||
BuildRequires: %{python_module nbval}
|
||||
BuildRequires: %{python_module numpy >= 1.10.4}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pandas >= 1 with %python-pandas < 3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module traitlets >= 4.3.0}
|
||||
BuildRequires: %{python_module traittypes >= 0.0.6}
|
||||
@@ -97,10 +96,10 @@ tar -x --strip-components=1 -f %{SOURCE1} bqplot-%{pyver}/{tests,ui-tests}
|
||||
rm bqplot/install.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
mkdir -p %{buildroot}%{_jupyter_confdir}
|
||||
cp -r etc/jupyter/* %{buildroot}%{_jupyter_confdir}/
|
||||
cp -r share/ %{buildroot}%{_datadir}
|
||||
@@ -117,7 +116,7 @@ cp -r share/ %{buildroot}%{_datadir}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/bqplot/
|
||||
%{python_sitelib}/bqplot-%{pyver}*-info
|
||||
%{python_sitelib}/bqplot-%{pyver}.dist-info
|
||||
|
||||
%files -n jupyter-bqplot-notebook
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user