--- Begin Message ---
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-0 2.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.000000000 +0000
+++ nemo-python-4.4.0/debian/changelog 2020-03-19 21:18:08.000000000 +0000
@@ -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 <fossfreedom@ubuntu.com> Thu, 19 Mar 2020 21:18:08 +0000
+
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.000000000 +0100
+++ nemo-python-4.4.0/debian/patches/0001-nemo-python-be-compatible-with-python-3.8.patch 2020-03-19 21:18:08.000000000 +0000
@@ -0,0 +1,32 @@
+Origin: commit a528eb2b1564845c66a2c5b177ab39c8a345d2e4
+Author: Eli Schwartz <eschwartz@archlinux.org>
+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.000000000 +0000
+++ nemo-python-4.4.0/debian/patches/series 2020-03-19 21:15:45.000000000 +0000
@@ -0,0 +1 @@
+0001-nemo-python-be-compatible-with-python-3.8.patch
--- End Message ---
--- Begin Message ---
Source: nemo-python
Source-Version: 4.4.0-3
Done: Norbert Preining <norbert@preining.info>
We believe that the bug you reported is fixed in the latest version of
nemo-python, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 954307@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Norbert Preining <norbert@preining.info> (supplier of updated nemo-python package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 20 Mar 2020 08:03:53 +0900
Source: nemo-python
Architecture: source
Version: 4.4.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Changed-By: Norbert Preining <norbert@preining.info>
Closes: 954307
Changes:
nemo-python (4.4.0-3) unstable; urgency=medium
.
[ David Mohammed ]
* Ensure python based extensions work with python 3.8 (Closes: #954307)
Checksums-Sha1:
533868c38838c754f798991eda7f0d89e273acf8 1819 nemo-python_4.4.0-3.dsc
a0e6ca342b322edc4106c2a4d7f731234a41091c 3408 nemo-python_4.4.0-3.debian.tar.xz
7eeca725e5751786a34edba1518d23f8539407e5 14828 nemo-python_4.4.0-3_source.buildinfo
Checksums-Sha256:
dc74ee27698e8f61fe19c16da8bb8e0cde2bac22f25d5f8c9cddcd692799ad29 1819 nemo-python_4.4.0-3.dsc
249fcd53ed1f5633e860d946d478e4ad6cf7cac43241a0b0642ccb0665754d4e 3408 nemo-python_4.4.0-3.debian.tar.xz
ba502b1311cff427229f71ba8d8e45c3e92d76377795c5f91645ccd01a86f587 14828 nemo-python_4.4.0-3_source.buildinfo
Files:
23e88b75be0dc7a010747bee1185d5bb 1819 python optional nemo-python_4.4.0-3.dsc
2db8fae2a532b928773209164d5ed6c5 3408 python optional nemo-python_4.4.0-3.debian.tar.xz
54bae421eb09c890152a9eec7593bf33 14828 python optional nemo-python_4.4.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAl5z/dgACgkQ2A4JsIcU
AGaWmwgAwnolgc9LGwcsuIo707r49/emc0TY34TnOFCf9GUuI3hQJvxYN6qgkHY4
tcZCsVv6fA/Sf8Xuk4MGsnFG4ExuK3UeYyy7OjuTpd0KL1bw26+04MVE843ZLzgt
RMOvUWcTbmxm/j+CdvoEddQ4bGcqFj/2wXQoCrRJI4pAhTY7xBMgD9eILjww9S3r
EiIGRR1o31E3FQ9xBktuzw0Cmd3AC08/919lahyrJvo14vtV78zkxBFANztMJ3FJ
cxOFQaqLBTvl5bmfaZX3/fhpVMpPihejaeNlKCGnMuC4kBEnfJ/cY4VmgkPaAipS
w1caMzez6zC7Qix5EFgum8CVyAbZCA==
=4hwy
-----END PGP SIGNATURE-----
--- End Message ---