Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
Control: block -1 with 1036850
Control: affects -1 + src:jupyter-notebook

Please unblock package jupyter-notebook

[ Reason ]
This is a followup to the cadabra2 unblock (#1036850) to restore
/usr/lib/python3/dist-packages/notebook/static/components/codemirror as
a symlink in case cadabra2 was installed first

[ Impact ]
/usr/lib/python3/dist-packages/notebook/static/components/codemirror
being a (nearly) empty directory instead a symlink to a directory tree
full of javascript might cripple python3-notebook functionality.

[ Tests ]
manual upgrade tests starting from the bad installation order

[ Risks ]
not worse than
/usr/lib/python3/dist-packages/notebook/static/components/codemirror
being an empty directory

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]

unblock jupyter-notebook/6.4.12-2.2

Andreas
diff -Nru jupyter-notebook-6.4.12/debian/changelog 
jupyter-notebook-6.4.12/debian/changelog
--- jupyter-notebook-6.4.12/debian/changelog    2022-10-15 11:04:20.000000000 
+0200
+++ jupyter-notebook-6.4.12/debian/changelog    2023-05-28 01:18:59.000000000 
+0200
@@ -1,3 +1,13 @@
+jupyter-notebook (6.4.12-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * python3-notebook: Add Breaks: cadabra2 (<< 2.4.3.2-1.1~).
+  * Add python3-notebook.maintscript to restore the
+    /usr/lib/python3/dist-packages/notebook/static/components/codemirror
+    symlink in case buggy cadabra2 was installed first.  (Closes: #1036021)
+
+ -- Andreas Beckmann <a...@debian.org>  Sun, 28 May 2023 01:18:59 +0200
+
 jupyter-notebook (6.4.12-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru jupyter-notebook-6.4.12/debian/control 
jupyter-notebook-6.4.12/debian/control
--- jupyter-notebook-6.4.12/debian/control      2022-10-01 00:58:58.000000000 
+0200
+++ jupyter-notebook-6.4.12/debian/control      2023-05-28 00:58:48.000000000 
+0200
@@ -102,6 +102,7 @@
 Recommends: python3-ipykernel, python3-ipywidgets
 Suggests: python-notebook-doc
 Breaks: jupyter-nbextension-jupyter-js-widgets (<< 6.0.0-6~)
+ , cadabra2 (<< 2.4.3.2-1.1~)
 Description: Jupyter interactive notebook (Python 3)
  The Jupyter Notebook is a web application that allows you to create and
  share documents that contain live code, equations, visualizations, and
diff -Nru jupyter-notebook-6.4.12/debian/python3-notebook.maintscript 
jupyter-notebook-6.4.12/debian/python3-notebook.maintscript
--- jupyter-notebook-6.4.12/debian/python3-notebook.maintscript 1970-01-01 
01:00:00.000000000 +0100
+++ jupyter-notebook-6.4.12/debian/python3-notebook.maintscript 2023-05-28 
01:07:59.000000000 +0200
@@ -0,0 +1 @@
+dir_to_symlink 
/usr/lib/python3/dist-packages/notebook/static/components/codemirror 
../../../../../../share/javascript/codemirror 6.4.12-2.2~

Reply via email to