-
Notifications
You must be signed in to change notification settings - Fork 279
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
Support for Python versions for upcoming 4.0 release #3070
Comments
Can you think of any way to get usage info for various python versions among the community? |
My understanding is that we have no reason to break compatibility right now, it's only relevant if we want to actually push using 3.7+ exclusive features. Type-hints are the only one that we discussed so far (they actually exist in Python 3.6 too but the level of support is too low there IMO). All this considered, I don't think we need to pin numpy, but I vote for dropping Python 3.6 after yt 4.0 nonetheless :) |
Oh! Right, so numpy will take care of this itself, and as long as we don't
require 1.20 or py3.7 specific stuff, we're OK?
…On Wed, Feb 10, 2021 at 9:35 AM Clément Robert ***@***.***> wrote:
My understanding is that we have no reason to break compatibility *right
now*, it's only relevant if we want to actually push using 3.7+ exclusive
features. Type-hints are the only one that we discussed so far (they
actually exist in Python 3.6 too but the level of support is too low there
IMO).
The fact that numpy 1.20 broke compat means that our users can't upgrade
to the latest version of bumpy (coincidently, the one we're running our
tests against) unless they switch to python 3.7 or greater, but it doesn't
make yt de facto incompatible with 3.6
All this considered, I don't think we need to pin numpy, but I vote for
dropping Python 3.6 after yt 4.0 nonetheless :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3070 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAVXO6CR4HINQSSKN3SZVTS6KRSVANCNFSM4XNEIE6Q>
.
|
On paper yes. The one issue with that plan is that numpy 1.20 introduced an infamous eisenbug in our CI so one could argue we should not explicitly support numpy 1.20 for that reason. my personal opinion is that it's... probably fine™️ |
Yep! This is my understanding. I felt it was important to raise this so that we're all aware of this to avoid 3.6 breakage until later.
I think this is true too. We don't necessarily have to pin to <1.20, but we can avoid adding explicit support for it until later. |
Update: we've been having fatal issues with every single minor release of numpy and matplotlib in the recent past. Adding an explicit upper limit to supported Python version doesn't provide any edge that I can think of. |
Description
Numpy 1.20 officially drops support for Python 3.6, but in our last team meeting we agreed that yt4.0 would support python 3.6.
How do we want to proceed with this?
The text was updated successfully, but these errors were encountered: