-
Notifications
You must be signed in to change notification settings - Fork 153
fix(exclude_platform): exclude PEP 600 manylinux tags #2151
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -57,6 +57,7 @@ class ExcludePlatformFilter(FilterReleaseFilePlugin): | |||||||
| "manylinux2014_ppc64", # PEP 599 | ||||||||
| "manylinux2014_ppc64le", # PEP 599 | ||||||||
| "manylinux2014_s390x", # PEP 599 | ||||||||
| "-manylinux_", # PEP 600 (manylinux_<glibc-major>_<glibc-minor>_<arch>) | ||||||||
|
||||||||
| "-manylinux_", # PEP 600 (manylinux_<glibc-major>_<glibc-minor>_<arch>) | |
| "-manylinux_", # PEP 600 (manylinux_<glibc-major>_<glibc-minor>_<arch>) in hyphen-separated tags | |
| ".manylinux_", # PEP 600 (manylinux_<glibc-major>_<glibc-minor>_<arch>) in dot-separated tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ExcludePlatformFilter._patterns/_packagetypesare class-level caches. Resetting them insetUp()helps within this module, but the values will remain mutated after the last test and can leak into later test modules (causinginitialize_plugin()to skip re-initialization). Consider also resetting these caches intearDown()(or using addCleanup) to leave global state clean for the rest of the test suite.