forked from pool/python-nbformat
Accepting request 1163581 from devel:languages:python:jupyter
- Update to 5.10.3 * Revert PR #378 (Simplify NotebookNotary._data_dir_default) #397 (@krassowski) - Release 5.10.2 * Restore usage of npm token #395 (@blink1073) - Release 5.10.0 * Maintenance and upkeep improvements - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1163581 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbformat?expand=0&rev=23
This commit is contained in:
commit
681b43a361
3
nbformat-5.10.3.tar.gz
Normal file
3
nbformat-5.10.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:60ed5e910ef7c6264b87d644f276b1b49e24011930deef54605188ddeb211685
|
||||||
|
size 142678
|
BIN
nbformat-5.9.2.tar.gz
(Stored with Git LFS)
BIN
nbformat-5.9.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -2,8 +2,10 @@
|
|||||||
pyproject.toml | 7 ++-----
|
pyproject.toml | 7 ++-----
|
||||||
1 file changed, 2 insertions(+), 5 deletions(-)
|
1 file changed, 2 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
--- a/pyproject.toml
|
Index: nbformat-5.10.3/pyproject.toml
|
||||||
+++ b/pyproject.toml
|
===================================================================
|
||||||
|
--- nbformat-5.10.3.orig/pyproject.toml
|
||||||
|
+++ nbformat-5.10.3/pyproject.toml
|
||||||
@@ -1,10 +1,10 @@
|
@@ -1,10 +1,10 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
-requires = ["hatchling>=1.5", "hatch-nodejs-version"]
|
-requires = ["hatchling>=1.5", "hatch-nodejs-version"]
|
||||||
@ -17,7 +19,7 @@
|
|||||||
description = "The Jupyter Notebook format"
|
description = "The Jupyter Notebook format"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
keywords = ["Interactive", "Interpreter", "Shell", "Web"]
|
keywords = ["Interactive", "Interpreter", "Shell", "Web"]
|
||||||
@@ -58,9 +58,6 @@ test = [
|
@@ -62,9 +62,6 @@ test = [
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance"
|
jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance"
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
tests/test_api.py | 5 -----
|
tests/test_api.py | 5 -----
|
||||||
2 files changed, 1 insertion(+), 7 deletions(-)
|
2 files changed, 1 insertion(+), 7 deletions(-)
|
||||||
|
|
||||||
Index: nbformat-5.9.2/pyproject.toml
|
Index: nbformat-5.10.3/pyproject.toml
|
||||||
===================================================================
|
===================================================================
|
||||||
--- nbformat-5.9.2.orig/pyproject.toml
|
--- nbformat-5.10.3.orig/pyproject.toml
|
||||||
+++ nbformat-5.9.2/pyproject.toml
|
+++ nbformat-5.10.3/pyproject.toml
|
||||||
@@ -52,7 +52,6 @@ test = [
|
@@ -56,7 +56,6 @@ test = [
|
||||||
"testpath",
|
"testpath",
|
||||||
"pytest",
|
"pytest",
|
||||||
"pre-commit",
|
"pre-commit",
|
||||||
@ -15,19 +15,19 @@ Index: nbformat-5.9.2/pyproject.toml
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
Index: nbformat-5.9.2/tests/test_api.py
|
Index: nbformat-5.10.3/tests/test_api.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- nbformat-5.9.2.orig/tests/test_api.py
|
--- nbformat-5.10.3.orig/tests/test_api.py
|
||||||
+++ nbformat-5.9.2/tests/test_api.py
|
+++ nbformat-5.10.3/tests/test_api.py
|
||||||
@@ -10,7 +10,6 @@ from tempfile import TemporaryDirectory
|
@@ -11,7 +11,6 @@ from tempfile import TemporaryDirectory
|
||||||
from typing import Any, Dict
|
from typing import Any
|
||||||
|
|
||||||
from jsonschema import ValidationError
|
from jsonschema import ValidationError
|
||||||
-from pep440 import is_canonical
|
-from pep440 import is_canonical
|
||||||
|
|
||||||
from nbformat import __version__ as nbf_version
|
from nbformat import __version__ as nbf_version
|
||||||
from nbformat import current_nbformat, read, write, writes
|
from nbformat import current_nbformat, read, write, writes
|
||||||
@@ -20,10 +19,6 @@ from nbformat.validator import isvalid
|
@@ -21,10 +20,6 @@ from nbformat.validator import isvalid
|
||||||
from .base import TestsBase
|
from .base import TestsBase
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 29 18:51:43 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 5.10.3
|
||||||
|
* Revert PR #378 (Simplify NotebookNotary._data_dir_default) #397
|
||||||
|
(@krassowski)
|
||||||
|
- Release 5.10.2
|
||||||
|
* Restore usage of npm token #395 (@blink1073)
|
||||||
|
- Release 5.10.0
|
||||||
|
* Maintenance and upkeep improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 28 12:37:01 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 26 18:38:02 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Thu Oct 26 18:38:02 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-nbformat
|
# spec file for package python-nbformat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-nbformat
|
Name: python-nbformat
|
||||||
Version: 5.9.2
|
Version: 5.10.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Jupyter Notebook format
|
Summary: The Jupyter Notebook format
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -49,13 +50,13 @@ BuildRequires: alts
|
|||||||
Requires: alts
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
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 pytest}
|
BuildRequires: %{python_module pytest >= 6}
|
||||||
BuildRequires: %{python_module testpath}
|
BuildRequires: %{python_module testpath}
|
||||||
BuildRequires: %{python_module traitlets >= 5.1}
|
BuildRequires: %{python_module traitlets >= 5.1}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
@ -70,7 +71,7 @@ This package provides the python interface.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n nbformat-%{version}
|
%autosetup -p1 -n nbformat-%{version}
|
||||||
sed -i -e 's/--color=yes//' -e 's/\@\@\@/%{version}/' pyproject.toml
|
sed -i -e 's/"--color=yes", //' -e 's/\@\@\@/%{version}/' pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user