You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NumPy 1.17 was released at the end of July 2019, which would fit the 18 month requirement. This is handy as we can drop a bunch of compat code if we bump the minimum requirement to NumPy 1.17.
I think everything else is already meeting this requirement.
We just discussed the issue at the maintainers' meeting. The general consensus is:
People are generally happy to have some rolling policy instead of having to discuss version bumps every time
If we're going with NEP-29, it should be implemented lazily, that is minimum versions should not be bumped up until they become an actual nuisance. In other words, we shouldn't aggressively pursue cleaning up compatibility code that is not onerous to just keep there until it actively gets in the way.
The impacted people are typically large corporate or institutional users which are rarely involved in this kind of discussion. However, in most cases those users will have the whole ecosystem frozen in time 2-3 years ago and should typically not cherry-pick a bleeding edge version of dask while keeping everything else obsolete.
If we're going with NEP-29, it should be implemented lazily, that is minimum versions should not be bumped up until they become an actual nuisance. In other words, we shouldn't aggressively pursue cleaning up compatibility code that is not onerous to just keep there until it actively gets in the way.
I somewhat disagree with this. I feel like versions should be bumped when:
They become too old as per the established policy.
Any contributor, core or not, has an interest in making the contribution.
The ability of non-core contributors to make the PR is critical since asking new contributors to ensure compatibility with old versions of libraries can be quite onerous.
I agree that they shouldn't be blockers, but I would consider it a PR that contributors shouldn't have to ask permission to submit.
They become too old as per the established policy.
Any contributor, core or not, has an interest and need in making the contribution.
With my addition in bold, what you and I said would become perfectly aligned
However, I'm curious to know the policy for how people that depend on dask should interpret the results:
Support in downstream libraries for old versions of dask is something that each downstream library should be free to decide by themselves. Here we were strictly discussing the dependencies of dask itself...
I think the requirement for "need" adds unnecessary complexity for minimum version bump.
I'm trying to find the numpy/scipy thread that discussed this. In the end, it is about having clear guidelines on what to support and what not to support.
Looking at the highlights from the 1.17.0 numpy release, ever single one of these could be justified as either a necessary requirement for a new dask feature, or, a contributor might be asked to go the extra mile and ensure their contribution is also valid for numpy 1.16.
Removing the word "need" from Any contributor, core or not, has an interest and need in making the contribution. makes it so much easier to decide between the two.
Activity
crusaderky commentedon Mar 12, 2021
The 12 months policy of xarray has been found to be a bit too tight for people's comfort. 18 months sounds more reasonable.
jakirkham commentedon Mar 12, 2021
NumPy 1.17 was released at the end of July 2019, which would fit the 18 month requirement. This is handy as we can drop a bunch of compat code if we bump the minimum requirement to NumPy 1.17.
I think everything else is already meeting this requirement.
jrbourbeau commentedon Mar 15, 2021
FYI I opened up an issue in the community issue tracker informing folks who may not watch the
dask/dasktracker about this issuecrusaderky commentedon Mar 16, 2021
We just discussed the issue at the maintainers' meeting. The general consensus is:
hmaarrfk commentedon Mar 17, 2021
I somewhat disagree with this. I feel like versions should be bumped when:
The ability of non-core contributors to make the PR is critical since asking new contributors to ensure compatibility with old versions of libraries can be quite onerous.
I agree that they shouldn't be blockers, but I would consider it a PR that contributors shouldn't have to ask permission to submit.
I'm all for nep-29. (Shameless plug for the tool I developed for it).
However, I'm curious to know the policy for how people that depend on dask should interpret the results:
crusaderky commentedon Mar 17, 2021
With my addition in bold, what you and I said would become perfectly aligned
Support in downstream libraries for old versions of dask is something that each downstream library should be free to decide by themselves. Here we were strictly discussing the dependencies of dask itself...
hmaarrfk commentedon Mar 17, 2021
I think the requirement for "need" adds unnecessary complexity for minimum version bump.
I'm trying to find the numpy/scipy thread that discussed this. In the end, it is about having clear guidelines on what to support and what not to support.
Looking at the highlights from the 1.17.0 numpy release, ever single one of these could be justified as either a necessary requirement for a new dask feature, or, a contributor might be asked to go the extra mile and ensure their contribution is also valid for numpy 1.16.
Removing the word "need" from
Any contributor, core or not, has an interest and need in making the contribution.makes it so much easier to decide between the two.jakirkham commentedon Jul 14, 2021
FYI NumPy 1.17 will be deprecated July 26. Details in this table.
Additionally conda-forge is dropping it for the same reason ( conda-forge/conda-forge-pinning-feedstock#1696 ).
If we want to make one last release supporting it, that seems ok, but would recommend dropping NumPy 1.17 in the subsequent release.
jsignell commentedon Jul 19, 2021
I think we should probably do one last release with numpy 1.17 and pandas 0.25 and then update the requirement on both of them.
jakirkham commentedon Jul 20, 2021
cc @TomAugspurger (in case you have thoughts on bumping the Pandas version)
TomAugspurger commentedon Jul 20, 2021
No preference.
jrbourbeau commentedon Jul 21, 2021
Yeah, no strong preference from me about dropping NumPy 1.17 and pandas 0.25 after the next release
hmaarrfk commentedon Jul 21, 2021
I'm all for moving minimum dependencies forward. I feel like it reduces maintenance burden at a minimum
jakirkham commentedon Jul 26, 2021
Submitted PR ( #7939 ) to bump NumPy & Pandas
ian-r-rose commentedon Aug 25, 2022
It seems like the consensus here is to lazily follow NEP-29 (which I believe we have been doing). Closing as resolved