• Bug#1056419: Can we also move uncertainties to DPT (Was: python-hug: au

    From Andreas Tille@21:1/5 to All on Wed Feb 14 12:10:01 2024
    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 <module>
    352s from past.builtins import basestring
    352s /usr/lib/python3/dist-packages/past/builtins/__init__.py:54: in
    <module>
    352s from past.builtins.misc import (apply, chr, cmp, execfile,
    intern, oct,
    352s /usr/lib/python3/dist-packages/past/builtins/misc.py:45: in <module>
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Wed Feb 14 15:00:01 2024
    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&suite=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 <federico@debian.org> 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)