[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13



On 1/4/24 00:30, Alexandre Detiste wrote:
Le lun. 11 déc. 2023 à 16:43, Andreas Tille <andreas@an3as.eu> a écrit :
Control: tags -1 help

[Bug #1056419 in CC since the issue seems to be caused by python-future]

Hi Vincent,

I tried to upgrade python-future to the latest upstream version in the
hope that this would solve the issue reported in bug #1042244.
Unfortunately this is not the case and now with Python3.12 we also
have to deal with the removal of imp (which affects bug #1056419).

I'd like to ask for help on debian-python list since I'm pretty
overworked with other stuff.  Please also review my rude patch[1] to
hack around a shinx issue.  It would be great to have some better
solution here.

The better solution is to remove python3-future altogether.

I very much agree with this. Most of the time, it's simply patching out stuff like:

from __future__ import <blah>

in every .py of the package, and you're done. So it's quite easy to do.

As we removed Python 2.7 2 releases ago, it's probably a good time to finish the transition... :)

Cheers,

Thomas Goirand (zigo)


Reply to: