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

Remove testing on the 16.x line of virtualenv #936

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jan 9, 2024

virtualenv version 16.x would rewrite the site module, which caused some past versions of the CLI to emit errors at import time, as the simulated site module didn't exactly match the stdlib. 16.7.12 was a recent release of virtualenv at the time that we introduced this testing in 2021, and 16.x had releases contemporaneous with some of th earlier 20.x releases of virtualenv. However, there have been no subsequent releases in the 16.x line.

Therefore, we can safely assume that support for these older versions has been dropped by virtualenv upstream, and we don't necessarily need to thoroughly test for compatibility with these versions.

No compatibility code has been removed (see _is_user_install in src/globus_cli/commands/update.py), but it may not be necessary anymore.

`virtualenv` version 16.x would rewrite the `site` module, which
caused some past versions of the CLI to emit errors at import time, as
the simulated `site` module didn't exactly match the stdlib.
16.7.12 was a recent release of virtualenv at the time that we
introduced this testing in 2021, and 16.x had releases contemporaneous
with some of th earlier 20.x releases of virtualenv.
However, there have been no subsequent releases in the 16.x line.

Therefore, we can safely assume that support for these older versions
has been dropped by virtualenv upstream, and we don't necessarily
need to thoroughly test for compatibility with these versions.

No compatibility code has been removed (see `_is_user_install` in
`src/globus_cli/commands/update.py`), but it may not be necessary
anymore.
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Jan 9, 2024
@sirosen sirosen merged commit 11cccda into globus:main Jan 9, 2024
18 checks passed
@sirosen sirosen deleted the remove-virtualenv-16-test branch January 9, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-news-is-good-news This change does not require a news file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants