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
This commit is contained in:
Benjamin Greiner 2022-03-23 19:11:54 +00:00 committed by Git OBS Bridge
parent 4636c78882
commit 782364eb91
4 changed files with 39 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:437b72e20eaa76230cdfe48cf388551a1ebc5880e9251aa7f614dbc4680c9ea3
size 130922

3
nbformat-5.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6316813f0f3e447012cb467375b14967cb9327766b04f681c5481a0d9321e525
size 133519

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Mar 23 19:04:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update dependencies
-------------------------------------------------------------------
Sat Mar 12 04:48:45 UTC 2022 - Arun Persaud <arun@gmx.de>
- 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 <schubi@localhost>

View File

@ -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}