-
Notifications
You must be signed in to change notification settings - Fork 174
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
Mechanical fix/workaround for tests/tools/pyroma/test_pyroma_tool.py
#658
Mechanical fix/workaround for tests/tools/pyroma/test_pyroma_tool.py
#658
Conversation
Thank you for your work @valeriupredoi. I don't have enough knowledge of prospector to review that, sorry. |
@Pierre-Sassoulas not a problem at all, mate. Can any other of the |
@carlio would you mind reviewing this to unblock python 3.12 support down the line, please ? :) |
am just a bit worried that @carlio 's been off GH scope for many months, do hope he's on a nice sabbatical/holiday 👍 |
@valeriupredoi @Pierre-Sassoulas Forgive me if I am about to say something stupid, i am sailing uncharted water here, but: Shouldn't this simply be a case of getting the unique values for If order is irrelevant (which i feel it is), Thoughts? |
I'm starting to think that this test possibly being invalid is not as impactful than prospector still not being available for python 3.12 / pylint 3.0. (And the numerous CVE it contains from some outdated dependencies) |
Description
This PR provides a mechanical fix/workaround (ie not a fix at the root cause, please see below for reasoning) for the failed test
Testing steps
master
Clues: the
files.files
are identical on both machines; themessages
indeed differ by two elements:As you can see, the GA results include two additional
pyroma-PYRUNKNOWN
members in themessages
list. My theory is that thesetup.py
file gets a little bit altered (trailing space character, newline character etc - could be anything non-major - something minor) which gives differing results at the point of pyroma run. File system peculiarities, I reckon.PS: I've kept the change to the GA workflow file for possible further testing, I'll remove that if this will get merged. Cheers, fellas 🍺
Related Issue
This failing test needs be fixed so we can get #645 in and consequently release a version that supports Python 3.12
Motivation and Context
Fixes failing test
tests/tools/pyroma/test_pyroma_tool.py
How Has This Been Tested?
Types of changes
Checklist: