python-nbformat/no-hatch-nodejs-version.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

32 lines
863 B
Diff

---
pyproject.toml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Index: nbformat-5.10.3/pyproject.toml
===================================================================
--- nbformat-5.10.3.orig/pyproject.toml
+++ nbformat-5.10.3/pyproject.toml
@@ -1,10 +1,10 @@
[build-system]
-requires = ["hatchling>=1.5", "hatch-nodejs-version"]
+requires = ["hatchling>=1.5"]
build-backend = "hatchling.build"
[project]
name = "nbformat"
-dynamic = ["version"]
+version = "@@@"
description = "The Jupyter Notebook format"
license = { file = "LICENSE" }
keywords = ["Interactive", "Interpreter", "Shell", "Web"]
@@ -62,9 +62,6 @@ test = [
[project.scripts]
jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance"
-[tool.hatch.version]
-source = "nodejs"
-
[tool.hatch.envs.docs]
features = ["docs"]
[tool.hatch.envs.docs.scripts]