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


Groups > linux.debian.maint.python > #15388 > unrolled 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

Started byAlexandre Detiste <alexandre.detiste@gmail.com>
First post2024-01-04 00:40 +0100
Last post2024-01-05 18:00 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2024-01-04 00:40 +0100
SubjectRe: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
Message-ID<HSj05-BAO-1@gated-at.bofh.it>
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've set up a tracker with remaining packages:
       https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059934
       (list is not complete)

There might be some nmu needed too if maintainers don't react.

@Vincent: this one package "gtextfsm" is yours
do you green light an upload ?

Greetings,

https://salsa.debian.org/python-team/packages/gtextfsm/-/pipelines/621238

gtextfsm $ cat debian/patches/no-future.patch
From: Alexandre Detiste <tchet@debian.org>

--- a/setup.py
+++ b/setup.py
@@ -53,5 +53,5 @@
       },
       include_package_data=True,
       package_data={'textfsm': ['../testdata/*']},
-      install_requires=['six', 'future'],
+      install_requires=['six'],
      )

[toc] | [next] | [standalone]


#15389

FromAndreas Tille <andreas@fam-tille.de>
Date2024-01-04 08:10 +0100
Message-ID<HSpRT-FHz-5@gated-at.bofh.it>
In reply to#15388
Hi Alexandre,

Am Thu, Jan 04, 2024 at 12:30:21AM +0100 schrieb Alexandre Detiste:
> 
> There might be some nmu needed too if maintainers don't react.
> 
> @Vincent: this one package "gtextfsm" is yours
> do you green light an upload ?

If you ask me the package is team maintained and a "Team upload"
should be fine.
 
Kind regards
    Andreas.

-- 
http://fam-tille.de

[toc] | [prev] | [next] | [standalone]


#15390

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2024-01-04 13:30 +0100
Message-ID<HSv1f-Jl9-1@gated-at.bofh.it>
In reply to#15389
Le jeu. 4 janv. 2024 à 07:48, Andreas Tille <andreas@fam-tille.de> a écrit :
> > @Vincent: this one package "gtextfsm" is yours
> > do you green light an upload ?
>
> If you ask me the package is team maintained and a "Team upload"
> should be fine.

Hi, I just try to follow the rules I agreed on last month.

https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#id2

| Team in Uploaders is a weak statement of collaboration. Help in
maintaining the package is appreciated,
| commits to the Git repository are freely welcomed, but before
uploading, please contact the Maintainer for the green light.

There are not so many packages where "Uploader = DPT" to begin with,
so this might not well a well-known practice...

So I'm formally asking Ana & PaN for approval to upload "lexicon" and "dioptas".
(lexicon is a one line change, dioptas needs to package a new release)

@Vincent: thanks.

Greetings

-----

Debian Python Team <team+python@tracker.debian.org>
   dioptas (U)
   gtextfsm (U)
   lexicon (U)

Ana Custura <ana@netstat.org.uk>
   lexicon

Debian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
   dioptas

[toc] | [prev] | [next] | [standalone]


#15391 — 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

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2024-01-04 15:50 +0100
SubjectRe: [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
Message-ID<HSxcJ-KSy-3@gated-at.bofh.it>
In reply to#15390
ok for me

----- Le 4 Jan 24, à 13:19, Alexandre Detiste alexandre.detiste@gmail.com a écrit :

> Le jeu. 4 janv. 2024 à 07:48, Andreas Tille <andreas@fam-tille.de> a écrit :
>> > @Vincent: this one package "gtextfsm" is yours
>> > do you green light an upload ?
>>
>> If you ask me the package is team maintained and a "Team upload"
>> should be fine.
> 
> Hi, I just try to follow the rules I agreed on last month.
> 
> https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#id2
> 
>| Team in Uploaders is a weak statement of collaboration. Help in
> maintaining the package is appreciated,
>| commits to the Git repository are freely welcomed, but before
> uploading, please contact the Maintainer for the green light.
> 
> There are not so many packages where "Uploader = DPT" to begin with,
> so this might not well a well-known practice...
> 
> So I'm formally asking Ana & PaN for approval to upload "lexicon" and "dioptas".
> (lexicon is a one line change, dioptas needs to package a new release)
> 
> @Vincent: thanks.
> 
> Greetings
> 
> -----
> 
> Debian Python Team <team+python@tracker.debian.org>
>   dioptas (U)
>   gtextfsm (U)
>   lexicon (U)
> 
> Ana Custura <ana@netstat.org.uk>
>   lexicon
> 
> Debian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
>   dioptas
> 
> --
> Debian-pan-maintainers mailing list
> Debian-pan-maintainers@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-pan-maintainers

[toc] | [prev] | [next] | [standalone]


#15392 — 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"Ana C. Custura" <ana@netstat.org.uk>
Date2024-01-04 16:10 +0100
SubjectRe: [Help] Re: python-future: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
Message-ID<HSxw5-Lkw-5@gated-at.bofh.it>
In reply to#15390
Hi,

Thank you very much for looking into this, it is much appreciated and you can go ahead with the upload. 

Ana

On Thu, Jan 4, 2024, at 12:19 PM, Alexandre Detiste wrote:
> Le jeu. 4 janv. 2024 à 07:48, Andreas Tille <andreas@fam-tille.de> a écrit :
>> > @Vincent: this one package "gtextfsm" is yours
>> > do you green light an upload ?
>>
>> If you ask me the package is team maintained and a "Team upload"
>> should be fine.
>
> Hi, I just try to follow the rules I agreed on last month.
>
> https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#id2
>
> | Team in Uploaders is a weak statement of collaboration. Help in
> maintaining the package is appreciated,
> | commits to the Git repository are freely welcomed, but before
> uploading, please contact the Maintainer for the green light.
>
> There are not so many packages where "Uploader = DPT" to begin with,
> so this might not well a well-known practice...
>
> So I'm formally asking Ana & PaN for approval to upload "lexicon" and "dioptas".
> (lexicon is a one line change, dioptas needs to package a new release)
>
> @Vincent: thanks.
>
> Greetings
>
> -----
>
> Debian Python Team <team+python@tracker.debian.org>
>    dioptas (U)
>    gtextfsm (U)
>    lexicon (U)
>
> Ana Custura <ana@netstat.org.uk>
>    lexicon
>
> Debian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
>    dioptas

[toc] | [prev] | [next] | [standalone]


#15393

FromÉric <merwok@netwok.org>
Date2024-01-05 18:00 +0100
Message-ID<HSVI5-117b-17@gated-at.bofh.it>
In reply to#15388
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web