Search Criteria
Package Details: python-mbedtls 2.7.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-mbedtls.git (read-only, click to copy) |
|---|---|
| Package Base: | python-mbedtls |
| Description: | A free cryptographic library for Python that uses mbed TLS for back end. |
| Upstream URL: | https://pypi.org/project/python-mbedtls/ |
| Keywords: | cryptography mbedtls |
| Licenses: | MIT |
| Submitter: | AchmadFathoni |
| Maintainer: | None |
| Last Packager: | AchmadFathoni |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-11-28 12:49 (UTC) |
| Last Updated: | 2023-07-15 16:06 (UTC) |
Dependencies (8)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR)
- python
- python-certifi
- python-typing-extensions
- cython (cython-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-wheel (make)
Latest Comments
aleph-five commented on 2025-01-05 16:22 (UTC) (edited on 2025-01-05 16:24 (UTC) by aleph-five)
Method, proposed by frostwork, won't work properly (at least for me): package installs without errors but trying from python interpreter
import mbedtlsthrowsKeyError: 11.What really helped: * Clone mbedtls repo https://github.com/Mbed-TLS/mbedtls * Check out remote branch mbedtls-2.28 * Build mbedtls:
make CFLAGS='-fPIC'* Install:make install* Runpip install python-mbedtlsfrom virtual environment * Uninstall mbedtls:make uninstallHope this will help anyone.
frostwork commented on 2023-09-15 16:52 (UTC)
I can confirm that temporarily renaming
/usr/include/mbedtlsfrom thembedtlspackage and copying recursively/usr/include/mbedtls2/medtlsfrom thembedtls2package to/usr/include/mbedtlsleads to a successful compile ofpython-mbedtls. Of course a dirty hack, but tbh I'm not interested in fragile cython build voodoo fixing.frostwork commented on 2023-09-15 16:27 (UTC)
the package doesn't compile here because
mbedtls-3.4.1-1doesn't providembedtls/ssl_internal.hthe package https://archlinux.org/packages/extra/x86_64/mbedtls2/ does though, but the absolute path to trhe header is/usr/include/mbedtls2/mbedtls/ssl_internal.h
so the build process requires an additional "-I/usr/include/mbedtls2"
haven't checked where the build flags come from, but I can confirm that compiling build/3.11.5/temp.linux-x86_64-cpython-311/build/3.11.5/temp.linux-x86_64-cpython-311/src/mbedtls/_tls.o manually by adding the include to the failing gcc command line works
weston commented on 2022-06-01 08:44 (UTC)
Needs cython added as a dep in order to build.
SpotlightKid commented on 2021-10-07 16:14 (UTC)
Source hash check fails: