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

[WIP] Support system-site-packages access when create venv #937

Draft
wants to merge 3 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.

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be tool.rye. (and so on)

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.

None yet

4 participants