Package: python3
Version: 3.11.4-5+b1
Severity: important
Tags: upstream
X-Debbugs-Cc: deb...@jonathanweth.de

Dear Maintainer,

after updating to the newest Python version and trying to work with Poetry (e. 
g. downloading packages),
the following problem related to the SSL module occured:

Traceback (most recent call last):
  File "/home/wethjo/.local/bin/poetry", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/console/application.py",
 line 405, in main
    exit_code: int = Application().run()
                     ^^^^^^^^^^^^^^^^^^^
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/cleo/application.py",
 line 338, in run
    self.render_error(e, io)
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/console/application.py",
 line 180, in render_error
    
self.set_solution_provider_repository(self._get_solution_provider_repository())
                                          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/console/application.py",
 line 394, in _get_solution_provider_repository
    from 
poetry.mixology.solutions.providers.python_requirement_solution_provider import 
(  # noqa: E501
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/mixology/solutions/providers/__init__.py",
 line 3, in <module>
    from 
poetry.mixology.solutions.providers.python_requirement_solution_provider import 
(
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/mixology/solutions/providers/python_requirement_solution_provider.py",
 line 9, in <module>
    from poetry.puzzle.exceptions import SolverProblemError
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/puzzle/__init__.py",
 line 3, in <module>
    from poetry.puzzle.solver import Solver
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/puzzle/solver.py",
 line 16, in <module>
    from poetry.puzzle.provider import Indicator
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/puzzle/provider.py",
 line 25, in <module>
    from poetry.packages.direct_origin import DirectOrigin
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/packages/direct_origin.py",
 line 10, in <module>
    from poetry.inspection.info import PackageInfo
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/inspection/info.py",
 line 26, in <module>
    from poetry.utils.env import EnvCommandError
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/utils/env.py",
 line 26, in <module>
    import virtualenv
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/__init__.py",
 line 3, in <module>
    from .run import cli_run, session_via_cli
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/run/__init__.py",
 line 11, in <module>
    from ..seed.wheels.periodic_update import manual_upgrade
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/seed/wheels/__init__.py",
 line 3, in <module>
    from .acquire import get_wheel, pip_wheel_env_run
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/seed/wheels/acquire.py",
 line 11, in <module>
    from .bundle import from_bundle
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/seed/wheels/bundle.py",
 line 4, in <module>
    from .periodic_update import periodic_update
  File 
"/home/wethjo/.local/share/pypoetry/venv/lib/python3.11/site-packages/virtualenv/seed/wheels/periodic_update.py",
 line 11, in <module>
    import ssl
  File "/usr/lib/python3.11/ssl.py", line 100, in <module>
    import _ssl             # if we can't import it, let the error propagate
    ^^^^^^^^^^^
ImportError: 
/usr/lib/python3.11/lib-dynload/_ssl.cpython-311-x86_64-linux-gnu.so: undefined 
symbol: _PyModule_Add

There also seem to be other users experiencing this concrete issue as stated in 
 
https://github.com/python/cpython/issues/108525, for example.

Cheers,

Jonathan

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

Kernel: Linux 6.4.0-2-rt-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 python3 depends on:
ii  libpython3-stdlib  3.11.4-5+b1
ii  python3-minimal    3.11.4-5+b1
ii  python3.11         3.11.5-2

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc   <none>
ii  python3-tk    3.11.5-1
pn  python3-venv  <none>

-- no debconf information

Reply via email to