-
Notifications
You must be signed in to change notification settings - Fork 602
Package Test Fix for python-toolz #13324
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: 3.0-dev
Are you sure you want to change the base?
Conversation
| %check | ||
| pip3 install nose | ||
| nosetests | ||
| # skip test_shakespeare due to missing directory/files in source tar (Fedora also skips this test for a similar reason) |
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.
I think it is a good idea to credit Fedora in the changelog if you inherited the patch or any idea from Fedora.
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.
Sure I will tag accordingly
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.
Added a note.
rikenm1
left a comment
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.
just one nit
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
python-toolz was using nose tests previously which are no longer compatible with python3.12. Instead we will use pytest to run as instructed upstream. Additionally, upgrading to version 0.12.1 for official python3.12 support instead of just 3.11.
Change Log
Does this affect the toolchain?
NO
Test Methodology
sudo make build-packages REBUILD_TOOLS=y REBUILD_TOOLCHAIN=n DAILY_BUILD_ID=lkg SRPM_PACK_LIST=python-toolz PACKAGE_REBUILD_LIST=python-toolz RUN_CHECK=y -j100