Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "poetry"
python-version: '3.11'
cache: 'poetry'

- name: Install Dependencies
run: poetry env use python3.11 && poetry install
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "validmind"
version = "2.9.5"
version = "2.10.0"
description = "ValidMind Library"
readme = "README.pypi.md"
requires-python = ">=3.9,<3.13"
Expand Down
2 changes: 1 addition & 1 deletion validmind/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.9.5"
__version__ = "2.10.0"
5 changes: 4 additions & 1 deletion validmind/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from IPython.display import display as ipy_display
from matplotlib.axes._axes import _log as matplotlib_axes_logger
from numpy import ndarray
from packaging.version import Version
from sklearn.exceptions import UndefinedMetricWarning
from tabulate import tabulate

Expand Down Expand Up @@ -73,7 +74,9 @@ def parse_version(version: str) -> tuple[int, ...]:
Returns:
tuple[int, ...]: A tuple of major, minor, patch integers.
"""
return tuple(int(x) for x in version.split(".")[:3])
v = Version(version)

return (v.major, v.minor, v.micro)


def is_notebook() -> bool:
Expand Down
Loading