diff --git a/python-python-sofa.changes b/python-python-sofa.changes index 57f0250..e841d18 100644 --- a/python-python-sofa.changes +++ b/python-python-sofa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 17 16:49:25 UTC 2021 - Ben Greiner + +- Sanitize absolute import path for Python 3.9 nbval test + ------------------------------------------------------------------- Mon Mar 8 16:30:44 UTC 2021 - Ben Greiner diff --git a/python-python-sofa.spec b/python-python-sofa.spec index 126f066..0d59067 100644 --- a/python-python-sofa.spec +++ b/python-python-sofa.spec @@ -63,11 +63,17 @@ by the SOFA conventions (version 1.0). %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -echo '[regex1] +echo " +[regex1] regex: DateCreated: .* replace: DateCreated: 0000-00-00 00:00:00 -' > nodate.cfg -%pytest --nbval --sanitize-with nodate.cfg doc/examples/SOFA-file-access.ipynb + +[regex2] +regex: nbval_sanitize.cfg +%pytest --nbval --sanitize-with nbval_sanitize.cfg doc/examples/SOFA-file-access.ipynb %files %{python_files} %doc README.rst