Add support for venvs.
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 1k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 66
Description
I have a python venv and in my opinion, there should be a function to load the venv into the pyo3 runtime. Something like
pyo3::set_venv("/path/to/your/venv");
would make things very easy. Or is there a simple way how this is possible that I'm missing?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing PyO3's runtime initialization and the Python C-API integration to understand how a Python virtual environment could be selected. Compare the requested pyo3::set_venv("/path/to/your/venv") entry point with any existing configuration or loading mechanism; done means an agreed, supported approach is implemented or the existing approach is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100