From 782364eb910dba863b584e95a3184eb17973b7039242908df472146b371b2fb8 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 23 Mar 2022 19:11:54 +0000 Subject: [PATCH] Accepting request 964361 from home:bnavigator:branches:devel:languages:python:jupyter - Update to 5.2.0 OBS-URL: https://build.opensuse.org/request/show/964361 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=22 --- nbformat-5.1.3.tar.gz | 3 --- nbformat-5.2.0.tar.gz | 3 +++ python-nbformat.changes | 23 +++++++++++++++++++++++ python-nbformat.spec | 28 +++++++++++++--------------- 4 files changed, 39 insertions(+), 18 deletions(-) delete mode 100644 nbformat-5.1.3.tar.gz create mode 100644 nbformat-5.2.0.tar.gz diff --git a/nbformat-5.1.3.tar.gz b/nbformat-5.1.3.tar.gz deleted file mode 100644 index 446bd80..0000000 --- a/nbformat-5.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:437b72e20eaa76230cdfe48cf388551a1ebc5880e9251aa7f614dbc4680c9ea3 -size 130922 diff --git a/nbformat-5.2.0.tar.gz b/nbformat-5.2.0.tar.gz new file mode 100644 index 0000000..663ef71 --- /dev/null +++ b/nbformat-5.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6316813f0f3e447012cb467375b14967cb9327766b04f681c5481a0d9321e525 +size 133519 diff --git a/python-nbformat.changes b/python-nbformat.changes index 6902be1..87a79ea 100644 --- a/python-nbformat.changes +++ b/python-nbformat.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Mar 23 19:04:57 UTC 2022 - Ben Greiner + +- Update dependencies + +------------------------------------------------------------------- +Sat Mar 12 04:48:45 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + +- update to version 5.2.0: + * Add ability to capture validation errors + * Update supported python versions + * Ensure nbformat minor version is present when upgrading + * Only fix cell ID validation issues if asked + * Return the notebook when no conversion is needed + * Catch AttributeErrors stemming from ipython_genutils as + ValidationErrors on read + * Don't list pytest-cov as a test dependency + * Remove dependency on IPython genutils + * Include tests in sdist but not wheel + ------------------------------------------------------------------- Mon Nov 15 16:22:11 UTC 2021 - schubi diff --git a/python-nbformat.spec b/python-nbformat.spec index d073040..84908fe 100644 --- a/python-nbformat.spec +++ b/python-nbformat.spec @@ -1,7 +1,7 @@ # # spec file for package python-nbformat # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,44 +16,42 @@ # +%{?!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 - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define doc_ver 5.0.4 Name: python-nbformat -Version: 5.1.3 +Version: 5.2.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 frim GitHub sources +# 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 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 BuildRequires: unzip -%if %{with libalternatives} -Requires: alts -BuildRequires: alts -%else -Requires(post): update-alternatives -Requires(postun):update-alternatives -%endif Requires: jupyter-nbformat = %{version} -Requires: python-ipython_genutils Requires: python-jsonschema > 2.5.0 Requires: python-jupyter_core Requires: python-traitlets >= 4.1 Provides: python-jupyter_nbformat = %{version} Obsoletes: python-jupyter_nbformat < %{version} BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun):update-alternatives +%endif # SECTION test requirements -BuildRequires: %{python_module ipython_genutils} +BuildRequires: %{pythons} BuildRequires: %{python_module jsonschema > 2.5.0} BuildRequires: %{python_module jupyter_core} BuildRequires: %{python_module pytest}