Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support system-site-packages access when create venv #937

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ischaojie
Copy link
Contributor

@ischaojie ischaojie commented Mar 24, 2024

Add a configuration option to determine whether system-site-packages are required when creating a virtual environment, related: #925, astral-sh/uv#2101.

rye/src/config.rs Outdated Show resolved Hide resolved
@mitsuhiko
Copy link
Collaborator

This would require some documentation. Also I'm assuming the only use for this flag is if this is used with an explicitly registered system python toolchain?

@bnorick
Copy link

bnorick commented Apr 24, 2024

Happy to pitch in if needed. I am using this PR for a very specific scenario along with a system toolchain, like you mentioned @mitsuhiko, and it's working great.

CHANGELOG.md Outdated
@@ -9,6 +9,9 @@ _Unreleased_

- Always create `.gitignore` file in `rye init`. #919

- Added new `rye.tool.system-site-packages` config, so that the virtualenv

This comment was marked as resolved.

@ischaojie ischaojie marked this pull request as ready for review June 16, 2024 03:51
@ischaojie
Copy link
Contributor Author

Ready for review :)

@ischaojie ischaojie changed the title [WIP] Support system-site-packages access when create venv Support system-site-packages access when create venv Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants