Package: nemo-python
Version: 4.4.0-2+b1
Severity: important
Tags: patch
Dear Maintainer,
* What led up to the situation?
python 3.8 is now the default in unstable. Python based extensions
no longer execute when nemo is running
* What exactly did you do (or not do) that was effective (or
ineffective)?
Install nemo-python in unstable
* What was the outcome of this action?
When nemo is run you see the following:
** (nemo:1355): WARNING **: 21:32:22.824:
/usr/lib/x86_64-linux-gnu/nemo/extensions-3.0/libnemo-python.so:
undefined symbol: PyExc_ImportError
* What outcome did you expect instead?
nemo to start without warnings
enc is a debdiff to resolve
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nemo-python depends on:
ii gir1.2-nemo-3.0 4.4.2-2
ii libc6 2.30-2
ii libglib2.0-02.64.1-1
ii libgtk-3-0 3.24.14-1
ii libnemo-extension1 4.4.2-2
nemo-python recommends no packages.
nemo-python suggests no packages.
-- no debconf information
diff -Nru nemo-python-4.4.0/debian/changelog nemo-python-4.4.0/debian/changelog
--- nemo-python-4.4.0/debian/changelog 2020-02-03 23:45:18.0 +
+++ nemo-python-4.4.0/debian/changelog 2020-03-19 21:18:08.0 +
@@ -1,3 +1,11 @@
+nemo-python (4.4.0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Bug-fix
+- Ensure python based extensions work with python 3.8
+
+ -- David Mohammed Thu, 19 Mar 2020 21:18:08 +
+
nemo-python (4.4.0-2) unstable; urgency=medium
* Upload to unstable
diff -Nru
nemo-python-4.4.0/debian/patches/0001-nemo-python-be-compatible-with-python-3.8.patch
nemo-python-4.4.0/debian/patches/0001-nemo-python-be-compatible-with-python-3.8.patch
---
nemo-python-4.4.0/debian/patches/0001-nemo-python-be-compatible-with-python-3.8.patch
1970-01-01 01:00:00.0 +0100
+++
nemo-python-4.4.0/debian/patches/0001-nemo-python-be-compatible-with-python-3.8.patch
2020-03-19 21:18:08.0 +
@@ -0,0 +1,32 @@
+Origin: commit a528eb2b1564845c66a2c5b177ab39c8a345d2e4
+Author: Eli Schwartz
+Last-Update: 2019-11-17
+Description: [PATCH] nemo-python: be compatible with python 3.8
+ See https://bugs.python.org/issue36721
+
+---
+ meson.build | 8 +++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/nemo-python/meson.build b/nemo-python/meson.build
+index 93377d1..3f5a8e9 100644
+--- a/meson.build
b/meson.build
+@@ -7,7 +7,13 @@ gnome = import('gnome')
+
+ deps = []
+
+-python3 = dependency('python3')
++# In python 3.8, applications which embed python (i.e. not importable modules)
++# must use python3-embed, instead of python3. Check that first.
++# https://bugs.python.org/issue36721
++python3 = dependency('python3-embed', required: false)
++if not python3.found()
++python3 = dependency('python3')
++endif
+ nemo = dependency('libnemo-extension', required: true)
+
+ deps += python3
+--
+2.26.0.rc2
+
diff -Nru nemo-python-4.4.0/debian/patches/series
nemo-python-4.4.0/debian/patches/series
--- nemo-python-4.4.0/debian/patches/series 2020-02-03 23:45:18.0
+
+++ nemo-python-4.4.0/debian/patches/series 2020-03-19 21:15:45.0
+
@@ -0,0 +1 @@
+0001-nemo-python-be-compatible-with-python-3.8.patch