-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove python2 leftovers #2378
Remove python2 leftovers #2378
Conversation
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.
Please fix the CI and it is good IMO.
|
Looks like the OSS Fuzz stuff is still using python 2. I can make a pull request to the OSS fuzz to switch them to using a newer python 3, but this will need to be merged first. Is it ok if we disable the fuzz pipeline temporarily here, make a pull request to OSS Fuzz, then re-enable the fuzz pipeline again once the changes are merged? Edit: Actually nevermind I don’t think the disabling is necessary, I’ll make a PR over there today. |
I would be surprised if the OSS Fuzz is still using Python 2. Maybe CS just uses an outdated branch or something? |
Take a look here: https://github.com/google/oss-fuzz/tree/master/projects/capstone In Dockerfile, it is using the generic base, not the python base, and installs python2. The branches are current, v5 and next. In build.sh, it uses |
Opened the PR on OSS-Fuzz: google/oss-fuzz#12028 Looks like I'll need an existing contributor to sign off on the change. |
@aquynh, How do you think about this? Remove python 2 supporting. |
Python 2 support was already removed few months ago and discussed before. These are only remnants/leftovers. |
It seems that OSSFuzz PR fails because of the 5.0.1 use in the repo, so it should either should be switched to use |
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.
Thanks for your contribution! Let's try merge this first, if there is any issue, I'll revert it.
Still waitting for rerun in google/oss-fuzz#12028 . |
Considering that the PR still needs more modifications to adapt to oss-fuzz, we must revert to let the project continue to progress. Welcome to continue to contribute. |
Upstream has ended python2 support. When removing python2 compatibility code, it was noticed that oss-fuzz was still utilizing this support. This fixes that by moving to a supported version of python3. See this PR: capstone-engine/capstone#2378
@twizmwazin If you have a little time, it would be awesome if you could make another one. If you have one or two minutes more, please also do a |
Your checklist for this pull request
Detailed description
Removes the python2 bits I could find.
Removes the python2 bits. No functional changes on python3. Extra changes avoided.
Test plan
Run tests on supported python3 versions.
Closing issues
#2342