Deprecation Policy #208
Replies: 3 comments 1 reply
-
i guess i'm talking about two different things here
the first is easier. sphinx-needs is <1.0.0, which implies that you can freely make breaking changes on minor version bumps. A slightly aggressive approach would be to add a deprecation warning in interpreter version is harder. Officially, each interpreter version is supported for 5 years from release
in practice however, I don't know of any distributions that are now shipping with python <3.8 If an older interpreter version can be supported without any additional pain, then why not? On the other hand, I don't see much value in supporting an interpreter version which is 3-5 years old if that restricts you from using language features which can benefit the project (*cough* dataclasses). The way semver handles interpreter version bumps seems to vary between languages. Rust for example seems to be arriving at a consensus that bumping the minimum compiler version is a 'minor' change to a project (a >=1.0.0 project, that is). That seems reasonable to me. If someone really can't upgrade to a more recent interpreter version, then they have access to older versions of Sphinx-Needs. If they want the latest version and features, they need to upgrade. That's pretty standard. I guess what i'm saying is i think bending over backwards to support old versions is great practice, but after a point it becomes far more trouble than its worth. All of this deprecation policy belongs in a |
Beta Was this translation helpful? Give feedback.
-
Nice write up and good points overall. Have not much time, but one additional argument / basement on how to decide which Python versions to support, is the upstream project. Not really sure if this would makes things easier. Have to think about it :) |
Beta Was this translation helpful? Give feedback.
-
Heads up, sphinx has dropped python 3.5 support in the 4.0 release - sphinx-doc/sphinx#7264 |
Beta Was this translation helpful? Give feedback.
-
This project doesn't have a visible deprecation policy.
deprecation
be welcome here?pyenv
,poetry
,pdm
,pipenv
, etc). On top of that, it means you miss out on new features that have the potential to streamline the codebase.dataclasses
spring to mind, and they're not supported until python 3.7Beta Was this translation helpful? Give feedback.
All reactions