Skip to content

Commit f653c3c

Browse files
committed
Circumvent new pip check (see pypa/pip#9628)
1 parent 667de76 commit f653c3c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.azure-pipelines.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
4343
- script: |
4444
python -m pip install --upgrade pip
45+
pip install -r .pip-2033.txt
4546
pip install pytest-cov wheel
4647
pip install .[dev,doc,test,louvain,leiden,magic,scvi,harmony,scrublet,scanorama]
4748
displayName: 'Install dependencies'
@@ -102,6 +103,7 @@ jobs:
102103
displayName: 'Display installed versions'
103104

104105
- script: |
106+
pip install flit
105107
flit build
106108
twine check dist/*
107109
displayName: 'Build & Twine check'

.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.8
88
install:
9+
- requirements: .pip-2033.txt
910
- method: pip
1011
path: .
1112
extra_requirements:

0 commit comments

Comments
 (0)