Skip to content

Travis CI: Matrix -> jobs and Python 3.6 to 3.8 #1608

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

Merged
merged 5 commits into from
Jan 12, 2020

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 24, 2019

https://docs.python.org/3/whatsnew/3.8.html#other-language-changes

For integers, the three-argument form of the pow() function now permits the exponent to be negative in the case where the base is relatively prime to the modulus. It then computes a modular inverse to the base when the exponent is -1, and a suitable power of that inverse for other negative exponents.

@coolreader18
Copy link
Member

Hi @cclauss, RustPython is actually targeting Python ~3.6, hence the CPython versions for our tests being at 3.6. We might change the target version in the future, but for now I think we're good at 3.6.

@youknowone
Copy link
Member

Once we start to target specific python version seriously, fixing a target version will be helpful to step over to goal.

For now, because RustPython is not spending any cost to keep 3.6 compatibility (comparing to 3.7+) at this stage, I think we can just move to later version of CPython if CI doesn't fail. It seems just a preference problem at this stage.

@windelbouwman
Copy link
Contributor

I think we should aim for 3.6 ~ 3.8 ish behavior of python. I agree that as long as CI does not fail, it is okay to move onwards.

@youknowone youknowone merged commit 947c4fe into RustPython:master Jan 12, 2020
@cclauss cclauss deleted the patch-2 branch January 12, 2020 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants