From ce7418505179430a8092c9c9cbf93fc7fc6331dc Mon Sep 17 00:00:00 2001 From: Matthew Lyon <32886639+m-lyon@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:55:25 +0100 Subject: [PATCH 1/2] Update setup.py Fixed invalid version number --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 54984fd..5242d1f 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name="climin", - version="pre-0.1", + version="0.1.0", description="optimization for machine learning", license="BSD", keywords="Machine Learning Optimization", From 7db095c67573e25e6e119d0a6b034a9f1bb1b749 Mon Sep 17 00:00:00 2001 From: Matthew Lyon <32886639+m-lyon@users.noreply.github.com> Date: Thu, 7 Sep 2023 16:49:33 +0100 Subject: [PATCH 2/2] Update base.py --- climin/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climin/base.py b/climin/base.py index 1a172de..59f7419 100644 --- a/climin/base.py +++ b/climin/base.py @@ -70,7 +70,7 @@ def minimize_until(self, criterions): raise ValueError('need to supply at least one criterion') # if criterions is a single criterion, wrap it in iterable list - if not isinstance(criterions, collections.Iterable): + if not isinstance(criterions, collections.abc.Iterable): criterions = [criterions] info = {}