Skip to content

Conversation

@abrookins
Copy link
Collaborator

The venv cache key was missing the Python version, causing the same cached venv to be shared across all Python versions (3.9, 3.10, 3.11, 3.12, 3.13, pypy).

This caused failures when a venv built for Python 3.11+ (which doesn't need async-timeout) was restored for Python 3.10 (which does need it as a conditional dependency of redis-py 7.x).

Fixes #743

Fixes #743

The venv cache was shared across all Python versions, causing
conditional dependencies like async-timeout (needed for Python < 3.11)
to be missing when a venv built for 3.11+ was restored for 3.10.
@tylerhutcherson tylerhutcherson self-requested a review January 6, 2026 18:53
Copy link

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

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

Nice catch

@abrookins abrookins merged commit e2dd981 into main Jan 6, 2026
13 checks passed
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.

CI cache key should include Python version

3 participants