Skip to content

Commit cc0d1c3

Browse files
committed
Use new pip resolver
1 parent babeba6 commit cc0d1c3

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
@@ -50,14 +50,12 @@ jobs:
5050
5151
- name: 📦 Install webviz-config with dependencies
5252
run: |
53-
pip install 'pandas==${{ matrix.pandas-version }}'
5453
pip install --upgrade pip
55-
pip install .
54+
pip install --use-feature=2020-resolver . 'pandas==${{ matrix.pandas-version }}'
5655
5756
- name: 📦 Install test dependencies
5857
run: |
59-
pip install .[tests]
60-
pip install dash[testing]
58+
pip install --use-feature=2020-resolver .[tests]
6159
wget https://chromedriver.storage.googleapis.com/$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE -q -O -)/chromedriver_linux64.zip
6260
unzip chromedriver_linux64.zip
6361

CONTRIBUTING.md

-4
Original file line numberDiff line numberDiff line change
@@ -515,11 +515,7 @@ To run tests it is necessary to first install the [selenium chrome driver](https
515515
Then install the Python development requirements:
516516
```bash
517517
pip install .[tests]
518-
pip install dash[testing]
519518
```
520-
The second of these commands appears to be necessary as long as
521-
[this `pip` issue is open](https://github.com/pypa/pip/issues/4957).
522-
523519
You can then run the tests using
524520
```bash
525521
pytest tests --forked

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def get_long_description() -> str:
2525
TESTS_REQUIRES = [
2626
"bandit",
2727
"black",
28+
"dash[testing]",
2829
"jsonschema",
2930
"mock",
3031
"mypy",

0 commit comments

Comments
 (0)