Skip to content

Commit 60e7746

Browse files
authored
Merge pull request #174 from Rust-Data-Science/wip-python-lib-ver
fix py lib versions in .txt files
2 parents 441e177 + fc4dbd8 commit 60e7746

File tree

10 files changed

+21
-6
lines changed

10 files changed

+21
-6
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
default: true
2727
- name: Install Python packages
2828
run: |
29-
pip install numpy==1.22
30-
pip install maturin
29+
pip install -r ./requirements/bench.txt
3130
- name: Build ulist
3231
run: |
3332
maturin build --release --out dist -m ulist/Cargo.toml -i python

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
conda create -n py38 python=3.8
2828
eval "$(conda shell.bash hook)"
2929
conda activate py38
30-
pip install mypy pytest flake8 maturin pytest-cov
30+
pip install -r ./requirements/cov.txt
3131
- name: Build and install ulist
3232
run: |
3333
eval "$(conda shell.bash hook)"

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
default: true
3333
- name: Install Python packages
3434
run: |
35-
pip install mypy pytest flake8 maturin
35+
pip install -r ./requirements/dev.txt
3636
- name: Build ulist
3737
run: |
3838
maturin build --out dist -m ulist/Cargo.toml

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
default: true
3030
- name: Install Python packages
3131
run: |
32-
pip install maturin
32+
pip install -r ./requirements/common.txt
3333
- name: Publish ulist
3434
env:
3535
PYPI_PW: ${{ secrets.PYPI_PW }}

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
default: true
2828
- name: Install Python packages
2929
run: |
30-
pip install maturin sphinx
30+
pip install -r ./requirements/doc.txt
3131
- name: Build ulist
3232
run: |
3333
maturin build --out dist -m ulist/Cargo.toml

requirements/bench.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-r common.txt
2+
# A-Z
3+
numpy==1.22.0

requirements/common.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# A-Z
2+
maturin==0.12.6

requirements/cov.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-r dev.txt
2+
# A-Z
3+
pytest-cov==3.0.0

requirements/dev.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r common.txt
2+
# A-Z
3+
flake8==4.0.1
4+
mypy==0.930
5+
pytest==6.2.5

requirements/doc.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-r common.txt
2+
# A-Z
3+
sphinx==4.3.2

0 commit comments

Comments
 (0)