Skip to content

Commit a22058b

Browse files
committed
Release v0.2.0
1 parent 0bc8729 commit a22058b

File tree

5 files changed

+48
-16
lines changed

5 files changed

+48
-16
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

66
## [Unreleased]
7+
8+
## [0.2.0] - 2020-05-15
9+
710
### Added
811
- Changelog.
912
- Documentation and test for Brier calculation with more than two alternatives.
1013
- Assertions for creating `Prediction` instances:
1114
- Two or more probabilities
1215
- Sum of probabilities must equal 100
16+
- Probabilities must contain true alternative
1317
- Calculation of scores for when the order of alternatives matters.
1418
- Design philosophy documentation.
1519
- Meta documentation
16-
- Simplify API
20+
- API simplifications
1721

1822
### Changed
1923
- Decimal input for probabilities instead of integer.
@@ -31,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3135
### Added
3236
- Brier score calculation.
3337

34-
[Unreleased]: https://github.com/yhoiseth/python-prediction-scorer/compare/v0.1.1...HEAD
38+
[Unreleased]: https://github.com/yhoiseth/python-prediction-scorer/compare/v0.2.0...HEAD
39+
[0.2.0]: https://github.com/yhoiseth/python-prediction-scorer/compare/v0.1.1...v0.2.0
3540
[0.1.1]: https://github.com/yhoiseth/python-prediction-scorer/compare/v0.1.0...v0.1.1
3641
[0.1.0]: https://github.com/yhoiseth/python-prediction-scorer/releases/tag/v0.1.0

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
## Update version number
3636

37-
Edit in `setup.py`.
37+
Edit in [`setup.py`](setup.py).
3838

3939
## Update Changelog
4040

@@ -48,10 +48,18 @@ Edit in `setup.py`.
4848

4949
`twine upload dist/*`
5050

51+
## Commit
52+
53+
`git commit -am 'Release v[version number]`
54+
5155
## Create tag
5256

5357
`git tag -a v[version number] -m "[version number]"`
5458

59+
## Push
60+
61+
`git push origin`
62+
5563
## Create GitHub release
5664

5765
1. [Create new release](https://github.com/yhoiseth/python-prediction-scorer/releases/new)

requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ matplotlib
44
mypy
55
pre-commit
66
pytest
7+
twine

requirements.txt

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,56 @@
44
#
55
# pip-compile
66
#
7-
appdirs==1.4.3 # via black, virtualenv
7+
appdirs==1.4.4 # via black, virtualenv
88
attrs==19.3.0 # via black, pytest
99
black==19.10b0 # via -r requirements.in
10+
bleach==3.1.5 # via readme-renderer
11+
certifi==2020.4.5.1 # via requests
1012
cfgv==3.1.0 # via pre-commit
11-
click==7.1.1 # via black
13+
chardet==3.0.4 # via requests
14+
click==7.1.2 # via black
1215
cycler==0.10.0 # via matplotlib
1316
distlib==0.3.0 # via virtualenv
17+
docutils==0.16 # via readme-renderer
1418
filelock==3.0.12 # via virtualenv
15-
identify==1.4.14 # via pre-commit
16-
importlib-metadata==1.6.0 # via pluggy, pre-commit, pytest, virtualenv
19+
identify==1.4.15 # via pre-commit
20+
idna==2.9 # via requests
21+
importlib-metadata==1.6.0 # via keyring, pluggy, pre-commit, pytest, twine, virtualenv
1722
isort==4.3.21 # via -r requirements.in
23+
keyring==21.2.1 # via twine
1824
kiwisolver==1.2.0 # via matplotlib
1925
matplotlib==3.2.1 # via -r requirements.in
2026
more-itertools==8.2.0 # via pytest
2127
mypy-extensions==0.4.3 # via mypy
2228
mypy==0.770 # via -r requirements.in
2329
nodeenv==1.3.5 # via pre-commit
24-
numpy==1.18.2 # via matplotlib
25-
packaging==20.3 # via pytest
30+
numpy==1.18.4 # via matplotlib
31+
packaging==20.3 # via bleach, pytest
2632
pathspec==0.8.0 # via black
33+
pkginfo==1.5.0.1 # via twine
2734
pluggy==0.13.1 # via pytest
28-
pre-commit==2.2.0 # via -r requirements.in
35+
pre-commit==2.4.0 # via -r requirements.in
2936
py==1.8.1 # via pytest
37+
pygments==2.6.1 # via readme-renderer
3038
pyparsing==2.4.7 # via matplotlib, packaging
31-
pytest==5.4.1 # via -r requirements.in
39+
pytest==5.4.2 # via -r requirements.in
3240
python-dateutil==2.8.1 # via matplotlib
3341
pyyaml==5.3.1 # via pre-commit
34-
regex==2020.4.4 # via black
35-
six==1.14.0 # via cycler, packaging, python-dateutil, virtualenv
36-
toml==0.10.0 # via black, pre-commit
42+
readme-renderer==26.0 # via twine
43+
regex==2020.5.14 # via black
44+
requests-toolbelt==0.9.1 # via twine
45+
requests==2.23.0 # via requests-toolbelt, twine
46+
six==1.14.0 # via bleach, cycler, packaging, python-dateutil, readme-renderer, virtualenv
47+
toml==0.10.1 # via black, pre-commit
48+
tqdm==4.46.0 # via twine
49+
twine==3.1.1 # via -r requirements.in
3750
typed-ast==1.4.1 # via black, mypy
3851
typing-extensions==3.7.4.2 # via mypy
39-
virtualenv==20.0.18 # via pre-commit
52+
urllib3==1.25.9 # via requests
53+
virtualenv==20.0.20 # via pre-commit
4054
wcwidth==0.1.9 # via pytest
55+
webencodings==0.5.1 # via bleach
4156
zipp==3.1.0 # via importlib-metadata
57+
58+
# The following packages are considered to be unsafe in a requirements file:
59+
# setuptools

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
packages=setuptools.find_packages(),
1616
python_requires=">=3.7",
1717
url="https://github.com/yhoiseth/python-prediction-scorer",
18-
version="0.1.1",
18+
version="0.2.0",
1919
zip_safe=False,
2020
)

0 commit comments

Comments
 (0)