Skip to content

Commit d339903

Browse files
committed
Circumvent new pip check (see pypa/pip#9628)
1 parent 7dc7aab commit d339903

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.azure-pipelines.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
- script: |
2525
python -m pip install --upgrade pip
26+
pip install -r .pip-2033.txt
2627
pip install pytest-cov wheel
2728
pip install .[dev,test]
2829
displayName: 'Install dependencies'

.pip-2033.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Flit mangles the +local part of the version spec in compliance with PEP 427,
2+
# but pip 20.3.4 started expecting wheel filenames to contain the local part unmangled.
3+
# https://github.com/pypa/pip/issues/9628
4+
pip==20.3.3

.readthedocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ sphinx:
66
python:
77
version: 3.6
88
install:
9+
- requirements: .pip-2033.txt
910
- method: pip
1011
path: .
1112
extra_requirements:

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ python:
1717
- "3.6"
1818
- "3.7"
1919
install:
20+
- pip install -r .pip-2033.txt
2021
- pip install .[dev,test]
2122
script:
2223
- pytest --cov=. --cov-report=xml

0 commit comments

Comments
 (0)