Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10.x fails to find ssl with openssl 3.x #36

Closed
bysnack opened this issue Aug 23, 2023 · 1 comment · Fixed by #37
Closed

Python 3.10.x fails to find ssl with openssl 3.x #36

bysnack opened this issue Aug 23, 2023 · 1 comment · Fixed by #37

Comments

@bysnack
Copy link
Contributor

bysnack commented Aug 23, 2023

Spotted on Ubuntu 23.04

Steps to reproduce:

  1. Go to test_package/conanfile.py
  2. Change the embedded_python:version default option to 3.10.x
  3. Run conan create . lumicks/stable --build=missing
  4. See it fail
embedded_python/1.8.0@lumicks/stable (test package): Running test()
3.10.0 (default, Aug 23 2023, 16:29:28) [GCC 12.3.0]
Traceback (most recent call last):
  File "/home/andres/lumicks/embedded_python/test_package/baseline/test.py", line 5, in <module>
    import ssl
  File "lib/python3.10/ssl.py", line 98, in <module>
ModuleNotFoundError: No module named '_ssl'

Note that overriding the openssl requirement to 1.1.x actually works properly.

@dean0x7d
Copy link
Member

Seems like 3.10 is only partially compatible. It makes sense since they only started shipping openssl v3 in pre-built packages with 3.11. I've updated the requirement in #37.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants