Package: awscli
Version: 2.15.22-1
Severity: important
X-Debbugs-Cc: chernomyr...@gmail.com

Dear Maintainer,

After install awscli I got error on any command:
ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' 
(/usr/lib/python3/dist-packages/urllib3/util/ssl_.py)

-- Example:
$ aws --version
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 21, in 
<module>
    import botocore.session
  File "/usr/lib/python3/dist-packages/awscli/botocore/session.py", line 27, in 
<module>
    import botocore.client
  File "/usr/lib/python3/dist-packages/awscli/botocore/client.py", line 16, in 
<module>
    from botocore import UNSIGNED, waiter, xform_name
  File "/usr/lib/python3/dist-packages/awscli/botocore/waiter.py", line 17, in 
<module>
    from botocore.docs.docstring import WaiterDocstring
  File "/usr/lib/python3/dist-packages/awscli/botocore/docs/__init__.py", line 
15, in <module>
    from botocore.docs.service import ServiceDocumenter
  File "/usr/lib/python3/dist-packages/awscli/botocore/docs/service.py", line 
14, in <module>
    from botocore.docs.client import ClientDocumenter, 
ClientExceptionsDocumenter
  File "/usr/lib/python3/dist-packages/awscli/botocore/docs/client.py", line 
16, in <module>
    from botocore.docs.example import ResponseExampleDocumenter
  File "/usr/lib/python3/dist-packages/awscli/botocore/docs/example.py", line 
13, in <module>
    from botocore.docs.shape import ShapeDocumenter
  File "/usr/lib/python3/dist-packages/awscli/botocore/docs/shape.py", line 19, 
in <module>
    from botocore.utils import is_json_value_header
  File "/usr/lib/python3/dist-packages/awscli/botocore/utils.py", line 35, in 
<module>
    import botocore.httpsession
  File "/usr/lib/python3/dist-packages/awscli/botocore/httpsession.py", line 
21, in <module>
    from urllib3.util.ssl_ import (
ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' 
(/usr/lib/python3/dist-packages/urllib3/util/ssl_.py)

-- Install procedure:
# apt install awscli 
Installing:                     
  awscli

Installing dependencies:
  python3-awscrt  python3-dateutil  python3-jmespath  python3-prompt-toolkit  
python3-pyasn1  python3-ruamel.yaml  python3-ruamel.yaml.clib  python3-wcwidth

Summary:
  Upgrading: 0, Installing: 9, Removing: 0, Not Upgrading: 0
  Download size: 11.4 MB
  Space needed: 119 MB / 1,608 MB available

Continue? [Y/n] 
Get:1 http://deb.debian.org/debian unstable/main amd64 python3-pyasn1 all 
0.5.1-1 [69.5 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 python3-awscrt amd64 
0.20.4+dfsg-1+b1 [838 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 python3-dateutil all 
2.9.0-2 [79.4 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 python3-jmespath all 
1.0.1-1 [21.1 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 python3-wcwidth all 
0.2.13+dfsg1-1 [24.9 kB]
Get:6 http://deb.debian.org/debian unstable/main amd64 python3-prompt-toolkit 
all 3.0.46-1 [276 kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 python3-ruamel.yaml.clib 
amd64 0.2.8+ds-1 [188 kB]
Get:8 http://deb.debian.org/debian unstable/main amd64 python3-ruamel.yaml all 
0.18.6+ds-3 [145 kB]
Get:9 http://deb.debian.org/debian unstable/main amd64 awscli all 2.15.22-1 
[9,751 kB]
Fetched 11.4 MB in 2s (4,996 kB/s)  
Selecting previously unselected package python3-pyasn1.
(Reading database ... 205367 files and directories currently installed.)
Preparing to unpack .../0-python3-pyasn1_0.5.1-1_all.deb ...
Unpacking python3-pyasn1 (0.5.1-1) ...
Selecting previously unselected package python3-awscrt.
Preparing to unpack .../1-python3-awscrt_0.20.4+dfsg-1+b1_amd64.deb ...
Unpacking python3-awscrt (0.20.4+dfsg-1+b1) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../2-python3-dateutil_2.9.0-2_all.deb ...
Unpacking python3-dateutil (2.9.0-2) ...
Selecting previously unselected package python3-jmespath.
Preparing to unpack .../3-python3-jmespath_1.0.1-1_all.deb ...
Unpacking python3-jmespath (1.0.1-1) ...
Selecting previously unselected package python3-wcwidth.
Preparing to unpack .../4-python3-wcwidth_0.2.13+dfsg1-1_all.deb ...
Unpacking python3-wcwidth (0.2.13+dfsg1-1) ...
Selecting previously unselected package python3-prompt-toolkit.
Preparing to unpack .../5-python3-prompt-toolkit_3.0.46-1_all.deb ...
Unpacking python3-prompt-toolkit (3.0.46-1) ...
Selecting previously unselected package python3-ruamel.yaml.clib:amd64.
Preparing to unpack .../6-python3-ruamel.yaml.clib_0.2.8+ds-1_amd64.deb ...
Unpacking python3-ruamel.yaml.clib:amd64 (0.2.8+ds-1) ...
Selecting previously unselected package python3-ruamel.yaml.
Preparing to unpack .../7-python3-ruamel.yaml_0.18.6+ds-3_all.deb ...
Unpacking python3-ruamel.yaml (0.18.6+ds-3) ...
Selecting previously unselected package awscli.
Preparing to unpack .../8-awscli_2.15.22-1_all.deb ...
Unpacking awscli (2.15.22-1) ...
Setting up python3-awscrt (0.20.4+dfsg-1+b1) ...
Setting up python3-ruamel.yaml.clib:amd64 (0.2.8+ds-1) ...
Setting up python3-wcwidth (0.2.13+dfsg1-1) ...
Setting up python3-jmespath (1.0.1-1) ...
Setting up python3-ruamel.yaml (0.18.6+ds-3) ...
Setting up python3-pyasn1 (0.5.1-1) ...
Setting up python3-dateutil (2.9.0-2) ...
Setting up python3-prompt-toolkit (3.0.46-1) ...
Setting up awscli (2.15.22-1) ...
Processing triggers for man-db (2.12.1-2) ...

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages awscli depends on:
ii  groff-base                1.23.0-4
ii  python3                   3.11.8-1
ii  python3-awscrt            0.20.4+dfsg-1+b1
ii  python3-colorama          0.4.6-4
ii  python3-cryptography      42.0.5-2
ii  python3-dateutil          2.9.0-2
ii  python3-distro            1.9.0-1
ii  python3-docutils          0.20.1+dfsg-3
ii  python3-jmespath          1.0.1-1
ii  python3-prompt-toolkit    3.0.46-1
ii  python3-pyasn1            0.5.1-1
ii  python3-ruamel.yaml       0.18.6+ds-3
ii  python3-ruamel.yaml.clib  0.2.8+ds-1
ii  python3-urllib3           2.0.7-2

awscli recommends no packages.

awscli suggests no packages.

-- no debconf information

Reply via email to