Release cycle of LazySlide#
Decide on the release version, lazyslide uses semantic versioning.
Make a release for lazyslide-tutorial
Make a release for lazyslide
How to make a release#
Notice that a release can only be made by the repository owner.
Got to releases and click on “Draft a new release”.
Make a new tag with the version number, for example
v0.8.2.Add the release title, usually the same as the tag.
Fill the release notes.
Click on “Publish release”.
Checklist before the release#
Any updates from the upstream library should we include? Especially wsidata, huggingface and pytorch.
Are all the tests passing?
Is the documentation up to date?
Is the tutorial up to date and tagged to the release version?
Are deprecations due for removal in this release removed?
Deprecation policy#
Public API (functions, parameters, settings) is not removed or renamed without warning:
Deprecate first. Call
lazyslide._utils.warn_deprecated, which emits aFutureWarningattributed to the user’s call site. For a renamed keyword, uselazyslide._utils.deprecated_alias.Say when it goes. The message reads “
Xis deprecated since vA and will be removed in vB; useY.” The docstring gets.. deprecated:: A(always with the version, Sphinx requires it).Remove it two minor releases later, together with its tests.
Parameters added since the last release go after a bare
*, so positional calls written against the last release keep binding the same way.