Source: deap
Version: 1.3.1-5
Severity: important
Tags: ftbfs patch
User: debian-pyt...@lists.debian.org
Usertags: python3.12
Hi Maintainer
deap FTBFS with Python 3.12 as the default version (i.e. with
python3-defaults/3.12.1-1 from experimental). I've copied what I hope
is the relevant part of the log below.
If deap really still needs lib2to3, then please add an explicit
build-dependency. The following patch worked for me:
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@
debhelper-compat (= 12),
dh-python,
python3-all-dev,
+ python3-lib2to3,
python3-setuptools,
python3-nose,
python3-numpy,
Regards
Graham
I: pybuild pybuild:334: python3.12 -m lib2to3 --write --nobackups
--no-diffs /<>/.pybuild/cpython3_3.12_deap/build
/usr/bin/python3.12: No module named lib2to3