17
0

Accepting request 893817 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/893817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-sofa?expand=0&rev=5
This commit is contained in:
2021-05-18 16:26:56 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 17 16:49:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Sanitize absolute import path for Python 3.9 nbval test
-------------------------------------------------------------------
Mon Mar 8 16:30:44 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -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: <module 'sofa' from '.*'
replace: <module 'sofa' from 'somewhere'
" > nbval_sanitize.cfg
%pytest --nbval --sanitize-with nbval_sanitize.cfg doc/examples/SOFA-file-access.ipynb
%files %{python_files}
%doc README.rst