Skip to content

Comments

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

Merged
zanieb merged 1 commit intomainfrom
zb/filter-platform-key
Oct 31, 2024
Merged

Fix test context filtering of Python platform keys with elided patch versions#8713
zanieb merged 1 commit intomainfrom
zb/filter-platform-key

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
// Filter platform keys
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
@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