Your message dated Tue, 29 Aug 2023 09:25:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#1050668: python3: Fails to import/work with SSL module 
due to ImportError
has caused the Debian Bug report #1050668,
regarding python3: Fails to import/work with SSL module due to ImportError
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 [email protected]
immediately.)


-- 
1050668: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050668
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3
Version: 3.11.4-5+b1
Severity: important
Tags: upstream
X-Debbugs-Cc: [email protected]

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

--- End Message ---
--- Begin Message ---
python3.11 has now fully migrated.

I didn't read the bug properly before, but the issue was that you had
part of your python3.11 installation from unstable, and part from
testing.

libpython3.11-minimal was a newer version than your python3.11-minimal I
think.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

--- End Message ---

Reply via email to