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 2022-09-19 16:37:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbformat (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbformat.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbformat"

Mon Sep 19 16:37:08 2022 rev:12 rq:1004202 version:5.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes  
2022-08-06 22:08:36.342734621 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nbformat.new.2083/python-nbformat.changes    
    2022-09-19 16:37:09.435452466 +0200
@@ -1,0 +2,27 @@
+Tue Sep 13 15:43:42 UTC 2022 - Arun Persaud <a...@gmx.de>
+
+- specfile:
+  * changed to pyproject.toml build using flit-core
+  * require python-pep440 for tests
+
+- update to version 5.5.0:
+  * The biggest change in nbformat 5.5.0 is the deprecation of
+    arguments to validate() that try to fix notebooks errors during
+    validation.
+    validate() is a function that is core to the security model of
+    Jupyter, and is assumed in a number of places to not mutate it's
+    argument, or try to fix notebooks passed to it.
+    Auto fixing of notebook in validate can also hide subtle bugs, and
+    will therefore be updated in a near future to not take any of the
+    argument related to auto-fixing, and fail instead of silently
+    modifying its parameters on invalid notebooks.
+    nbformat now contain a normalize function that will return a
+    normalized copy of a notebook that is suitable for
+    validation. While offered as a convenience we discourage its use
+    and suggest library make sure to generate valid notebooks.
+  * Other changes
+    + nbformat is now built with flit, and uses pyproject.toml
+    + Documentation and Deprecations have been updated with version
+      number and stack levels.
+
+-------------------------------------------------------------------

Old:
----
  nbformat-5.4.0.tar.gz

New:
----
  nbformat-5.5.0.tar.gz

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

Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.yPe2x7/_old  2022-09-19 16:37:10.083453995 +0200
+++ /var/tmp/diff_new_pack.yPe2x7/_new  2022-09-19 16:37:10.091454013 +0200
@@ -20,7 +20,7 @@
 %define doc_ver 5.2.0
 %bcond_without libalternatives
 Name:           python-nbformat
-Version:        5.4.0
+Version:        5.5.0
 Release:        0
 Summary:        The Jupyter Notebook format
 License:        BSD-3-Clause
@@ -29,7 +29,9 @@
 # PyPI sdist has only some schema tests, get the full test suite from GitHub 
sources
 Source:         
https://github.com/jupyter/nbformat/archive/%{version}.tar.gz#/nbformat-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module flit-core >= 3.2}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros >= 20210929
 Requires:       jupyter-nbformat = %{version}
@@ -48,13 +50,14 @@
 Requires(postun):update-alternatives
 %endif
 # SECTION test requirements
-BuildRequires:  %{pythons}
 BuildRequires:  %{python_module fastjsonschema}
 BuildRequires:  %{python_module jsonschema > 2.6}
 BuildRequires:  %{python_module jupyter_core}
+BuildRequires:  %{python_module pep440}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module testpath}
 BuildRequires:  %{python_module traitlets >= 5.1}
+BuildRequires:  %{pythons}
 # /SECTION
 %python_subpackages
 
@@ -84,10 +87,10 @@
 sed -i 's/--color=yes//' pyproject.toml
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/jupyter-trust
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -110,8 +113,8 @@
 %license COPYING.md
 %doc README.md
 %python_alternative jupyter-trust
-%{python_sitelib}/nbformat-%{version}-py*.egg-info
 %{python_sitelib}/nbformat/
+%{python_sitelib}/nbformat-%{version}.dist-info/
 
 %files -n jupyter-nbformat
 %license COPYING.md

++++++ nbformat-5.4.0.tar.gz -> nbformat-5.5.0.tar.gz ++++++
++++ 1754 lines of diff (skipped)

Reply via email to