python-nbformat/no-pep440.patch
Benjamin Greiner 74e115b36d - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=58
2024-03-29 18:57:37 +00:00

41 lines
1.1 KiB
Diff

---
pyproject.toml | 3 +--
tests/test_api.py | 5 -----
2 files changed, 1 insertion(+), 7 deletions(-)
Index: nbformat-5.10.3/pyproject.toml
===================================================================
--- nbformat-5.10.3.orig/pyproject.toml
+++ nbformat-5.10.3/pyproject.toml
@@ -56,7 +56,6 @@ test = [
"testpath",
"pytest",
"pre-commit",
- "pep440"
]
[project.scripts]
Index: nbformat-5.10.3/tests/test_api.py
===================================================================
--- nbformat-5.10.3.orig/tests/test_api.py
+++ nbformat-5.10.3/tests/test_api.py
@@ -11,7 +11,6 @@ from tempfile import TemporaryDirectory
from typing import Any
from jsonschema import ValidationError
-from pep440 import is_canonical
from nbformat import __version__ as nbf_version
from nbformat import current_nbformat, read, write, writes
@@ -21,10 +20,6 @@ from nbformat.validator import isvalid
from .base import TestsBase
-def test_canonical_version():
- assert is_canonical(nbf_version)
-
-
class TestAPI(TestsBase):
def test_read(self):
"""Can older notebooks be opened and automatically converted to the current