Skip to content

Check for wrong venv path in cache#287

Merged
eifinger merged 1 commit into
mainfrom
check_changed_venv_path
Jul 5, 2024
Merged

Check for wrong venv path in cache#287
eifinger merged 1 commit into
mainfrom
check_changed_venv_path

Conversation

@eifinger
Copy link
Copy Markdown
Owner

@eifinger eifinger commented Jul 5, 2024

Commit c5f9dab overwrote the venv_path if it didn't match. Tests showed that some packages like certifi still relied on the hardcoded old path. Moreover it is not supported by rye to move venvs between paths and this action now complies with that rather than trying to be overly smart. The impact is a cache miss.

@eifinger eifinger added the bugfix label Jul 5, 2024
@eifinger eifinger force-pushed the check_changed_venv_path branch from 8e7bb01 to 5d8f4e7 Compare July 5, 2024 07:39
Commit c5f9dab overwrote the venv_path if it didn't match. Tests showed that some packages like certifi still relied on the hardcoded old path. Moreover it is not supported by rye to move venvs between paths and this action now complies with that rather than trying to be overly smart. The impact is a cache miss.
@eifinger eifinger force-pushed the check_changed_venv_path branch from 5d8f4e7 to 3ac4ae9 Compare July 5, 2024 07:48
@eifinger eifinger merged commit 2f84df7 into main Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant