Skip to content

Commit 3f64251

Browse files
committed
Merge branch 'release/v0.2.0'
2 parents 3ab724b + d5e725e commit 3f64251

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4069
-3286
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[bumpversion]
2-
current_version = 0.1.0
2+
current_version = 0.2.0
33
commit = False
44
tag = False
55
allow_dirty = False
6-
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
6+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
77
serialize =
8-
{major}.{minor}.{patch}-{release}{build}
8+
{major}.{minor}.{patch}.{release}{build}
99
{major}.{minor}.{patch}
1010

1111
[bumpversion:part:release]

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Python 3.8
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: 3.8
2323
cache: 'pip'

.github/workflows/run-tests-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121
- name: Set up Python 3.8
22-
uses: actions/setup-python@v3
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: 3.8
2525
cache: 'pip'

.github/workflows/tox.yaml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run tests, build docs, release to TestPyPI
1+
name: Run tests, build docs, publish to TestPyPI
22

33
on:
44
push:
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828
- name: Set up Python 3.8
29-
uses: actions/setup-python@v3
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: 3.8
3232
cache: 'pip'
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
fetch-depth: 0
5252
- name: Set up Python 3.8
53-
uses: actions/setup-python@v3
53+
uses: actions/setup-python@v4
5454
with:
5555
python-version: 3.8
5656
cache: 'pip'
@@ -64,9 +64,7 @@ jobs:
6464
key: tox-${{ github.ref }}-${{ runner.os }}-${{ hashFiles('tox.ini') }}
6565
path: .tox
6666
- name: Build Docs
67-
run: |
68-
cp notebooks/*.ipynb docs/examples/
69-
tox -e docs
67+
run: tox -e docs
7068
- name: Save built docs
7169
uses: actions/upload-artifact@v3
7270
with:
@@ -102,7 +100,7 @@ jobs:
102100
with:
103101
fetch-depth: 0
104102
- name: Set up Python 3.8
105-
uses: actions/setup-python@v3
103+
uses: actions/setup-python@v4
106104
with:
107105
python-version: 3.8
108106
cache: 'pip'
@@ -132,9 +130,8 @@ jobs:
132130
TWINE_USERNAME: __token__
133131
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
134132
run: |
135-
git config user.name "${{ env.GITHUB_BOT_USERNAME }}"
136-
git config user.email "${{ env.GITHUB_BOT_EMAIL }}"
137-
tox -e bump-dev-version-and-create-tag
138-
git push
139-
git push --tags
133+
set -x
134+
export CURRENT_VERSION=$(python setup.py --version)
135+
export BUILD_NUMBER=$GITHUB_RUN_NUMBER
136+
tox -e bump-dev-version
140137
tox -e publish-test-package

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ fail_fast: false
22

33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 22.3.0
5+
rev: 22.10.0
66
hooks:
77
- id: black-jupyter
88
language_version: python3
99
- repo: https://github.com/PyCQA/isort
10-
rev: 5.8.0
10+
rev: 5.10.1
1111
hooks:
1212
- id: isort
1313
- repo: https://github.com/kynan/nbstripout
14-
rev: 0.5.0
14+
rev: 0.6.1
1515
hooks:
1616
- id: nbstripout
17-
args: ["--keep-output", "--keep-count", "--strip-empty-cells", "--extra-keys", "metadata.pycharm cell.metadata.pycharm"]
17+
args: ["--keep-output", "--keep-count", "--drop-empty-cells", "--extra-keys", "metadata.pycharm cell.metadata.pycharm"]

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 0.2.0 - 📚 Better docs
4+
5+
Mostly API documentation and notebooks, plus some bugfixes.
6+
7+
### Added
8+
9+
In [PR #161](https://github.com/appliedAI-Initiative/pyDVL/pull/161):
10+
- Support for $$ math in sphinx docs.
11+
- Usage of sphinx extension for external links (introducing new directives like
12+
`:gh:`, `:issue:` and `:tfl:` to construct standardised links to external
13+
resources).
14+
- Only update auto-generated documentation files if there are changes. Some
15+
minor additions to `update_docs.py`.
16+
- Parallelization of exact combinatorial Shapley.
17+
- Integrated KNN shapley into the main interface `compute_shapley_values`.
18+
19+
### Changed
20+
21+
In [PR #161](https://github.com/appliedAI-Initiative/pyDVL/pull/161):
22+
- Improved main docs and Shapley notebooks. Added or fixed many docstrings,
23+
readme and documentation for contributors. Typos, grammar and style in code,
24+
documentation and notebooks.
25+
- Internal renaming and rearranging in the parallelization and caching modules.
26+
27+
### Fixed
28+
29+
- Bug in random matrix generation
30+
[PR #161](https://github.com/appliedAI-Initiative/pyDVL/pull/161).
31+
- Bugs in MapReduceJob's `_chunkify` and `_backpressure` methods
32+
[PR #176](https://github.com/appliedAI-Initiative/pyDVL/pull/176).
33+
34+
335
## 0.1.0 - 🎉 first release
436

537
This is very first release of pyDVL.

0 commit comments

Comments
 (0)