Package pyO3
See original GitHub issueSome packages are considering (or starting to) to want to compile Rust code into python packages - notably cryptography (see pyca/cryptography#5381). The plan is to do this by ~2021 using pyO3, which isn’t packaged by conda-forge yet.
However, with existing feedstocks for rust and setuptools-rust, it seems like there’s not too many pieces missing (hopefully).
CC @mingwandroid @isuruf regarding the consequences for cryptography
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Introduction - PyO3 user guide
maturin is a tool for building and publishing Rust-based Python packages with minimal configuration. The following steps install maturin , use it to...
Read more >pyo3.rs - Rust bindings for the Python interpreter - GitHub
maturin is a tool for building and publishing Rust-based Python packages with minimal configuration. The following steps install maturin , use it to...
Read more >pyo3-pack - PyPI
Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages. This project was meant as...
Read more >pyo3-chrono - crates.io: Rust Package Registry
pyo3 -chrono v0.2.0. Adds PyO3 support to Chrono structs via newtypes. #datetime · #python · #pyo3 · #chrono · Readme · 7 Versions...
Read more >pyo3 - Rust - Docs.rs
PyO3 can be used to write native Python modules or run Python code and ... The PyO3 repository's examples subdirectory contains some basic...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The current state with Rust packages is that conda-forge doesn’t do any special-handling here, meaning you’d just have your
pyo3
dep inCargo.toml
andcargo
will fetch everything itself during the build. Meaning, Rust libraries like PyO3 don’t have Conda packages but can be used in the builds.https://github.com/conda-forge/rust-feedstock/tree/dev can be updated as needed. But PyO3 >=0.11.0 works with stable Rust anyway, so unless the downstream project needs nightlies, we can use the stable releases from
conda-forge::rust
.In-progress for
cryptography
: https://github.com/conda-forge/cryptography-feedstock/pull/64