From 5fb84511ea7045bb9fd122763bb406a925024437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira=20Souza?= Date: Thu, 30 Jul 2026 17:44:59 -0300 Subject: [PATCH] release: 0.6.0 A map can be used as a scikit-learn estimator, and the plain-string deprecation from 0.5.0 is withdrawn. Nothing breaks and no numerical results change. train is untouched and remains the primary way to train, both option spellings work and neither is deprecated, and scikit-learn is optional: numpy is still the only runtime dependency. Verified from the built wheel in a clean environment. With numpy alone: the estimator methods work, plain strings are silent under -W error::DeprecationWarning, and importing python_som.sklearn raises an ImportError naming the extra. With the extra installed, GridSearchCV runs against the adapter. --- CHANGELOG.md | 6 +++++- pyproject.toml | 2 +- src/python_som/_version.py | 2 +- uv.lock | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef6e2b5..621df0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.6.0] - 2026-07-30 + +A map can now be used as a scikit-learn estimator, and the plain-string deprecation from 0.5.0 is +withdrawn. Nothing breaks and no numerical results change: `train` is untouched, both option spellings +work, and scikit-learn remains optional. ### Added diff --git a/pyproject.toml b/pyproject.toml index e52896a..a7d72bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "python-som" -version = "0.5.0" +version = "0.6.0" authors = [{ name = "André Moreira Souza", email = "msouza.andre@hotmail.com" }] description = "Python implementation of the Self-Organizing Map" readme = "README.md" diff --git a/src/python_som/_version.py b/src/python_som/_version.py index 967cd21..54fa2bf 100644 --- a/src/python_som/_version.py +++ b/src/python_som/_version.py @@ -9,4 +9,4 @@ __all__ = ["__version__"] -__version__ = "0.5.0" +__version__ = "0.6.0" diff --git a/uv.lock b/uv.lock index c879bcd..3167148 100644 --- a/uv.lock +++ b/uv.lock @@ -2559,7 +2559,7 @@ wheels = [ [[package]] name = "python-som" -version = "0.5.0" +version = "0.6.0" source = { editable = "." } dependencies = [ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },