-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Stalewaiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.
Description
-
Versions of Python,
cryptography,cffi,pip, andsetuptools
you're using
Python 3.11.3
cryptography 41.0.0/41.0.1
pip 23.1.2
setuptools 67.8.0
setuptools-rust 1.6.0
openssl 3.1.1 -
How you installed
cryptography
Building the Arch Linux package (I am the packager) -
Clear steps for reproducing your bug
Since 41.0.0, I am getting the following error when trying to import the openssl backend:
>>> from cryptography.hazmat.backends.openssl import backend
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 13, in <module>
from cryptography import utils, x509
File "/usr/lib/python3.11/site-packages/cryptography/x509/__init__.py", line 7, in <module>
from cryptography.x509 import certificate_transparency
File "/usr/lib/python3.11/site-packages/cryptography/x509/certificate_transparency.py", line 11, in <module>
from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError: /usr/lib/python3.11/site-packages/cryptography/hazmat/bindings/_rust.abi3.so: undefined symbol: PyInit__openssl
Which isn't the case for 40.0.2 or older versions with everything else unchanged. The package was built with a plain "python setup.py build" and the build went well.
Metadata
Metadata
Assignees
Labels
Stalewaiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.