Re: Openscap-daemon: python3.7 incompatibility
On Wed, 25 Jul 2018, phil@reseau-libre.net wrote:
> The package has been updated. build, lintian and piuparts are ok. I've
> updated the salsa repository for review. If you ok with this I can upload
> this evening.
Ah, I forgot to push my changes, sorry. Anyway your changes are OK, here are
the only differences, mainly the minimal python version that you increased
and the lack of a few DEP-3 headers that I did add in the patch.
--- a/debian/control
+++ b/debian/control
@@ -6,12 +6,12 @@ Uploaders: Philippe Thierry <phil@reseau-libre.net>
Build-Depends:
debhelper (>=10),
dh-python,
- python3 (>= 3.2),
+ python3 (>= 3.5),
python3-dbus,
python3-distutils,
python3-docker,
python3-lxml,
-Standards-Version: 4.1.4
+Standards-Version: 4.1.5
X-Python3-Version: >= 3.5
Homepage: https://www.open-scap.org/tools/openscap-daemon
Vcs-Git: https://salsa.debian.org/pkg-security-team/openscap-daemon.git
diff --git a/debian/patches/python3.7-compat.patch b/debian/patches/async_python37.patch
similarity index 96%
rename from debian/patches/python3.7-compat.patch
rename to debian/patches/async_python37.patch
index 1d1ecd7..6924667 100644
--- a/debian/patches/python3.7-compat.patch
+++ b/debian/patches/async_python37.patch
@@ -4,9 +4,6 @@ Date: Mon, 2 Jul 2018 11:21:19 +0200
Subject: [PATCH] Renamed module and variables to get rid of async.
async is a reserved word in Python 3.7.
-
-Origin: upstream, https://github.com/OpenSCAP/openscap-daemon/commit/c34349720a57997d30946286756e2ba9dbab6ace
-Bug: https://github.com/OpenSCAP/openscap-daemon/pull/141
---
openscap_daemon/{async.py => async_tools.py} | 0
openscap_daemon/dbus_daemon.py | 2 +-
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
Reply to: