Hello community, here is the log from the commit of package python-nbdime for openSUSE:Factory checked in at 2019-09-26 20:37:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbdime (Old) and /work/SRC/openSUSE:Factory/.python-nbdime.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbdime" Thu Sep 26 20:37:02 2019 rev:2 rq:726526 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbdime/python-nbdime.changes 2019-05-22 11:13:06.134569003 +0200 +++ /work/SRC/openSUSE:Factory/.python-nbdime.new.2352/python-nbdime.changes 2019-09-26 20:37:02.843213677 +0200 @@ -1,0 +2,22 @@ +Tue Aug 20 14:38:49 UTC 2019 - Todd R <[email protected]> + +- Tests require jsonschema 3. + +------------------------------------------------------------------- +Sun Aug 11 03:39:51 UTC 2019 - Todd R <[email protected]> + +- Update to 1.1.0 + * Add rest API for server extension for handling pure git diffs + of notebooks. This allows for a cleaner call without prefixing + the filename etc. This is currently only available on the + server extension, but can be moved to the main server if there + is demand. +- Update to 1.0.7 + * Fixes an issue using config files (PR #476). + * Upgrades to using lab 1.0 components, which also allows lab + extension to support lab 1.0. +- Update to 1.0.6 + * Fixed a styling regression from 1.0.5, where the web text panes + had incorrect styling (most notably incorrect widths). + +------------------------------------------------------------------- Old: ---- nbdime-1.0.5-py2.py3-none-any.whl New: ---- nbdime-1.1.0-py2.py3-none-any.whl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbdime.spec ++++++ --- /var/tmp/diff_new_pack.geJM4u/_old 2019-09-26 20:37:03.563211753 +0200 +++ /var/tmp/diff_new_pack.geJM4u/_new 2019-09-26 20:37:03.563211753 +0200 @@ -17,8 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define mainver 1.0.5 -%define labver 0.6.1 +%define mainver 1.1.0 +%define labver 1.0.0 Name: python-nbdime Version: %{mainver} Release: 0 @@ -37,12 +37,17 @@ BuildRequires: %{python_module six} BuildRequires: %{python_module tornado} BuildRequires: fdupes -BuildRequires: jupyter-jupyterlab +BuildRequires: jupyter-jupyterlab-filesystem BuildRequires: python-rpm-macros BuildRequires: unzip BuildRequires: zip BuildRequires: python-backports.functools_lru_cache BuildRequires: python-backports.shutil_which +# SECTION test requirements +BuildRequires: %{python_module jsonschema > 3} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +# /SECTION Requires: jupyter-nbdime = %{mainver} Requires: python-GitPython >= 2.1.6 Requires: python-Jinja2 >= 2.9 @@ -133,7 +138,8 @@ %prep %setup -q -c -T unzip %{SOURCE0} 'nbdime/*' -find nbdime/ -type f -name "*.py" -exec sed -i 's/\r$//' {} + +find . -type f -name "*.py" -exec sed -i 's/\r$//' {} + +find . -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} + find nbdime/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} + zip -r %{SOURCE0} nbdime rm -rf nbdime @@ -150,6 +156,12 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}} +%check +export PATH=$PATH:%{buildroot}%{_bindir} +git config --global user.email "[email protected]" +git config --global user.name "tester" +%pytest %{buildroot}%{python3_sitelib}/nbdime/ + %files %{python_files} %license %{python_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md %{python_sitelib}/nbdime/
