Skip to content

Commit 025ef1f

Browse files
committed
version 3.0.3
fix args bug in interfaces.OOOptimizer.optimize
1 parent 121215a commit 025ef1f

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ either of these with ``sudo``.
6969

7070
## Version History
7171

72-
* [Release ``3.0.2``](https://github.com/CMA-ES/pycma/releases/tag/r3.0.2) provides parallelization with ``OOOptimizer.optimize(..., n_jobs=...)`` and improved `pickle` support.
72+
* [Release ``3.0.3``](https://github.com/CMA-ES/pycma/releases/tag/r3.0.3) provides parallelization with ``OOOptimizer.optimize(..., n_jobs=...)`` (fix for ``3.0.1/2``) and improved `pickle` support.
7373

7474
* [Release ``3.0.0``](https://github.com/CMA-ES/pycma/releases/tag/r3.0.0) provides non-linear constraints handling, improved plotting and termination options and better resilience to injecting bad solutions, and further various fixes.
7575

cma/__init__.py

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

147147
# fcts = ff # historical reasons only, replace cma.fcts with cma.ff first
148148

149-
__version__ = "3.0.2 $Revision: 4430 $ $Date: 2020-04-21 01:19:04 +0200 (Tue, 21 Apr 2020) $"
149+
__version__ = "3.0.3 $Revision: 4430 $ $Date: 2020-04-21 01:19:04 +0200 (Tue, 21 Apr 2020) $"
150150
# $Source$ # according to PEP 8 style guides, but what is it good for?
151151
# $Id: __init__.py 4430 2020-04-20 23:19:04Z hansen $
152152
# bash $: svn propset svn:keywords 'Date Revision Id' __init__.py

setup.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,30 @@
1212
backup --recover
1313
# see script-make-doc for syncing to gforge
1414
15-
To prepare a distribution from a dirty code folder::
15+
Final final changes to version numbers and such::
16+
17+
__init__.py # edit version number
18+
tools/conda.recipe/meta.yaml # edit version number
19+
README.md # add release description
20+
21+
To prepare a distribution from a (usual) dirty code folder::
1622
1723
backup cma --move # backup is a homebrew minitool
1824
git checkout -- cma
1925
python setup.py check
2026
python setup.py sdist bdist_wheel --universal > dist_call_output.txt ; less dist_call_output.txt # bdist_wininst
21-
twdiff cma build/lib/cma/ # just checking
27+
# twdiff cma build/lib/cma/ # just checking
2228
backup --recover # recover above moved folder (and backup current, just in case)
2329
2430
Check distribution and project description:
2531
2632
tree build # check that the build folders are clean
2733
twine check dist/*
28-
python setup.py --long-description | rst2html.py > long-description.html ; open long-description.html
34+
# python setup.py --long-description | rst2html.py > long-description.html ; open long-description.html
2935
3036
Finally upload the distribution::
3137
32-
twine upload dist/*3.0.3* # to not upload outdated stuff
38+
twine upload dist/*3.x.x* # to not upload outdated stuff
3339
3440
Anaconda::
3541

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: "3.0.2"
2+
version: "3.0.3"
33
name: 'cma'
44

55
source:

0 commit comments

Comments
 (0)