Accepting request 884348 from home:bnavigator:branches:devel:languages:python:jupyter

- 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

OBS-URL: https://build.opensuse.org/request/show/884348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=17
This commit is contained in:
Markéta Machová 2021-04-12 09:48:37 +00:00 committed by Git OBS Bridge
parent 2ec8e7d905
commit 92338ede14
4 changed files with 45 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54d4d6354835a936bad7e8182dcd003ca3dc0cedfee5a306090e04854343b340
size 123813

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

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

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sat Apr 10 20:48:39 UTC 2021 - Ben Greiner <code@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
-------------------------------------------------------------------
Sun Jun 28 19:07:15 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -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 @@ This package provides the jupyter components.
%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/