Repository navigation
Replies: 4 comments 8 replies
|
All those rules sound great to me. I'm personally comfortable with the "progressive" approach of raising the minimum version when python drop support for a version and then freely using features that break the now unsupported version. Yes, as you say, the recourse for users of unsupported versions of python is that they have to use the oldest version of I'll just say that I'm always eager to use PEP 604 so if we go with this strategy |
|
I agree with all of that. Saying we support "Python 3.10+" starting today is fine with me. In general, I would be OK with dropping support for the oldest officially supported Python version a few months early, especially if that allows a compelling feature to be used. |
I'm also fine with both of these things. Just for completeness I'll mention an alternative strategy (which I do not support) for dropping support for a certain python version. The strategy would be to support the lowest version possible until someone wants to use a feature that breaks an old version. Then at that time we discuss if it's worth dropping support for the old python version to allow the feature into the new uncertainties version. As has been pointed out, this approach is more work for the maintainers. |
|
follow https://numpy.org/neps/nep-0029-deprecation_policy.html |
Uh oh!
There was an error while loading. Please reload this page.
Splitting out the discussion from #341: what should the project's policy regarding Python versions?
I think I favor these rules:
requires-pythonentry inpyproject.toml. This means thatpipand other installers will refuse to install the package on older versions of Python.zin version numberx.y.z).xandyinx.y.z).These rules should avoid making a change that breaks the package on the older supported version of Python and avoids a newer breaking version from getting installed on an unsupported version of Python.
I think the main question is the last point. Do we keep supporting an old version until someone argues for using a feature that that version does not support or do we just proactively keep raising the minimum version so new features are free to use without that debate? I'd favor just raising the minimum. There are not a lot of new features or bug fixes coming in currently and users of an old version of Python can keep using the last supported version of Uncertainties.
All reactions