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-08-06 22:08:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbformat (Old)
and /work/SRC/openSUSE:Factory/.python-nbformat.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbformat"
Sat Aug 6 22:08:23 2022 rev:11 rq:992642 version:5.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbformat/python-nbformat.changes
2022-03-28 16:58:12.964778225 +0200
+++
/work/SRC/openSUSE:Factory/.python-nbformat.new.1521/python-nbformat.changes
2022-08-06 22:08:36.342734621 +0200
@@ -1,0 +2,8 @@
+Wed Aug 3 21:00:07 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 5.4.0
+ * Fix import nbformat.current by @shadchin in #269
+ * Add mypy support by @blink1073 in #270
+ * Packaging updates
+
+-------------------------------------------------------------------
Old:
----
nbformat-5.2.0.tar.gz
New:
----
nbformat-5.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbformat.spec ++++++
--- /var/tmp/diff_new_pack.8Rv2eT/_old 2022-08-06 22:08:36.778735889 +0200
+++ /var/tmp/diff_new_pack.8Rv2eT/_new 2022-08-06 22:08:36.782735901 +0200
@@ -18,28 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define doc_ver 5.2.0
-%if 0%{?suse_version} > 1500
%bcond_without libalternatives
-%else
-%bcond_with libalternatives
-%endif
Name: python-nbformat
-Version: 5.2.0
+Version: 5.4.0
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter/nbformat
# PyPI sdist has only some schema tests, get the full test suite from GitHub
sources
-Source: %{url}/archive/%{version}.tar.gz#/nbformat-%{version}.tar.gz
+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: fdupes
BuildRequires: python-rpm-macros >= 20210929
-BuildRequires: unzip
Requires: jupyter-nbformat = %{version}
-Requires: python-jsonschema > 2.5.0
+Requires: python-fastjsonschema
+Requires: python-jsonschema > 2.6
Requires: python-jupyter_core
-Requires: python-traitlets >= 4.1
+Requires: python-traitlets >= 5.1
Provides: python-jupyter_nbformat = %{version}
Obsoletes: python-jupyter_nbformat < %{version}
BuildArch: noarch
@@ -52,11 +49,12 @@
%endif
# SECTION test requirements
BuildRequires: %{pythons}
-BuildRequires: %{python_module jsonschema > 2.5.0}
+BuildRequires: %{python_module fastjsonschema}
+BuildRequires: %{python_module jsonschema > 2.6}
BuildRequires: %{python_module jupyter_core}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testpath}
-BuildRequires: %{python_module traitlets >= 4.1}
+BuildRequires: %{python_module traitlets >= 5.1}
# /SECTION
%python_subpackages
@@ -83,6 +81,7 @@
%prep
%setup -q -n nbformat-%{version}
+sed -i 's/--color=yes//' pyproject.toml
%build
%python_build
@@ -95,8 +94,7 @@
%fdupes %{buildroot}%{_docdir}/jupyter-nbformat/
%check
-# we don't have the alternative validator, cannot fallback from it
-%pytest -k "not (fastjsonschema or
test_fallback_validator_with_iter_errors_using_ref)"
+%pytest
%pre
# If libalternatives is used: Removing old update-alternatives entries.
++++++ nbformat-5.2.0.tar.gz -> nbformat-5.4.0.tar.gz ++++++
++++ 16257 lines of diff (skipped)