From d90e4aad0b7ccfc5af5e09c42569734e5edcd17b Mon Sep 17 00:00:00 2001 From: holgern Date: Sun, 2 Feb 2020 13:29:11 +0100 Subject: [PATCH 1/2] Prepare release 0.7.1 --- .zenodo.json | 129 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 19 ++++++ README.rst | 2 +- build_tools/circle/deploy.sh | 6 +- doc/templates/index.html | 1 + doc/whats_new.rst | 1 + doc/whats_new/v0.7.1.rst | 22 ++++++ skopt/__init__.py | 2 +- 8 files changed, 177 insertions(+), 5 deletions(-) create mode 100644 .zenodo.json create mode 100644 doc/whats_new/v0.7.1.rst diff --git a/.zenodo.json b/.zenodo.json new file mode 100644 index 000000000..7c95c0c3e --- /dev/null +++ b/.zenodo.json @@ -0,0 +1,129 @@ +{ + "title": "scikit-optimize/scikit-optimize", + "description": "Scikit-Optimize, or skopt, is a simple and efficient library to minimize (very) expensive and noisy black-box functions. It implements several methods for sequential model-based optimization. skopt aims to be accessible and easy to use in many contexts.", + "creators": [ + { + "affiliation": "Wild Tree Tech", + "name": "Head, Tim" + }, + { + "affiliation": "Google Brain", + "name": "Kumar, Manoj" + }, + { + "name": "Nahrstaedt, Holger", + "orcid": "0000-0002-4796-1082" + }, + { + "affiliation": "ULi\u00e8ge", + "name": "Louppe, Gilles" + }, + { + "affiliation": "Saarland University", + "name": "Shcherbatyi, Iaroslav" + }, + { + "name": "fcharras" + }, + { + "name": "Z\u00e9 Vin\u00edcius" + }, + { + "name": "cmmalone" + }, + { + "name": "Christopher Schr\u00f6der" + }, + { + "name": "nel215" + }, + { + "affiliation": "@yldio", + "name": "Nuno Campos" + }, + { + "name": "Todd Young" + }, + { + "affiliation": "Politecnico di Milano", + "name": "Stefano Cereda" + }, + { + "name": "Thomas Fan" + }, + { + "name": "rene-rex" + }, + { + "affiliation": "Columbia University", + "name": "Kejia (KJ) Shi" + }, + { + "affiliation": "Biomedical Informatics Department, Emory School of Medicine", + "name": "Justus Schwabedal" + }, + { + "name": "carlosdanielcsantos" + }, + { + "affiliation": "Hvass Laboratories", + "name": "Hvass-Labs" + }, + { + "affiliation": "Technical University of Munich", + "name": "Mikhail Pak" + }, + { + "name": "SoManyUsernamesTaken" + }, + { + "affiliation": "UC Berkeley", + "name": "Fred Callaway" + }, + { + "name": "Lo\u00efc Est\u00e8ve" + }, + { + "affiliation": "ENS de Cachan - Paris Saclay University", + "name": "Lilian Besson" + }, + { + "name": "Mehdi Cherti" + }, + { + "affiliation": "Paderborn University", + "name": "Karlson Pfannschmidt" + }, + { + "affiliation": "Toptal", + "name": "Fabian Linzberger" + }, + { + "affiliation": "@point8", + "name": "Christophe Cauet" + }, + { + "affiliation": "10clouds", + "name": "Anna Gut" + }, + { + "affiliation": "Columbia University Data Science Institute", + "name": "Andreas Mueller" + }, + { + "affiliation": "DFKI", + "name": "Alexander Fabisch" + } + ], + "keywords": [ + "bayesopt", + "optimization", + "scientific-computing", + "python", + "machine-learning", + "hyperparameter", + "bayesian-optimization" + ], + "license": "bsd-license", + "upload_type": "software" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f2e2cb8d..0caf27d91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,23 @@ # Release history +## Version 0.7.1 + +### New features + +* Sphinx documentation +* notebooks are replaced by sphinx-gallery +* New StringEncoder, can be used in Categoricals +* Remove string conversion in Identity +* dtype can be set in Integer and Real + +### Bug fixes + +* Fix categorical space (issue #821) +* int can be set as dtype to fix issue #790 + +### Maintenance + +* Old pdoc scripts are removed and replaced by sphinx + ## Version 0.7 ### New features diff --git a/README.rst b/README.rst index 8ce67f48b..f701dbbe8 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ Important links Install ------- -The latest released version of scikit-optimize is v0.7, which you can install +The latest released version of scikit-optimize is v0.7.1, which you can install with: :: diff --git a/build_tools/circle/deploy.sh b/build_tools/circle/deploy.sh index 1a311facf..824f7ba23 100644 --- a/build_tools/circle/deploy.sh +++ b/build_tools/circle/deploy.sh @@ -13,9 +13,9 @@ MSG="Pushing the docs for revision for branch: $CIRCLE_BRANCH, commit $CIRCLE_SH echo "Copying built files" git clone -b master "git@github.com:scikit-optimize/scikit-optimize.github.io" deploy cd deploy -git rm -r notebooks/* -git rm -r rtd/* -git rm -r beta/* +git rm -r space +git rm -r optimizer +git rm -r learning cd .. for entry in ${HOME}/doc/skopt/* do diff --git a/doc/templates/index.html b/doc/templates/index.html index e8b8af3fc..8244df212 100644 --- a/doc/templates/index.html +++ b/doc/templates/index.html @@ -108,6 +108,7 @@

News

  • On-going development: What's new (Changelog)
  • +
  • Feb 2020. scikit-optimize 0.7.1 (Changelog).
  • Jan 2020. scikit-optimize 0.7 (Changelog).
  • April 2018. scikit-optimize 0.6 (Changelog).
  • Mar 2018. scikit-optimize 0.5 (Changelog). diff --git a/doc/whats_new.rst b/doc/whats_new.rst index f5d23d0cd..c862a9a53 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -8,6 +8,7 @@ Release notes for all scikit-optimize releases are linked in this this page. .. toctree:: :maxdepth: 1 + Version 0.7.1 Version 0.7 Version 0.6 Version 0.5 diff --git a/doc/whats_new/v0.7.1.rst b/doc/whats_new/v0.7.1.rst new file mode 100644 index 000000000..800008942 --- /dev/null +++ b/doc/whats_new/v0.7.1.rst @@ -0,0 +1,22 @@ +Version 0.7.1 +============= + +New features +------------ + +* Sphinx documentation +* notebooks are replaced by sphinx-gallery +* New StringEncoder, can be used in Categoricals +* Remove string conversion in Identity +* dtype can be set in Integer and Real + +Bug fixes +--------- + +* Fix categorical space (issue #821) +* int can be set as dtype to fix issue #790 + +Maintenance +----------- + +* Old pdoc scripts are removed and replaced by sphinx diff --git a/skopt/__init__.py b/skopt/__init__.py index c6a78b10a..c0ae1e311 100644 --- a/skopt/__init__.py +++ b/skopt/__init__.py @@ -29,7 +29,7 @@ # Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer. # 'X.Y.dev0' is the canonical version of 'X.Y.dev' # -__version__ = "0.7" +__version__ = "0.7.1" if __SKOPT_SETUP__: import sys From a12dadbdb303a2e32b25616e77d4a6ad1ff2928e Mon Sep 17 00:00:00 2001 From: holgern Date: Sun, 2 Feb 2020 13:42:38 +0100 Subject: [PATCH 2/2] Add pypi and conda batch --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f701dbbe8..e6bbe971f 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ |Logo| -|Travis Status| |CircleCI Status| |binder| |gitter| |Zenodo DOI| +|pypi| |conda| |Travis Status| |CircleCI Status| |binder| |gitter| |Zenodo DOI| Scikit-Optimize =============== @@ -183,6 +183,10 @@ If your employer allows you to work on scikit-optimize during the day and would recognition, feel free to add them to the "Made possible by" list. +.. |pypi| image:: https://img.shields.io/pypi/v/scikit-optimize.svg + :target: https://pypi.python.org/pypi/scikit-optimize +.. |conda| image:: https://anaconda.org/conda-forge/scikit-optimize/badges/version.svg + :target: https://anaconda.org/conda-forge/scikit-optimize .. |Travis Status| image:: https://travis-ci.org/scikit-optimize/scikit-optimize.svg?branch=master :target: https://travis-ci.org/scikit-optimize/scikit-optimize .. |CircleCI Status| image:: https://circleci.com/gh/scikit-optimize/scikit-optimize/tree/master.svg?style=shield&circle-token=:circle-token