Skip to content

Commit f90bb5c

Browse files
committed
v4.4.1
1 parent 842983f commit f90bb5c

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ It may be necessary to replace ``pip`` with ``python -m pip`` and/or prefixing
8989
either of these with ``sudo``.
9090

9191
## Version History
92+
* [Release ``4.4.1``](https://github.com/CMA-ES/pycma/releases/tag/r4.4.1)
93+
- `fmin2` accepts a constraints function as `constraints` keyword argument
94+
- an improved `CMAEvolutionStrategyResult2` class which also contains the best feasible solution
95+
- a `reset_options` method which also clears the current termination status
96+
- polish the output of ``.optimize()`` and of ``.result_pretty()``
97+
- catch final ``.stop()`` value displayed with `cma.plot`
9298

9399
* [Release ``4.4.0``](https://github.com/CMA-ES/pycma/releases/tag/r4.4.0)
94100
- constraints handling is available also in the <tt>ask</tt>-and-<tt>tell</tt> interface (addressing issues [#258](https://github.com/CMA-ES/pycma/issues/258), [#287](https://github.com/CMA-ES/pycma/issues/287), and [#167](https://github.com/CMA-ES/pycma/issues/167))

cma/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
___author__ = "Nikolaus Hansen and Petr Baudis and Youhei Akimoto"
105105
__license__ = "BSD 3-clause"
106-
__version__ = "4.4.0"
106+
__version__ = "4.4.1"
107107

108108

109109
import collections as _collections

setup-howto.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
0.
88
Run local tests
99
10-
./script-test-all-all-arm.sh
1110
ruff check cma
11+
./script-test-all-all-arm.sh
1212
1313
1.
1414
Push to a test branch to trigger test:
@@ -67,10 +67,10 @@
6767
6.
6868
Loop over tests and distribution and fix code until everything is fine.
6969
70-
7.
70+
7.a
7171
Draft a release on GitHub: click on releases and then new draft. Use above text added in README.md.
7272
73-
8.a
73+
7.b
7474
Upload the distribution in ``install-folder``::
7575
7676
twine upload dist/* # upload everything given the install folder was clean
@@ -87,21 +87,21 @@
8787
twine upload --repository testpypi dist/cmae*
8888
cd ../install-folder
8989
90-
8.b
90+
7.c
9191
EITHER: tag locally and push, mainly to avoid changing any remote branch::
9292
9393
git tag -a r4.4.1 -m 'r4.4.1 release'
9494
git push origin r4.4.1
9595
96-
OR: push code to development and/or master. This must be done at some
97-
point anyways, if only to update the README.md, and::
96+
OR: push code to development and/or main. This must be done at some
97+
point anyways, if only to update the README.md. Then, after 9. is done::
9898
9999
git fetch # or with --tags to fetch tags not followed remotely
100100
101-
9.
101+
8.
102102
Finalize and publish the release drafted on Github.
103103
104-
10.
104+
9.
105105
Push new docs to github
106106
107107
cp -r apidocs/* /Users/hansen/git/CMA-ES.github.io/apidocs-pycma
@@ -110,8 +110,8 @@
110110
git ci
111111
git push
112112
113-
11. (if not already done)
114-
Update master and push master and development to remote
113+
10. (if not already done)
114+
Update main and push main and development to remote
115115
116116
117117
Anaconda::

tools/conda.recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package:
2-
version: "4.4.0"
2+
version: "4.4.1"
33
name: 'cma'
44

55
source:

0 commit comments

Comments
 (0)