Accepting request 1003362 from home:apersaud:branches:devel:languages:python:jupyter
update to latest version OBS-URL: https://build.opensuse.org/request/show/1003362 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=26
This commit is contained in:
parent
4d45be2da7
commit
9f22629452
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:18d566dfbe3da5ab15e9b1a8ad37b161c1755b5dc3e330fd4ae2b1b049cfdf65
|
|
||||||
size 134574
|
|
3
nbformat-5.5.0.tar.gz
Normal file
3
nbformat-5.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4d6bd882a6fb60e1204e7b9310846b790c710b138e21643750f6420b7aa09d6c
|
||||||
|
size 136656
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 13 15:43:42 UTC 2022 - Arun Persaud <arun@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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 3 21:00:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Wed Aug 3 21:00:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
%define doc_ver 5.2.0
|
%define doc_ver 5.2.0
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
Name: python-nbformat
|
Name: python-nbformat
|
||||||
Version: 5.4.0
|
Version: 5.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Jupyter Notebook format
|
Summary: The Jupyter Notebook format
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -29,7 +29,9 @@ URL: https://github.com/jupyter/nbformat
|
|||||||
# PyPI sdist has only some schema tests, get the full test suite from GitHub sources
|
# 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
|
Source: https://github.com/jupyter/nbformat/archive/%{version}.tar.gz#/nbformat-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
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: fdupes
|
||||||
BuildRequires: python-rpm-macros >= 20210929
|
BuildRequires: python-rpm-macros >= 20210929
|
||||||
Requires: jupyter-nbformat = %{version}
|
Requires: jupyter-nbformat = %{version}
|
||||||
@ -48,13 +50,14 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%endif
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{pythons}
|
|
||||||
BuildRequires: %{python_module fastjsonschema}
|
BuildRequires: %{python_module fastjsonschema}
|
||||||
BuildRequires: %{python_module jsonschema > 2.6}
|
BuildRequires: %{python_module jsonschema > 2.6}
|
||||||
BuildRequires: %{python_module jupyter_core}
|
BuildRequires: %{python_module jupyter_core}
|
||||||
|
BuildRequires: %{python_module pep440}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module testpath}
|
BuildRequires: %{python_module testpath}
|
||||||
BuildRequires: %{python_module traitlets >= 5.1}
|
BuildRequires: %{python_module traitlets >= 5.1}
|
||||||
|
BuildRequires: %{pythons}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -84,10 +87,10 @@ This package provides the jupyter components.
|
|||||||
sed -i 's/--color=yes//' pyproject.toml
|
sed -i 's/--color=yes//' pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/jupyter-trust
|
%python_clone -a %{buildroot}%{_bindir}/jupyter-trust
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@ -110,8 +113,8 @@ sed -i 's/--color=yes//' pyproject.toml
|
|||||||
%license COPYING.md
|
%license COPYING.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%python_alternative jupyter-trust
|
%python_alternative jupyter-trust
|
||||||
%{python_sitelib}/nbformat-%{version}-py*.egg-info
|
|
||||||
%{python_sitelib}/nbformat/
|
%{python_sitelib}/nbformat/
|
||||||
|
%{python_sitelib}/nbformat-%{version}.dist-info/
|
||||||
|
|
||||||
%files -n jupyter-nbformat
|
%files -n jupyter-nbformat
|
||||||
%license COPYING.md
|
%license COPYING.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user