Skip to content

Commit 6e4a6fc

Browse files
authored
Turn on pip's new feature - use-feature=2020-resolver (slackapi#42)
1 parent 2086247 commit 6e4a6fc

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/maintainers_guide.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ $ python -m venv env_3.8.5
3939
$ source env_3.8.5/bin/activate
4040
```
4141

42+
### Additional settings for pip
43+
44+
pip 20.2 introduced a new flag to test the upcoming change: https://discuss.python.org/t/announcement-pip-20-2-release/4863/2
45+
Turn on the feature on your local machine for testing it. Just running the following command helps you turn it on.
46+
47+
```bash
48+
pip config set global.use-feature 2020-resolver
49+
```
50+
51+
The following file should be generated.
52+
53+
```yaml
54+
# ~/.config/pip/pip.conf
55+
[global]
56+
use-feature = 2020-resolver
57+
```
58+
4259
## Tasks
4360

4461
### Testing

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ python:
77
install:
88
- python setup.py install
99
- pip install -U pip
10+
# https://discuss.python.org/t/announcement-pip-20-2-release/4863
11+
- pip config set global.use-feature 2020-resolver
1012
- pip install "pytest>=5,<6"
1113
- pip install "pytype"
1214
script:

0 commit comments

Comments
 (0)