Skip to content

Commit 711fb80

Browse files
committed
Preparing 1.0.6 release
1 parent 9e57047 commit 711fb80

File tree

3 files changed

+35
-20
lines changed

3 files changed

+35
-20
lines changed

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,41 @@
11
Latest version, in development
22
==============================
33

4+
Todo :)
5+
6+
VERSION 1.0.6
7+
=============
8+
9+
Date: 22/04/18
10+
411
Enhancements
512
------------
613

14+
* Added verbose option to algorithms using a similarity matrix or baseline
15+
computation, to avoid unwanted printed messages.
716
* When PredictionImpossible is raised, the prediction is now deferred to
817
default_prediction() method, which can be overridden is child classes. This
918
allows to not always set the default prediction to the average rating, which
10-
can be useful for some algorithms (e.g. thos working with implicit positive
19+
can be useful for some algorithms (e.g. those working with implicit positive
1120
feedback).
1221
* LeaveOneOut() now accepts a min_n_ratings parameter to make sure users in the
1322
trainset have at least min_n_ratings ratings.
23+
* Dumping is now done with pickle's highest protocol which allows for larger
24+
files.
25+
26+
Bug Fixes
27+
---------
28+
29+
* Joblib parameter `n_jobs` now defaults to 1 (no use of multiprocessing).
30+
Should fix issues with Windows users.
31+
* `cross_validate` now returns correct values for training measures (used to
32+
return test measures instead).
1433

1534
VERSION 1.0.5
1635
=============
1736

37+
Date: 09/01/18
38+
1839
Enhancements
1940
------------
2041

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ Contributors
189189

190190
The following persons have contributed to [Surprise](http://surpriselib.com):
191191

192-
Олег Демиденко, Charles-Emmanuel Dias, Lukas Galke, Pierre-François Gimenez, Nicolas Hug,
193-
Hengji Liu, Maher Malaeb, Naturale0, nju-luke, Skywhat, David Stevens, Mike Lee Williams,
194-
Chenchen Xu.
192+
Олег Демиденко, Charles-Emmanuel Dias, dmamylin, franckjay, Lukas Galke,
193+
Pierre-François Gimenez, Nicolas Hug, Hengji Liu, Maher Malaeb, Manoj K,
194+
Naturale0, nju-luke, Skywhat, David Stevens, Mike Lee Williams, Chenchen Xu,
195+
YaoZh1918.
195196

196197
Thanks a lot :) !
197198

setup.py

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,23 @@
55
"""
66
Release instruction:
77
8-
pandoc must be install on machine so that readme (in markdown for jekyll) can
9-
be converted to rst (for pypi).
10-
118
Check that tests run correctly for 36 and 27 and doc compiles without warning
129
(make clean first).
1310
1411
change __version__ in setup.py to new version name.
1512
1613
First upload to test pypi:
1714
mktmpenv (Python version should not matter)
18-
pip install numpy cython pypandoc twine
15+
pip install numpy cython twine
1916
python setup.py sdist
2017
twine upload dist/blabla.tar.gz -r testpypi
2118
22-
Check that install works on testpypi (also check md is converted to rst), then
23-
upload to pypi and check again.
19+
Check that install works on testpypi, then upload to pypi and check again.
2420
to install from testpypi:
2521
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple scikit-surprise # noqa
2622
27-
push new release tag on github:
28-
git tag v1.0.x
23+
push new release tag on github (commit last changes first if needed):
24+
git tag vX.Y.Z
2925
git push --tags
3026
3127
Check that RTD has updated 'stable' to the new release (may take a while).
@@ -56,17 +52,13 @@
5652
else:
5753
USE_CYTHON = True
5854

59-
__version__ = 'latest'
55+
__version__ = '1.0.6'
6056

6157
here = path.abspath(path.dirname(__file__))
6258

63-
# Get the long description from the README file and convert it to rst
64-
try:
65-
import pypandoc
66-
long_description = pypandoc.convert(path.join(here, 'README.md'), 'rst')
67-
except(IOError, ImportError):
68-
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
69-
long_description = f.read()
59+
# Get the long description from README.md
60+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
61+
long_description = f.read()
7062

7163
# get the dependencies and installs
7264
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
@@ -114,6 +106,7 @@
114106

115107
description=('An easy-to-use library for recommender systems.'),
116108
long_description=long_description,
109+
long_description_content_type='text/markdown',
117110

118111
version=__version__,
119112
url='http://surpriselib.com',

0 commit comments

Comments
 (0)