-
Notifications
You must be signed in to change notification settings - Fork 2
update to python 3.8+ #2
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: master
Are you sure you want to change the base?
Conversation
|
I have been trying to update to work with python 3.10 on alpine linux, but with the following patch I still get: |
|
Note that I'm occasionally still using pypytools on py27, so I don't want a PR which removes python2 support. |
|
Okay, will add back python2 stuff. Can you tell what is happening in the test failures? |
e02e8f5 to
94b4a1e
Compare
|
I think this is now python2 and 3 compatible, but i still get: |
8b1cb38 to
7a356fd
Compare
|
updated after ran tests under debian python2.7 via docker, so now runs on 2.7 but same two xfails |
2.7 is 12 years old, dont you think that current versions should be prioritized over incredibly old EOL versions |
2.7 is still used in many places, including some which I care about. So no, I'm not going to remove 2.7 support but as I said I'm more than happy to support more py3.x versions |
|
This does not remove 2.7 anymore |
|
@a16bitsysop it'd be useful to integrate GHA so that the test run results are visible transparently. |
|
thanks for the review, added all the suggestions |
| if PY3: | ||
| args.insert(1, co.co_kwonlyargcount) | ||
| if PY3 and PY3M >= 8: | ||
| args.insert(1, co.co_posonlyargcount) |
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.
Could you also add this to fix 3.11 and above? That would fix #4
if PY3 and PY3M >= 11:
args.insert(12, co.co_qualname)
args.insert(15, co.co_exceptiontable)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.
okay added it
* add xfail for tests that fail in ubuntu and alpine
Uh oh!
There was an error while loading. Please reload this page.