-
Notifications
You must be signed in to change notification settings - Fork 36
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
WIP: Fix get_code_params for Python 3.10 #50
Conversation
…ckled successfully.
@@ -7,7 +7,7 @@ jobs: | |||
runs-on: ubuntu-latest | |||
strategy: | |||
matrix: | |||
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, '3.10-dev', pypy2, pypy3] | |||
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10-dev', '3.11-dev', pypy2, pypy3] |
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.
Python 3.4 on ubuntu-latest (20.04) is not available but available on ubuntu-18.04.
See:
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.
Assuming we want to continue supporting Python 3.4/3.5 jun66j5/genshi@9f462c3 is a good approach. jun66j5/genshi@5908c14d should be replaced by pip install -e .
or python setup.py develop
though. Would you mind submitting a PR?
I'm happy to drop CI for Python 3.4 and 3.5 for now and get_code_params was fixed elsewhere, so closing this PR. |
In #43 and #37 it was reported that the arguments to
code(...)
have changed in Python 3.10. This affects thebuild_code_chunk
andget_code_params
functions ingenshi.compat
.build_code_chunk
was fixed in #49. This PR is intended to fixget_code_params
.WIP: Currently this PR only attempts to get the tests to fail.