diff --git a/docs/changes.rst b/docs/changes.rst index 70ced9d2..22c036e0 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -9,6 +9,9 @@ skops Changelog :depth: 1 :local: +v0.12 +----- + v0.11 ----- - Correctly restore ``default_factory`` when saving and loading a ``defaultdict``. diff --git a/skops/__init__.py b/skops/__init__.py index ebd63a0e..29721612 100644 --- a/skops/__init__.py +++ b/skops/__init__.py @@ -1,5 +1,3 @@ -import sys - # PEP0440 compatible formatted version, see: # https://www.python.org/dev/peps/pep-0440/ # @@ -16,18 +14,4 @@ # Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer. # 'X.Y.dev0' is the canonical version of 'X.Y.dev' # -__version__ = "0.11.dev0" - -try: - # This variable is injected in the __builtins__ by the build - # process. It is used to enable importing subpackages of skops when - # the binaries are not built - # mypy error: Cannot determine type of '__SKOPS_SETUP__' - __SKOPS_SETUP__ # type: ignore -except NameError: - __SKOPS_SETUP__ = False - -if __SKOPS_SETUP__: - sys.stderr.write("Partial import of the library during the build process.\n") - # We are not importing the rest of the library during the build - # process, as it may not be compiled yet or cause immature import +__version__ = "0.12.dev0"