forked from workalendar/workalendar
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin to pip 19.0 for now for pypa/pip#6434.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
""" | ||
Downgrade to pip 19.0 before installing requirements, working | ||
around limitations introduced in 19.1 (ref | ||
https://github.com/pypa/pip/issues/6434) | ||
""" | ||
|
||
import sys | ||
import subprocess | ||
import shlex | ||
|
||
|
||
def main(): | ||
subprocess.check_call(shlex.split( | ||
'python -m pip install pip<19.1' | ||
)) | ||
subprocess.check_call(shlex.split( | ||
'python -m pip install') + sys.argv[1:]) | ||
|
||
|
||
__name__ == '__main__' and main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters