Skip to content

Commit

Permalink
Circumvent new pip check (see pypa/flit#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Feb 25, 2021
1 parent 96ea96e commit 5efea82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- script: |
python -m pip install --upgrade pip
pip install -r .pip-2033.txt
pip install pytest-cov wheel
pip install .[dev,doc,test,louvain,leiden,magic,scvi,harmony,scrublet,scanorama]
displayName: 'Install dependencies'
Expand Down Expand Up @@ -102,6 +103,7 @@ jobs:
displayName: 'Display installed versions'

- script: |
pip install flit
flit build
twine check dist/*
displayName: 'Build & Twine check'
4 changes: 4 additions & 0 deletions .pip-2033.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Flit mangles the +local part of the version spec in compliance with PEP 427,
# but pip 20.3.4 started expecting wheel filenames to contain the local part unmangled.
# https://github.com/pypa/pip/issues/9628
pip==20.3.3
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sphinx:
python:
version: 3.8
install:
- requirements: .pip-2033.txt
- method: pip
path: .
extra_requirements:
Expand Down

0 comments on commit 5efea82

Please sign in to comment.