Skip to content

Fix test context filtering of Python platform keys with elided patch versions #8713

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

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Oct 31, 2024

Cherry-picked from #8650

@zanieb zanieb added the testing Internal testing of behavior label Oct 31, 2024
self.filters.push((
r"((?:cpython|pypy)-\d+\.\d+(:?\.\d+)?[a-z]?(:?\+[a-z]+)?)-.*".to_string(),
r"((?:cpython|pypy)-\d+\.\d+(?:\.(?:\[X\]|\d+))?[a-z]?(?:\+[a-z]+)?)-.*".to_string(),
Copy link
Member Author

Choose a reason for hiding this comment

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

This ensures the existing filter succeeds when our typical patch version filtering is already applied.

@zanieb zanieb changed the title Extend test context filtering of Python platform keys Fix test context filtering of Python platform keys with elided patch versions Oct 31, 2024
@zanieb zanieb force-pushed the zb/filter-platform-key branch from 100ce8c to 9091121 Compare October 31, 2024 01:13
@zanieb zanieb merged commit 1b760af into main Oct 31, 2024
63 checks passed
@zanieb zanieb deleted the zb/filter-platform-key branch October 31, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Internal testing of behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant