Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# License: BSD 3-Clause
from __future__ import annotations

__version__ = "0.16.0"

from typing import TYPE_CHECKING

from . import (
Expand All @@ -34,7 +36,6 @@
tasks,
utils,
)
from .__version__ import __version__
from ._api import _backend
from .datasets import OpenMLDataFeature, OpenMLDataset
from .datasets.functions import get_dataset, list_datasets
Expand Down
8 changes: 0 additions & 8 deletions openml/__version__.py

This file was deleted.

2 changes: 1 addition & 1 deletion openml/_api_calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import openml

from .__version__ import __version__
from . import __version__
from .exceptions import (
OpenMLAuthenticationError,
OpenMLHashException,
Expand Down
2 changes: 1 addition & 1 deletion openml/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from openml.enums import APIVersion, ServerMode

from .__version__ import __version__
from . import __version__

logger = logging.getLogger(__name__)
openml_logger = logging.getLogger("openml")
Expand Down
2 changes: 1 addition & 1 deletion openml/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from urllib.parse import urlparse

import openml
from openml.__version__ import __version__
from openml import __version__
from openml.enums import APIVersion


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ namespaces = false
openml = ["*.txt", "*.md", "py.typed"]

[tool.setuptools.dynamic]
version = {attr = "openml.__version__.__version__"}
version = {attr = "openml.__version__"}

# https://docs.pytest.org/en/7.2.x/reference/reference.html#ini-options-ref
[tool.pytest.ini_options]
Expand Down