Your message dated Tue, 22 Apr 2025 04:39:01 +0000
with message-id <e1u75pr-006g9n...@fasolo.debian.org>
and subject line Bug#1103768: fixed in prompt-toolkit 3.0.51-2
has caused the Debian Bug report #1103768,
regarding awscli: aws command quits with python exception PackageNotFoundError 
for prompt_toolkit
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 ow...@bugs.debian.org
immediately.)


-- 
1103768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103768
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: awscli
Version: 2.23.6-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The 'aws' command no longer functions in any way. Just running 'aws' without
arguments gives me an exception. Adding arguments does not change this. This
seems to be very early in initialization.

$ aws
Traceback (most recent call last):
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 407, in
from_name
    return next(iter(cls.discover(name=name)))
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 67, in
<module>
    from awscli.autoprompt.core import AutoPromptDriver
  File "/usr/lib/python3/dist-packages/awscli/autoprompt/core.py", line 16, in
<module>
    from awscli.autoprompt.prompttoolkit import PromptToolkitPrompter
  File "/usr/lib/python3/dist-packages/awscli/autoprompt/prompttoolkit.py",
line 18, in <module>
    from prompt_toolkit.application import Application
  File "/usr/lib/python3/dist-packages/prompt_toolkit/__init__.py", line 32, in
<module>
    __version__ = metadata.version("prompt_toolkit")
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 987, in
version
    return distribution(distribution_name).version
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 960, in
distribution
    return Distribution.from_name(distribution_name)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 409, in
from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for
prompt_toolkit


If I just run a python console and run the import commands from top to bottom,
the first that does no longer throw is the "from prompt_toolkit.application"
one.
So I don't think its a general problem with prompt_toolkit? I am not that
fluent in python, though.

I am absolutely not sure if this is an awscli issue, so please feel free to re-
assign to the correct package.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

A recent update of some python packages. I am not really sure which, but I
assume somewhere in the region of python3-prompt-toolkit?

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Run 'aws' to copy a local file to an S3 bucket.

   * What was the outcome of this action?

It failed with the above exception.

   * What outcome did you expect instead?

A working copy to the S3 bucket.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages awscli depends on:
ii  groff-base                1.23.0-7
ii  python3                   3.13.3-1
ii  python3-awscrt            0.24.0+dfsg-1
ii  python3-colorama          0.4.6-4
ii  python3-cryptography      43.0.0-2
ii  python3-dateutil          2.9.0-4
ii  python3-distro            1.9.0-1
ii  python3-docutils          0.21.2+dfsg-2
ii  python3-jmespath          1.0.1-1
ii  python3-prompt-toolkit    3.0.51-1
ii  python3-pyasn1            0.6.1-1
ii  python3-ruamel.yaml       0.18.10+ds-1
ii  python3-ruamel.yaml.clib  0.2.12+ds-1+b1
ii  python3-urllib3           2.3.0-2
ii  python3-zipp              3.21.0-1

awscli recommends no packages.

awscli suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: prompt-toolkit
Source-Version: 3.0.51-2
Done: Daniel Baumann <dan...@debian.org>

We believe that the bug you reported is fixed in the latest version of
prompt-toolkit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1103...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <dan...@debian.org> (supplier of updated prompt-toolkit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 22 Apr 2025 06:08:29 +0200
Source: prompt-toolkit
Architecture: source
Version: 3.0.51-2
Distribution: sid
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Daniel Baumann <dan...@debian.org>
Closes: 1103768
Changes:
 prompt-toolkit (3.0.51-2) sid; urgency=medium
 .
   * Workarounding internal version lookup by manually writing version
     until there's a better fix upstream (Closes: #1103768).
Checksums-Sha1:
 e52837427f51e9ec27d929776512a71e9aaec58b 1746 prompt-toolkit_3.0.51-2.dsc
 9b71e0ef3b3940e61fbe11a37c7a2dd0835e3710 4936 
prompt-toolkit_3.0.51-2.debian.tar.xz
 313056c9e07385d2729f90df0d56f526aff4d59b 6406 
prompt-toolkit_3.0.51-2_amd64.buildinfo
Checksums-Sha256:
 b0c98a13fc6909e88ff6e1ad69039025d76b210a21793f157601df8d956e269e 1746 
prompt-toolkit_3.0.51-2.dsc
 6110dce976d286cc2e89ffd14c2a8a763f8e0d89be92c547fb13f3c93851bb8b 4936 
prompt-toolkit_3.0.51-2.debian.tar.xz
 d2e9c6a1da8d77bd8d5bbb16bce20d16fbc98b65d1d94852e8f10d72bb006ecb 6406 
prompt-toolkit_3.0.51-2_amd64.buildinfo
Files:
 fc79b4977044c2d3e329353007cbd6c2 1746 python optional 
prompt-toolkit_3.0.51-2.dsc
 a542a3bdcdad498e7dbfd44d251e0886 4936 python optional 
prompt-toolkit_3.0.51-2.debian.tar.xz
 9f76f876a448d9c19c20da653bed0847 6406 python optional 
prompt-toolkit_3.0.51-2_amd64.buildinfo

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

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaAcWmgAKCRD7tPDoCoAi
Lzj3AQDJO7YIFMfSh13i+5H7kDPePoZb/DgROEEdhB6bvF3QjAEAoWwfU/AFJfb4
TqVoojsrAoynr6Nrm7q1qVRegVUpIAU=
=VTua
-----END PGP SIGNATURE-----

Attachment: pgpTyK8v75rhU.pgp
Description: PGP signature


--- End Message ---

Reply via email to