Commit b01f03e 1 parent babeba6 commit b01f03e Copy full SHA for b01f03e
File tree 4 files changed +7
-9
lines changed
4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,12 @@ jobs:
50
50
51
51
- name : 📦 Install webviz-config with dependencies
52
52
run : |
53
- pip install 'pandas==${{ matrix.pandas-version }}'
54
- pip install --upgrade pip
55
- pip install .
53
+ pip install --upgrade pip wheel
54
+ pip install --use-feature=2020-resolver . 'pandas==${{ matrix.pandas-version }}'
56
55
57
56
- name : 📦 Install test dependencies
58
57
run : |
59
- pip install .[tests]
60
- pip install dash[testing]
58
+ pip install --use-feature=2020-resolver .[tests]
61
59
wget https://chromedriver.storage.googleapis.com/$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE -q -O -)/chromedriver_linux64.zip
62
60
unzip chromedriver_linux64.zip
63
61
Original file line number Diff line number Diff line change @@ -515,11 +515,7 @@ To run tests it is necessary to first install the [selenium chrome driver](https
515
515
Then install the Python development requirements :
516
516
` ` ` bash
517
517
pip install .[tests]
518
- pip install dash[testing]
519
518
` ` `
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
-
523
519
You can then run the tests using
524
520
` ` ` bash
525
521
pytest tests --forked
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ The recommended and simplest way of installing `webviz-config` is to run
47
47
pip install webviz-config
48
48
```
49
49
50
+ > :warning : Unless you are using ` pip ` version ` >=20.3 ` you should enable the new ` pip `
51
+ resolver when installing, i.e. ` pip install --use-feature=2020-resolver webviz-config ` .
52
+
50
53
If you want to develop ` webviz-config ` and install the latest source code manually you
51
54
can do something along the lines of:
52
55
can run
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ def get_long_description() -> str:
25
25
TESTS_REQUIRES = [
26
26
"bandit" ,
27
27
"black" ,
28
+ "dash[testing]" ,
28
29
"jsonschema" ,
29
30
"mock" ,
30
31
"mypy" ,
You can’t perform that action at this time.
0 commit comments