-
Notifications
You must be signed in to change notification settings - Fork 5
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
Drop Python 3.5 support #274
Conversation
d75d1fa
to
8658064
Compare
.nengobones.yml
Outdated
|
||
travis_yml: | ||
python: 3.7 | ||
python: 3.9 |
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.
We don't officially support Python 3.9 yet in Nengo, though that's not to say it might not all work fine.
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.
Unofficially, I'm currently using Python 3.9, but with 3.8 the issue was Windows specific so who knows.
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.
I think it doesn't hurt to run the tests on 3.9 too as long as they pass. I also think that the "Python 3.6+" formulation in the the readme is fine (NengoSPA is more platform independent than Nengo, so it is even more unlikely that a new Python release breaks things). Might consider taking the classifier out of the setup.py ... but that I would have to re-add it later.
b808459
to
0d30ac7
Compare
This drops Python 3.5 and adds Python 3.8, 3.9 Note that the build of the docs stalls with the 'xenial' dist, thus using 'focal' (the most recent dist) instead.
A few places remain string format calls because either an f-string cannot be used or would be less legible. All string interpolations should be gone now. In two instances the interpolation argument was missing which is now fixed.
Motivation and context:
Drop support for Python 3.5 because nengo-bones does not work with it anymore.
format()
calls to f-strings which were introduced with Python 3.6. A fewformat()
calls remain where an f-string either cannot be used or would be less legible.Interactions with other PRs:
Fixes build for all other PRs. Other PRs should switch over to f-strings.
How has this been tested?
existing tests
How long should this take to review?
Where should a reviewer start?
Changes to the .nengobones.yml might be a good place?
Types of changes:
Checklist:
Still to do: