Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nbformat for openSUSE:Factory 
checked in at 2021-04-15 16:57:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbformat (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbformat.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbformat"

Thu Apr 15 16:57:03 2021 rev:6 rq:884600 version:5.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes  
2020-06-30 21:53:57.854294529 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nbformat.new.12324/python-nbformat.changes   
    2021-04-15 16:57:12.918655121 +0200
@@ -1,0 +2,26 @@
+Sat Apr 10 20:48:39 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 5.1.3
+  * Change id generation to be hash based to avoid problematic
+    word combinations
+  * Added tests for python 3.9
+  * Fixed setup.py build operations to include package data
+- Release 5.1.2
+  * Fixed missing file in manifest
+- Release 5.1.1
+  * Changes convert.upgrade to upgrade minor 4.x versions to 4.5
+- Release 5.1.0
+  * Implemented CellIds from JEP-62
+  * Fixed a regression introduced when using fastjsonschema,
+     which does not directly support to validate a "reference"/
+     "subschema"
+  * Removed unreachable/unneeded code
+  * Added CI workflow for package release on tag push
+- Release 5.0.8
+  * Add optional support for using `fastjsonschema` as the JSON
+    validation library. To enable fast validation, install
+    `fastjsonschema` and set the environment variable
+    `NBFORMAT_VALIDATOR` to the value `fastjsonschema`.
+- Use github archive for full testsuite
+
+-------------------------------------------------------------------

Old:
----
  nbformat-5.0.7.tar.gz

New:
----
  nbformat-5.1.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.BNVvP0/_old  2021-04-15 16:57:13.386655862 +0200
+++ /var/tmp/diff_new_pack.BNVvP0/_new  2021-04-15 16:57:13.390655868 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nbformat
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,20 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define doc_ver 5.0.4
 Name:           python-nbformat
-Version:        5.0.7
+Version:        5.1.3
 Release:        0
 Summary:        The Jupyter Notebook format
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyter/nbformat
-Source:         
https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
+# PyPI sdist has only some schema tests, get the full test suite frim GitHub 
sources
+Source:         %{url}/archive/%{version}.tar.gz#/nbformat-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 Requires:       jupyter-nbformat = %{version}
 Requires:       python-ipython_genutils
 Requires:       python-jsonschema > 2.5.0
@@ -77,16 +80,25 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/jupyter-trust
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %fdupes %{buildroot}%{_docdir}/jupyter-nbformat/
 
 %check
-%pytest -k "not TestNotary and not SQLiteSignatureStoreTests"
+# we don't have the alternative validator, cannot fallback from it
+%pytest -k "not (fastjsonschema or 
test_fallback_validator_with_iter_errors_using_ref)"
+
+%post
+%python_install_alternative jupyter-trust
+
+%postun
+%python_uninstall_alternative jupyter-trust
 
 %files %{python_files}
 %license COPYING.md
 %doc README.md
+%python_alternative jupyter-trust
 %{python_sitelib}/nbformat-%{version}-py*.egg-info
 %{python_sitelib}/nbformat/
 

++++++ nbformat-5.0.7.tar.gz -> nbformat-5.1.3.tar.gz ++++++
++++ 2544 lines of diff (skipped)

Reply via email to