From 85ef9587f453f31d4dd64415aad7c367a3d74c79 Mon Sep 17 00:00:00 2001 From: moksha-hub Date: Thu, 19 Feb 2026 15:31:16 +0530 Subject: [PATCH 1/2] [MNT] Remove __version__.py, define __version__ in __init__.py (#1642) --- openml/__init__.py | 2 +- openml/__version__.py | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 openml/__version__.py diff --git a/openml/__init__.py b/openml/__init__.py index ae5db261f..da6db84ef 100644 --- a/openml/__init__.py +++ b/openml/__init__.py @@ -32,7 +32,7 @@ tasks, utils, ) -from .__version__ import __version__ +__version__ = "0.16.0" # defined here directly, see issue #1642 from .datasets import OpenMLDataFeature, OpenMLDataset from .evaluations import OpenMLEvaluation from .flows import OpenMLFlow diff --git a/openml/__version__.py b/openml/__version__.py deleted file mode 100644 index cf5a8535d..000000000 --- a/openml/__version__.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Version information.""" - -# License: BSD 3-Clause - -# The following line *must* be the last in the module, exactly as formatted: -from __future__ import annotations - -__version__ = "0.16.0" From 8aecfd22cc4a1952e8e42cfe69a01ce7940d5eeb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 10:19:39 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- openml/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openml/__init__.py b/openml/__init__.py index da6db84ef..909de2534 100644 --- a/openml/__init__.py +++ b/openml/__init__.py @@ -32,6 +32,7 @@ tasks, utils, ) + __version__ = "0.16.0" # defined here directly, see issue #1642 from .datasets import OpenMLDataFeature, OpenMLDataset from .evaluations import OpenMLEvaluation