Christian Heimes <[email protected]> added the comment:
With fix:
$ /tmp/python311/bin/pip3 install --no-binary :all: cryptography
Collecting cryptography
Using cached cryptography-36.0.1.tar.gz (572 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: cffi>=1.12 in
/tmp/python311/lib/python3.11/site-packages (from cryptography) (1.15.0)
Requirement already satisfied: pycparser in
/tmp/python311/lib/python3.11/site-packages (from cffi>=1.12->cryptography)
(2.21)
Building wheels for collected packages: cryptography
Building wheel for cryptography (PEP 517) ... done
Created wheel for cryptography:
filename=cryptography-36.0.1-cp311-cp311-linux_x86_64.whl size=2628351
sha256=fb3cc21f8eaa546cd2c0123ea01a98bf92a9824fcdca36cfcf765b2c044bd186
Stored in directory:
/home/heimes/.cache/pip/wheels/6c/77/a9/3c4762d4e65bef5f742a304c507f9723ca3563a38d108618ad
Successfully built cryptography
Installing collected packages: cryptography
Successfully installed cryptography-36.0.1
Without fix:
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
-I/tmp/python311/include/python3.11 -c build/temp.linux-x86_64-3.11/_openssl.c
-o build/temp.linux-x86_64-3.11/build/temp.linux-x86_64-3.11/_openssl.o
-Wconversion -Wno-error=sign-conversion
In file included from /tmp/python311/include/python3.11/Python.h:66,
from build/temp.linux-x86_64-3.11/_openssl.c:57:
/tmp/python311/include/python3.11/moduleobject.h:82:3: error: unknown type
name ‘PyModuleDef_Slot’
82 | PyModuleDef_Slot *m_slots;
| ^~~~~~~~~~~~~~~~
----------
keywords: -patch
stage: patch review ->
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46915>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com