From 75654246856b959b0eae53d941e329e1679c533fb03a4eadd7ff59b28c1ab988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 17 Dec 2020 12:32:57 +0000 Subject: [PATCH] Accepting request 856663 from home:bnavigator:branches:devel:languages:python:jupyter - Update to 0.9.6 * fix compatibility with pytest >= 6 and python 3.8 - enable tests - Provide the old jupyter package name only for the primary Python3 interpreter -- gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/856663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbval?expand=0&rev=13 --- nbval-0.9.5.tar.gz | 3 --- nbval-0.9.6.tar.gz | 3 +++ python-nbval.changes | 13 +++++++++++++ python-nbval.spec | 8 ++++++-- 4 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 nbval-0.9.5.tar.gz create mode 100644 nbval-0.9.6.tar.gz diff --git a/nbval-0.9.5.tar.gz b/nbval-0.9.5.tar.gz deleted file mode 100644 index 8b258a6..0000000 --- a/nbval-0.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8727bb54ae844368fd17a40c15f3bf2ae64be6ec3a9ac1433e0155ddeb902f6 -size 60761 diff --git a/nbval-0.9.6.tar.gz b/nbval-0.9.6.tar.gz new file mode 100644 index 0000000..24c593e --- /dev/null +++ b/nbval-0.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfefcd2ef66ee2d337d0b252c6bcec4023384eb32e8b9e5fcc3ac80ab8cd7d40 +size 60932 diff --git a/python-nbval.changes b/python-nbval.changes index 8871854..d294faf 100644 --- a/python-nbval.changes +++ b/python-nbval.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Dec 17 12:12:35 UTC 2020 - Benjamin Greiner + +- 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 + +- 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 diff --git a/python-nbval.spec b/python-nbval.spec index dde507c..c887f11 100644 --- a/python-nbval.spec +++ b/python-nbval.spec @@ -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