Accepting request 856670 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/856670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbval?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2020-12-17 16:06:08 +00:00 committed by Git OBS Bridge
commit 0999fb9009
4 changed files with 22 additions and 5 deletions

View File

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

3
nbval-0.9.6.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Dec 17 12:12:35 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 0.9.6
* fix compatibility with pytest >= 6 and python 3.8
- enable tests
-------------------------------------------------------------------
Tue Dec 15 12:52:44 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Provide the old jupyter package name only for the primary
Python3 interpreter -- gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Mon Feb 24 15:50:14 UTC 2020 - Todd R <toddrme2178@gmail.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-nbval
Version: 0.9.5
Version: 0.9.6
Release: 0
Summary: A pytest plugin to validate Jupyter notebooks
License: BSD-3-Clause
@ -60,7 +60,7 @@ BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module six}
BuildRequires: %{python_module sympy}
# /SECTION
%ifpython3
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: jupyter-nbval = %{version}
%endif
%python_subpackages
@ -91,6 +91,10 @@ export LANG=en_US.UTF-8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# see dodo.py
%pytest tests/ --nbval --current-env --sanitize-with tests/sanitize_defaults.cfg --ignore tests/ipynb-test-samples
%files %{python_files}
%doc README.md
%license LICENSE