Skip to content

Commit

Permalink
version 3.0.3
Browse files Browse the repository at this point in the history
fix args bug in interfaces.OOOptimizer.optimize
  • Loading branch information
nikohansen committed Apr 23, 2020
1 parent 121215a commit 025ef1f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ either of these with ``sudo``.

## Version History

* [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.
* [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.

* [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.

Expand Down
2 changes: 1 addition & 1 deletion cma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

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

__version__ = "3.0.2 $Revision: 4430 $ $Date: 2020-04-21 01:19:04 +0200 (Tue, 21 Apr 2020) $"
__version__ = "3.0.3 $Revision: 4430 $ $Date: 2020-04-21 01:19:04 +0200 (Tue, 21 Apr 2020) $"
# $Source$ # according to PEP 8 style guides, but what is it good for?
# $Id: __init__.py 4430 2020-04-20 23:19:04Z hansen $
# bash $: svn propset svn:keywords 'Date Revision Id' __init__.py
14 changes: 10 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,30 @@
backup --recover
# see script-make-doc for syncing to gforge
To prepare a distribution from a dirty code folder::
Final final changes to version numbers and such::
__init__.py # edit version number
tools/conda.recipe/meta.yaml # edit version number
README.md # add release description
To prepare a distribution from a (usual) dirty code folder::
backup cma --move # backup is a homebrew minitool
git checkout -- cma
python setup.py check
python setup.py sdist bdist_wheel --universal > dist_call_output.txt ; less dist_call_output.txt # bdist_wininst
twdiff cma build/lib/cma/ # just checking
# twdiff cma build/lib/cma/ # just checking
backup --recover # recover above moved folder (and backup current, just in case)
Check distribution and project description:
tree build # check that the build folders are clean
twine check dist/*
python setup.py --long-description | rst2html.py > long-description.html ; open long-description.html
# python setup.py --long-description | rst2html.py > long-description.html ; open long-description.html
Finally upload the distribution::
twine upload dist/*3.0.3* # to not upload outdated stuff
twine upload dist/*3.x.x* # to not upload outdated stuff
Anaconda::
Expand Down
2 changes: 1 addition & 1 deletion tools/conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package:
version: "3.0.2"
version: "3.0.3"
name: 'cma'

source:
Expand Down

0 comments on commit 025ef1f

Please sign in to comment.