Our great sponsors
-
cryptography
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
There was a thing in February where Python cryptography required rust, which broke docker-compose installs via pip. [1]
There was a fair amount of back and forth about version pinning—it affected a lot of builds.
Even the issue on the crypto package about it was fairly tense. Iirc, the dependency was rolled back.
[1] https://github.com/docker/compose/issues/8105#issuecomment-7...
> Iirc, the dependency was rolled back.
I am fairly certain it was not, e.g. see this issue (or just notice that there's still rust code in the codebase)
https://github.com/pyca/cryptography/issues/6026
Ah, fair enough. I did a little more digging and it seems you can dynamically link rust binaries too now: https://github.com/rust-lang/compiler-team/issues/422
Python supports Alpine just fine; indeed, the standard Docker Python images include Alpine variants.
If you mean binary wheels, PyPA packaging added support for Alpine wheels a few months ago (https://github.com/pypa/packaging/pull/411), and auditwheel support for the same just shipped today.
Related posts
- Flask Application Load Balancing using Docker Compose and Nginx
- Dockerize an Django Based app along Postgres + Redis + ElasticSearch 🚀
- Ask HN: Go vs. Python (Docker SDK)
- Output colored logs from django through supervisor and docker-compose
- Creating a Python CLI with Go(lang)-comparable startup times