Conversation
Rot127
left a comment
There was a problem hiding this comment.
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 |
kabeor
left a comment
There was a problem hiding this comment.
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