Skip to content

Commit 24bf047

Browse files
authored
chore: cap pip to 23 (#46)
* chore: cap pip to 23 * cap pip to 23 * typo
1 parent 07da440 commit 24bf047

File tree

9 files changed

+18
-6
lines changed

9 files changed

+18
-6
lines changed

.github/workflows/publish_doc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: actions/setup-python@v4
1818
with:
1919
python-version: '3.7'
20+
- name: Cap pip version
21+
run: pip install -U "pip<23"
2022
- run: pip install .[doc]
2123
- name: Set up Git
2224
run: |

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
uses: actions/setup-python@v3
1414
with:
1515
python-version: "3.7"
16+
- name: Cap pip version
17+
run: pip install -U "pip<23"
1618
- name: Install build dependencies
1719
run: >-
1820
python -m
@@ -39,6 +41,8 @@ jobs:
3941
- uses: actions/setup-python@v4
4042
with:
4143
python-version: '3.7'
44+
- name: Cap pip version
45+
run: pip install -U "pip<23"
4246
- name: Install dependencies
4347
run: pip install .[doc]
4448
- name: Set up Git

.github/workflows/testing.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
- uses: actions/setup-python@v4
8686
with:
8787
python-version: "3.7"
88+
- name: Cap pip version
89+
run: pip install -U "pip<23"
8890
- name: Install dependencies
89-
run: |
90-
python -m pip install --upgrade "pip<23"
91-
pip install .[doc]
91+
run: pip install .[doc]
9292
- name: Build documentation
9393
run: |
9494
mkdocs build --clean

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ You can install eds-scikit via `pip`:
6060
pip install "eds-scikit[aphp]"
6161
```
6262

63+
:warning: If you get an an error during installation, please try downgrading pip via `pip install -U "pip<23" before install `eds-scikit`
64+
6365
:warning: If you don't work in AP-HP's ecosystem (EDS), please install via:
6466

6567
```bash

build_tools/github/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash -e
22

3+
pip install -U "pip<23"
34
pip install --progress-bar off --upgrade ".[dev, doc]"

build_tools/github/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash -x
22

3+
pip install -U "pip<23"
34
python -m pytest --pyargs tests -m "" --cov=eds_scikit

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ As an example, the following figure was obtained using various functionalities f
6161

6262
Follow this [installation guide](https://techoral.com/blog/java/openjdk-install-windows.html)
6363

64-
You can install eds-scikit by cloning the git repository:
64+
You can install eds-scikit via pip:
6565

6666
<div class="termy">
6767

@@ -73,6 +73,9 @@ color:green Successfully installed eds_scikit !
7373

7474
</div>
7575

76+
!!! warning "Possible issue with pip"
77+
If you get an an error during installation, please try downgrading pip via `pip install -U "pip<23"` before install `eds-scikit`
78+
7679
!!! danger "Improving performances on distributed data"
7780
It is highly recommanded (but not mandatory) to use the helper function `eds_scikit.improve_performances` to optimaly configure PySpark and Koalas. You can simply call
7881
```python

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ plugins:
9696
- bibtex:
9797
#bib_file: "docs/references.bib"
9898
bib_dir: "./"
99-
recursive: true
10099
- gen-files:
101100
scripts:
102101
- docs/generate_reference.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ doc = [
8484
"mike==1.1.2",
8585
"nbformat==5.7.0",
8686
"mkdocs-autorefs==0.3.1",
87-
"mkdocs-bibtex-recursive==2.8.15",
87+
"mkdocs-bibtex==2.8.16",
8888
"mkdocs-charts-plugin==0.0.8",
8989
"mkdocs-gen-files==0.3.5",
9090
"mkdocs-img2fig-plugin==0.9.3",

0 commit comments

Comments
 (0)