|
| 1 | +.. _version-policy: |
| 2 | + |
| 3 | +Version Policy |
| 4 | +============== |
| 5 | + |
| 6 | +.. |MAINT| replace:: ``maint/v2`` |
| 7 | +.. _MAINT: https://github.com/python-semver/python-semver/tree/maint/v2 |
| 8 | +.. |CHANGELOG| replace:: ``Changelog`` |
| 9 | +.. _CHANGELOG: https://github.com/python-semver/python-semver/blob/maint/v2/CHANGELOG.rst |
| 10 | + |
| 11 | +The move from v2 to v3 introduced many changes and deprecated module functions. |
| 12 | +The main functionality is handled by the :class:`~semver.version.Version` class |
| 13 | +now. Find more information in the section :ref:`semver2-to-3`. |
| 14 | + |
| 15 | + |
| 16 | +semver Version 2 |
| 17 | +---------------- |
| 18 | + |
| 19 | +Active development of major version 2 has stopped. No new features nor |
| 20 | +backports will be integrated. |
| 21 | +We recommend to upgrade your workflow to Python 3 to gain support, |
| 22 | +bugfixes, and new features. |
| 23 | + |
| 24 | +If you still need this old version, use the |MAINT|_ branch. There you |
| 25 | +can look for the |CHANGELOG|_ if you need some details about the history. |
| 26 | + |
| 27 | + |
| 28 | +semver Version 3 |
| 29 | +---------------- |
| 30 | + |
| 31 | +We will not intentionally make breaking changes in minor releases of V3. |
| 32 | + |
| 33 | +Methods marked as ``deprecated`` raise a warning message when used from the :py:mod:`warnings` module. |
| 34 | +Check section :ref:`sec_replace_deprecated_functions` to make your code |
| 35 | +ready for future major releases. |
| 36 | + |
| 37 | + |
| 38 | +semver Version 3 and beyond |
| 39 | +--------------------------- |
| 40 | + |
| 41 | +Methods that were marked as deprecated will be very likely be removed. |
| 42 | + |
| 43 | + |
| 44 | +Support for Python versions |
| 45 | +--------------------------- |
| 46 | + |
| 47 | +This project will drop support for a Python version when the |
| 48 | +following conditions are met: |
| 49 | + |
| 50 | +* The Python version has reached `EOL <https://devguide.python.org/versions/>`_. |
0 commit comments