Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15393

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

From Éric <merwok@netwok.org>
Newsgroups linux.debian.maint.python
Subject Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
Date 2024-01-05 18:00 +0100
Message-ID <HSVI5-117b-17@gated-at.bofh.it> (permalink)
References <HJQHD-cRHO-1@gated-at.bofh.it> <HSj05-BAO-1@gated-at.bofh.it> <HSVI5-117b-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 04/01/2024 à 11:51, Thomas Goirand a écrit :
> On 1/4/24 00:30, Alexandre Detiste wrote:
>> 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>


Not quite:

- __future__ imports are used to tell the Python compiler to enable new 
syntax, and there is a __future__ module in the standard library 
providing run-time metadata about these syntax features

- python3-future is a normal third-party package 
(https://pypi.org/project/future/) that provides future and past modules 
to help 2-3 or 3-2 compatibility, and scripts to convert code: these 
would take more effort to remove than __future__ imports, and should 
probably be patched upstream (by removing support for Python 2 and older 
Python 3 versions)

Cheers

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild  --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-01-04 00:40 +0100
  Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild  --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Andreas Tille <andreas@fam-tille.de> - 2024-01-04 08:10 +0100
    Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild  --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-01-04 13:30 +0100
      Re: [Debian-pan-maintainers] [Help] Re: python-future: FTBFS:  dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p  3.11 returned exit code 13 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-01-04 15:50 +0100
      Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild --test  --test-pytest -i python{version} -p 3.11 returned exit code 13 "Ana C. Custura" <ana@netstat.org.uk> - 2024-01-04 16:10 +0100
  Re: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild  --test --test-pytest -i python{version} -p 3.11 returned exit code 13 Éric <merwok@netwok.org> - 2024-01-05 18:00 +0100

csiph-web