Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
FIX: Force pip version to fix build
Browse files Browse the repository at this point in the history
The following error seems to be caused by
a mismatch in pip versions. It looks similar
to: pypa/pip#5373

kpnnv/katka-core make publish
"python3.8" setup_gen.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkgversion/pkgversion.py", line 8, in <module>
    from pip._internal.download import PipSession
ModuleNotFoundError: No module named 'pip._internal.download'

To prevent this from happening, we upgrade to the
newest pip.
  • Loading branch information
Michiel Holtkamp committed Mar 30, 2020
1 parent a8c7b00 commit d2f7ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ setup.py:
@echo 'setup.py created'

publish: setup.py
$(PIP) install -U pip
$(PYTHON) setup.py sdist bdist_wheel
$(TWINE) check dist/*
$(TWINE) upload dist/*
Expand Down

0 comments on commit d2f7ace

Please sign in to comment.