Skip to content

Commit 53a2762

Browse files
committed
chore: pin minimum requirements
1 parent bfdb540 commit 53a2762

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
python: ["3.7", "3.8", "3.9", "3.10"]
2323
os: ["ubuntu-latest"]
2424
pytest_ops: [""]
25+
requirements: [""]
2526
include:
27+
- os: "ubuntu-latest"
28+
python: "3.7"
29+
requirements: "requirements/minimum.txt"
2630
- os: "macos-latest"
2731
python: "3.10"
2832
# ignore doctests, as they involve calls to github, and all mac machines
@@ -36,6 +40,12 @@ jobs:
3640
- name: Install dependencies
3741
run: |
3842
python -m pip install --upgrade pip
43+
44+
# optionally install from requirements file
45+
if [ $REQUIREMENTS ]; then
46+
pip install -r $REQUIREMENTS
47+
fi
48+
3949
python -m pip install -e .[test]
4050
- name: Run tests
4151
run: |
@@ -44,7 +54,8 @@ jobs:
4454
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
4555
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
4656
AWS_REGION: "us-east-1"
47-
PYTEST_OPTS: ${{ matrix.pytest_opts}}
57+
PYTEST_OPTS: ${{ matrix.pytest_opts }}
58+
REQUIREMENTS: ${{ matrix.requirements }}
4859

4960
test-rsconnect:
5061
name: "Test RSConnect"

requirements/minimum.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
fsspec==0.8.0
2+
pyyaml==3.13
3+
xxhash==1.0.0
4+
pandas==0.23.0
5+
jinja2==2.10.0
6+
joblib==0.12.0
7+
importlib-metadata==4.4
8+
importlib-resources==1.3
9+
appdirs<2.0.0
10+
humanize==1.0.0

setup.cfg

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ zipsafe = False
2323

2424
python_requires = >=3.7
2525
install_requires =
26-
fsspec
27-
pyyaml
28-
xxhash
29-
pandas
30-
jinja2
31-
joblib
32-
importlib-metadata
33-
importlib-resources
34-
appdirs
35-
humanize
26+
fsspec>=0.8.0
27+
pyyaml>=3.13
28+
xxhash>=1.0.0
29+
pandas>=0.23.0
30+
jinja2>=2.10.0
31+
joblib>=0.12.0
32+
importlib-metadata>=4.4
33+
importlib-resources>=1.3
34+
appdirs<2.0.0
35+
humanize>=1.0.0
3636

3737

3838
[options.extras_require]

0 commit comments

Comments
 (0)