1
0
python-nbformat/no-hatch-nodejs-version.patch
Matej Cepl d73edaf06a - Add no-hatch-nodejs-version.patch to remove dependency on
hatch-nodejs-version
- Add no-pep440.patch to remove unnecessary checking for the
  validity of the package version number.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbformat?expand=0&rev=52
2023-10-26 18:18:01 +00:00

30 lines
724 B
Diff

---
pyproject.toml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
--- a/pyproject.toml
+++ b/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"]
@@ -58,9 +58,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]