• Bug#1107989: python3-boto3: Unusable: tries to import removed 'imp'

    From Sean Whitton@21:1/5 to All on Wed Jun 18 16:40:01 2025
    Package: python3-boto3
    Version: 1.37.9-1
    Severity: serious

    Dear maintainer,

    Currently you can't import boto because it tried to import 'imp', which
    was removed from core Python.

    --8<---------------cut here---------------start------------->8--- swhitton@zephyr:~>python3 -m boto /usr/lib/python3/dist-packages/boto/__init__.py:1139: SyntaxWarning: invalid escape sequence '\c'
    C:\a\b\c)
    /usr/lib/python3/dist-packages/boto/pyami/config.py:98: SyntaxWarning: invalid escape sequence '\s'
    match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line)
    Traceback (most recent call last):
    File "<frozen runpy>", line 189, in _run_module_as_main
    File "<frozen runpy>", line 148, in _get_module_details
    File "<frozen runpy>", line 112, in _get_module_details
    File "/usr/lib/python3/dist-packages/boto/__init__.py", line 29, in <module>
    import boto.plugin
    File "/usr/lib/python3/dist-packages/boto/plugin.py", line 40, in <module>
    import imp
    ModuleNotFoundError: No module named 'imp'
    --8<---------------cut here---------------end--------------->8---

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmhSzUUZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQN6oEACSfUHZeuV3/cm3GMqDrvBe neHVmCBEJ4bqNXqNoG6/ZBEHk/PKf/cAvQL4UAIoqbt3EjPjVmzaAknFeyWaVou1 doxyKaHoHxPwB8JGl9Vwkc6tm2kzf1HWuVnQLMawlJ/worBDHlHLkgFrZp7yy8im sENmtqBvZPl6Vk5l0khsa3b1oA7EEu6/Xr77J5fg4egeRWqdqAl8FEjKsBGBuc9A DQdolb74BZmHPQSvsGOe06+HN3aOOu13QTt5+FsWPh/b2CKRa1iK7nhsA8/APr8n RX4B67Q1knqov/isxDkO8joBIqG+PPasdniWmmTjs9RH7c0XXyo1tRbMkSI6Wa0H OGKo/4gIzvHQNB0U12FkzeFG7Zca3hPrsrASOtZRByGh4JO71ZLxiQnRp/DVUK+V CIdMJalU/NUpn2q3npW1K9K1BuHzOTsT2ALEZqYfPSWAJYMklz1iL5i+zMJOo15I 2FAjYVuU4PZ1EpVXmNomgiEaSCPYkVKY5Z4LeZ1yrsys25hTFCMQ0X1nRkHAaK+d VdaOHLPh7Cz/IaCmoHP66ZS7UoSUwE7yu2bk4RC5Pw1tuP4hfMKtrLx5wVupSAxI u913/ViePXdKGZmKHf/YEg4Lv4VyCY6AJ+X5k103tUg1iByWoxk0s8NxSzrnRBFI UBh5RTx+mX1bxbqtCoexUA==Yq6F
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Debian Bug Tracking System@21:1/5 to Sean Whitton on Wed Jun 18 17:50:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 18 Jun 2025 11:40:01 -0400
    with message-id <aFLd0UlVbkii_yDO@doom.morgul.net>
    and subject line Re: Bug#1107989: python3-boto3: Unusable: tries to import removed 'imp'
    has caused the Debian Bug report #1107989,
    regarding python3-boto3: Unusable: tries to import removed 'imp'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1107989: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107989
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 18 Jun 2025 14:29:31 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
    (2024-03-25) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-20.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,HAS_PACKAGE,PGPSIGNATURE,RCVD_IN_MSPIKE_H5,
    RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
    RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham
    autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 137; neutral, 21; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--H*ct:application, 0.000-+--H*ct:protocol,
    0.000-+--H*ct:micalg, 0.000-+--H*ct:signed
    Return-path: <spwhitton@spwhitton.name>
    Received: from sendmail.purelymail.com ([34.2
  • From Alexandre Detiste@1:229/2 to All on Wed Jun 18 16:40:01 2025
    From: alexandre.detiste@gmail.com

    control: tag -1 +patch

    One can Depends on python3-zombie-imp to get things working again

    Greetings





    ~~A particularly mischievous act of necromancy. That is,~~ A copy of
    the `imp` module that was removed in Python 3.12.

    Don't use this, it'll probably trick and bite you.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)