fix: a temporal workaround for the "virtualenv 20.33.0 breaks Poetry in GitHub Actions"#213
Merged
fridayL merged 4 commits intoMemTensor:devfrom Aug 5, 2025
Merged
Conversation
d8910eb to
6088f8e
Compare
6088f8e to
1ad0e02
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a Windows workflow issue by installing a specific version of virtualenv to resolve compatibility problems with Poetry. The change addresses known issues with newer virtualenv versions that cause conflicts in Windows CI environments.
Key Changes
- Adds virtualenv version pinning to ensure compatibility with Poetry on Windows
Comments suppressed due to low confidence (1)
.github/workflows/python-tests.yml:48
- The virtualenv version 20.32 does not exist. The virtualenv package follows semantic versioning and the latest available versions are in the 20.x series but version 20.32 is not a valid release. Please verify the correct version number from the official virtualenv releases.
run: pip install virtualenv==20.32
fridayL
approved these changes
Aug 4, 2025
3 tasks
This file contains hidden or 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
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.
Description
Summary:
The upstream dependency
virtualenvwas upgraded to version 20.33.0, causingpoetryto fail in executing commands based on the Python version in the virtual environment. This also likely caused the failure in locating the cache during theSet up Python ${{ matrix.python-version }}workflow step.Related issues:
Currently, the temporary workaround is to downgrade
virtualenvfrom 20.33.0 to 20.32.Reviewer: @fridayL @CaralHsi @J1awei-Yang
Checklist: