Bug#1056419: Can we also move uncertainties to DPT (Was: python-hug: autopkgtest failure with Python 3.12)

2024-02-14 Thread Andreas Tille
Hi,

thanks for Federico confirming, thus I will move the package to not
need to ask again in a possible future attempt.

Am Wed, Feb 14, 2024 at 12:24:03PM +0100 schrieb Alexandre Detiste:
> Hi Andreas,
> 
> I think usage of "past" has been neutered since:
> 
> if sys.version_info < (3,):
>  from past.builtins import basestring
> else:
>  # Avoid importing from past in Python 3 since it utilizes the builtin
>  # 'imp' module, which is deprecated as of Python 3.4, see
>  # https://docs.python.org/3/library/imp.html. The 2to3 tool replaces
>  # basestring with str, so that's what we effectively do here as well:
>  basestring = str
> 
> My attempt to rebuild lmfit-py in experimental failed for another reason:
> 
> https://buildd.debian.org/status/package.php?p=lmfit-py=experimental

Thanks for the hint.  I try to seek about a solution for this sphinx issue.
 
> Le mer. 14 févr. 2024 à 12:19, Federico Ceratto  a écrit 
> :
> 
> > I'm a fan of team-maintained packages - I just set the maintainer field to 
> > DPMT in the git repo.
> 
> Thank you too

Thanks to both of you.  Its always fun to work together with you

   Andreas.

-- 
http://fam-tille.de



Bug#1056419: Can we also move uncertainties to DPT (Was: python-hug: autopkgtest failure with Python 3.12)

2024-02-14 Thread Alexandre Detiste
Hi Andreas,

I think usage of "past" has been neutered since:

if sys.version_info < (3,):
 from past.builtins import basestring
else:
 # Avoid importing from past in Python 3 since it utilizes the builtin
 # 'imp' module, which is deprecated as of Python 3.4, see
 # https://docs.python.org/3/library/imp.html. The 2to3 tool replaces
 # basestring with str, so that's what we effectively do here as well:
 basestring = str

My attempt to rebuild lmfit-py in experimental failed for another reason:

https://buildd.debian.org/status/package.php?p=lmfit-py=experimental

Le mer. 14 févr. 2024 à 12:19, Federico Ceratto  a écrit :

> I'm a fan of team-maintained packages - I just set the maintainer field to 
> DPMT in the git repo.

Thank you too



Bug#1056419: Can we also move uncertainties to DPT (Was: python-hug: autopkgtest failure with Python 3.12)

2024-02-14 Thread Federico Ceratto
Hello Andreas,
I'm a fan of team-maintained packages - I just set the maintainer field to
DPMT in the git repo.

Thanks!
Federico


Bug#1056419: Can we also move uncertainties to DPT (Was: python-hug: autopkgtest failure with Python 3.12)

2024-02-14 Thread Andreas Tille
Hi again Federico,

> Am Thu, Feb 08, 2024 at 07:02:09PM +0100 schrieb Federico Ceratto:
> > Sure, go ahead, and thank you for taking care of the bug!

After you accepted python-hug I wonder whether we can also move
python-uncertainties to DPT.  I think the usage of past in uncertainties
is responsible for bug #1056419 of lmfit-py

...
352s /usr/lib/python3/dist-packages/uncertainties/core.py:22: in 
352s from past.builtins import basestring
352s /usr/lib/python3/dist-packages/past/builtins/__init__.py:54: in 

352s from past.builtins.misc import (apply, chr, cmp, execfile, 
intern, oct,
352s /usr/lib/python3/dist-packages/past/builtins/misc.py:45: in 
352s from imp import reload


I would love if uncertainties would be in DPT and we could do team
uploads.

Kind regards
Andreas.

-- 
http://fam-tille.de