Skip to content

Commit 462d074

Browse files
committed
Use new pip resolver
1 parent 623ab6f commit 462d074

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/workflows/webviz-config.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ jobs:
4848
4949
- name: 📦 Install webviz-config with dependencies
5050
run: |
51-
pip install 'pandas==${{ matrix.pandas-version }}'
5251
pip install --upgrade pip
53-
pip install .
52+
pip install --use-feature=2020-resolver . 'pandas==${{ matrix.pandas-version }}'
5453
5554
- name: 📦 Install test dependencies
5655
run: |
57-
pip install .[tests]
58-
pip install dash[testing]
56+
pip install --use-feature=2020-resolver .[tests]
5957
wget https://chromedriver.storage.googleapis.com/$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE -q -O -)/chromedriver_linux64.zip
6058
unzip chromedriver_linux64.zip
6159

CONTRIBUTING.md

-4
Original file line numberDiff line numberDiff line change
@@ -492,11 +492,7 @@ To run tests it is necessary to first install the [selenium chrome driver](https
492492
Then install the Python development requirements:
493493
```bash
494494
pip install .[tests]
495-
pip install dash[testing]
496495
```
497-
The second of these commands appears to be necessary as long as
498-
[this `pip` issue is open](https://github.com/pypa/pip/issues/4957).
499-
500496
You can then run the tests using
501497
```bash
502498
pytest tests --forked

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
TESTS_REQUIRES = [
77
"bandit",
88
"black",
9+
"dash[testing]",
910
"jsonschema",
1011
"mock",
1112
"mypy",

0 commit comments

Comments
 (0)