-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
Added support for marking virtualenvs ignored for cloud sync #589
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Second test. Created a new rye project now with the global behavior setting PS C:\Users\dsp\Dropbox> rye init rye-test-2
success: Initialized project in C:\Users\dsp\Dropbox\rye-test-2
Run `rye sync` to get started
PS C:\Users\dsp\Dropbox> cd .\rye-test-2\
PS C:\Users\dsp\Dropbox\rye-test-2> rye sync
Initializing new virtualenv in C:\Users\dsp\Dropbox\rye-test-2\.venv
Python version: cpython@3.12.1
Generating production lockfile: C:\Users\dsp\Dropbox\rye-test-2\requirements.lock
Generating dev lockfile: C:\Users\dsp\Dropbox\rye-test-2\requirements-dev.lock
Installing dependencies
Looking in indexes: https://pypi.org/simple/
Obtaining file:///. (from -r C:\Users\dsp\AppData\Local\Temp\tmpjdv_b33f (line 1))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: rye-test-2
Building editable for rye-test-2 (pyproject.toml) ... done
Created wheel for rye-test-2: filename=rye_test_2-0.1.0-py3-none-any.whl size=1277 sha256=de10f4c465c07189f9aa89db6643546c3e5a6535a5fb97d5560bb763266e155c
Stored in directory: C:\Users\dsp\AppData\Local\Temp\pip-ephem-wheel-cache-qw4a_78h\wheels\8b\19\c8\73a63a20645e0f1ed9aae9dd5d459f0f7ad2332bb27cba6c0f
Successfully built rye-test-2
Installing collected packages: rye-test-2
Successfully installed rye-test-2-0.1.0
Done!
PS C:\Users\dsp\Dropbox\rye-test-2> rye config --get behavior.venv-mark-sync-ignore
false This now correctly has .venv |
This looks great. Thank you. If I can figure out solutions for iCloud Drive on Windows or other cloud tools, I will follow up with fixes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By default rye will now mark virtualenvs to not sync to cloud storage (iCloud and Dropbox).
Todo:
Fixes #585