Skip to content

Commit

Permalink
0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Apr 16, 2021
1 parent 47d6dc0 commit 653210f
Show file tree
Hide file tree
Showing 19 changed files with 21,779 additions and 8,472 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: pytest
run: |
pytest
pytest -m datasets
- name: Build wheels
env:
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,51 @@ name: release-docs
on:
push:
tags:
- '*'
- "*"

jobs:
ubuntu:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2

- name: Install Ubuntu dependencies
run: sudo apt-get install graphviz pandoc

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install -e ".[compat,docs]"
- name: Execute notebooks
run: make execute-notebooks

- name: Build docs
run: make doc

- name: Deploy docs
env:
GH_TOKEN: ${{ secrets.GitHubToken }}
run: |
git config user.name github-actions
git config user.email [email protected]
git config pull.rebase false
git add --all
git commit -m "Execute notebooks"
git fetch
git checkout gh-pages
git pull
git checkout master
RIVER_VERSION=$(python -c "import river; print(river.__version__)")
mike deploy ${RIVER_VERSION} latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
mike set-default latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
- uses: actions/checkout@v2

- name: Install Ubuntu dependencies
run: sudo apt-get install graphviz pandoc

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install -e ".[compat,docs]"
python -m spacy download en_core_web_sm
- name: Execute notebooks
run: make execute-notebooks

- name: Build docs
run: make doc

- name: Deploy docs
env:
GH_TOKEN: ${{ secrets.GitHubToken }}
run: |
git config user.name github-actions
git config user.email [email protected]
git config pull.rebase false
git add --all
git commit -m "Execute notebooks"
git fetch
git checkout gh-pages
git pull
git checkout master
RIVER_VERSION=$(python -c "import river; print(river.__version__)")
mike deploy ${RIVER_VERSION} latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
mike set-default latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
80 changes: 40 additions & 40 deletions docs/examples/batch-to-online.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"execution_count": 1,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:21.412698Z",
"iopub.status.busy": "2020-11-25T20:56:21.412107Z",
"iopub.status.idle": "2020-11-25T20:56:21.933843Z",
"shell.execute_reply": "2020-11-25T20:56:21.934557Z"
"iopub.execute_input": "2021-04-16T18:31:34.816222Z",
"iopub.status.busy": "2021-04-16T18:31:34.814857Z",
"iopub.status.idle": "2021-04-16T18:31:36.003613Z",
"shell.execute_reply": "2021-04-16T18:31:36.004126Z"
}
},
"outputs": [
Expand Down Expand Up @@ -101,10 +101,10 @@
"execution_count": 2,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:21.939635Z",
"iopub.status.busy": "2020-11-25T20:56:21.938364Z",
"iopub.status.idle": "2020-11-25T20:56:21.940205Z",
"shell.execute_reply": "2020-11-25T20:56:21.940588Z"
"iopub.execute_input": "2021-04-16T18:31:36.008164Z",
"iopub.status.busy": "2021-04-16T18:31:36.007514Z",
"iopub.status.idle": "2021-04-16T18:31:36.009192Z",
"shell.execute_reply": "2021-04-16T18:31:36.009790Z"
}
},
"outputs": [],
Expand All @@ -126,10 +126,10 @@
"execution_count": 3,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:21.949020Z",
"iopub.status.busy": "2020-11-25T20:56:21.948550Z",
"iopub.status.idle": "2020-11-25T20:56:21.950629Z",
"shell.execute_reply": "2020-11-25T20:56:21.951090Z"
"iopub.execute_input": "2021-04-16T18:31:36.018136Z",
"iopub.status.busy": "2021-04-16T18:31:36.017467Z",
"iopub.status.idle": "2021-04-16T18:31:36.019901Z",
"shell.execute_reply": "2021-04-16T18:31:36.020316Z"
}
},
"outputs": [
Expand Down Expand Up @@ -164,10 +164,10 @@
"execution_count": 4,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:21.963739Z",
"iopub.status.busy": "2020-11-25T20:56:21.963240Z",
"iopub.status.idle": "2020-11-25T20:56:21.967361Z",
"shell.execute_reply": "2020-11-25T20:56:21.967846Z"
"iopub.execute_input": "2021-04-16T18:31:36.032784Z",
"iopub.status.busy": "2021-04-16T18:31:36.032007Z",
"iopub.status.idle": "2021-04-16T18:31:36.034496Z",
"shell.execute_reply": "2021-04-16T18:31:36.034908Z"
}
},
"outputs": [
Expand Down Expand Up @@ -231,10 +231,10 @@
"execution_count": 5,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:21.971022Z",
"iopub.status.busy": "2020-11-25T20:56:21.970547Z",
"iopub.status.idle": "2020-11-25T20:56:22.520995Z",
"shell.execute_reply": "2020-11-25T20:56:22.520465Z"
"iopub.execute_input": "2021-04-16T18:31:36.038486Z",
"iopub.status.busy": "2021-04-16T18:31:36.037807Z",
"iopub.status.idle": "2021-04-16T18:31:36.959471Z",
"shell.execute_reply": "2021-04-16T18:31:36.959892Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -279,10 +279,10 @@
"execution_count": 6,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:22.530065Z",
"iopub.status.busy": "2020-11-25T20:56:22.525277Z",
"iopub.status.idle": "2020-11-25T20:56:22.549622Z",
"shell.execute_reply": "2020-11-25T20:56:22.549191Z"
"iopub.execute_input": "2021-04-16T18:31:36.964579Z",
"iopub.status.busy": "2021-04-16T18:31:36.963945Z",
"iopub.status.idle": "2021-04-16T18:31:36.980938Z",
"shell.execute_reply": "2021-04-16T18:31:36.981403Z"
}
},
"outputs": [
Expand Down Expand Up @@ -321,10 +321,10 @@
"execution_count": 7,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:22.553725Z",
"iopub.status.busy": "2020-11-25T20:56:22.553243Z",
"iopub.status.idle": "2020-11-25T20:56:22.557646Z",
"shell.execute_reply": "2020-11-25T20:56:22.557225Z"
"iopub.execute_input": "2021-04-16T18:31:36.985590Z",
"iopub.status.busy": "2021-04-16T18:31:36.984910Z",
"iopub.status.idle": "2021-04-16T18:31:36.986896Z",
"shell.execute_reply": "2021-04-16T18:31:36.987268Z"
}
},
"outputs": [
Expand Down Expand Up @@ -359,10 +359,10 @@
"execution_count": 8,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:22.563571Z",
"iopub.status.busy": "2020-11-25T20:56:22.561581Z",
"iopub.status.idle": "2020-11-25T20:56:22.628621Z",
"shell.execute_reply": "2020-11-25T20:56:22.627636Z"
"iopub.execute_input": "2021-04-16T18:31:36.990825Z",
"iopub.status.busy": "2021-04-16T18:31:36.990238Z",
"iopub.status.idle": "2021-04-16T18:31:37.034936Z",
"shell.execute_reply": "2021-04-16T18:31:37.035331Z"
}
},
"outputs": [],
Expand All @@ -387,10 +387,10 @@
"execution_count": 9,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:22.680550Z",
"iopub.status.busy": "2020-11-25T20:56:22.643465Z",
"iopub.status.idle": "2020-11-25T20:56:22.771450Z",
"shell.execute_reply": "2020-11-25T20:56:22.770755Z"
"iopub.execute_input": "2021-04-16T18:31:37.041671Z",
"iopub.status.busy": "2021-04-16T18:31:37.040278Z",
"iopub.status.idle": "2021-04-16T18:31:37.151131Z",
"shell.execute_reply": "2021-04-16T18:31:37.151533Z"
}
},
"outputs": [
Expand Down Expand Up @@ -442,10 +442,10 @@
"execution_count": 10,
"metadata": {
"execution": {
"iopub.execute_input": "2020-11-25T20:56:22.793357Z",
"iopub.status.busy": "2020-11-25T20:56:22.776981Z",
"iopub.status.idle": "2020-11-25T20:56:23.191355Z",
"shell.execute_reply": "2020-11-25T20:56:23.190849Z"
"iopub.execute_input": "2021-04-16T18:31:37.156707Z",
"iopub.status.busy": "2021-04-16T18:31:37.156129Z",
"iopub.status.idle": "2021-04-16T18:31:37.451580Z",
"shell.execute_reply": "2021-04-16T18:31:37.452139Z"
}
},
"outputs": [
Expand Down
Loading

0 comments on commit 653210f

Please sign in to comment.