From 449163bc51a3501914c79c543309655be0452202 Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Fri, 5 Jul 2019 10:54:52 +0300 Subject: [PATCH 1/4] Describe how to make a release --- docs/source/contribute.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/source/contribute.rst b/docs/source/contribute.rst index f94d5fe8..8b16b10c 100644 --- a/docs/source/contribute.rst +++ b/docs/source/contribute.rst @@ -17,5 +17,16 @@ from source checkout. We like high test coverage and mypy_ type annotations. +Making releases +--------------- + +To make a new release: + +* Write a summary of changes to CHANGES.rst +* Bump version in ``eli5/__init__.py`` +* Make a release on PyPI using twine_ +* Tag a commit in git and push it + .. _tox: https://tox.readthedocs.io/en/latest/ .. _mypy: https://github.com/python/mypy +.. _twine: https://pypi.org/project/twine/ From d058c449f457c9aa4245d63c068148ee9e922f1e Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Fri, 5 Jul 2019 10:55:55 +0300 Subject: [PATCH 2/4] Release notes for 0.9.0, bump version --- CHANGES.rst | 8 ++++++++ eli5/__init__.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index fff098d9..b8b0732a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,14 @@ Changelog ========= +0.9.2 (2019-07-05) +------------------ + +* CatBoost support: show feature importances of CatBoostClassifier, + CatBoostRegressor and catboost.CatBoost. +* Test fixes: fixes for scikit-learn 0.21+, use xenial base on Travis +* Catch exceptions from improperly installed LightGBM + 0.8.2 (2019-04-04) ------------------ diff --git a/eli5/__init__.py b/eli5/__init__.py index 0a3f3bf3..0356b219 100644 --- a/eli5/__init__.py +++ b/eli5/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import -__version__ = '0.8.2' +__version__ = '0.9.0' from .formatters import ( format_as_html, @@ -78,4 +78,4 @@ ) except ImportError: # catboost is not available - pass \ No newline at end of file + pass From 016938b7f3fc27bf491f776eacc19f1959d4042f Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Fri, 5 Jul 2019 10:59:55 +0300 Subject: [PATCH 3/4] Fix version number Ooops, thanks for the catch @kmike --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index b8b0732a..20a98c85 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Changelog ========= -0.9.2 (2019-07-05) +0.9.0 (2019-07-05) ------------------ * CatBoost support: show feature importances of CatBoostClassifier, From 9c03b0c5edcc1e43676e011296fac424c6389dbe Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Fri, 5 Jul 2019 11:18:14 +0300 Subject: [PATCH 4/4] Add a clarification regarding release procedure Thanks @kmike --- docs/source/contribute.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/contribute.rst b/docs/source/contribute.rst index 8b16b10c..31321db1 100644 --- a/docs/source/contribute.rst +++ b/docs/source/contribute.rst @@ -20,6 +20,10 @@ We like high test coverage and mypy_ type annotations. Making releases --------------- +Note: releases are made from master by eli5 maintainers. +When contributing a pull request, please do not update release notes +or package version. + To make a new release: * Write a summary of changes to CHANGES.rst