-
-
Notifications
You must be signed in to change notification settings - Fork 782
Pin pip consistently in one place across the targets, fix st2docs build #4957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| # If you update these versions, make sure you update the versions in the .st2client-install-check | ||
| # and the requirements targets in the Makefile to match | ||
| - pip install --upgrade "pip==20.0.2" | ||
| - sudo pip install --upgrade "virtualenv==16.6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI pinning virtualenv here never really worked.
In Travis environment:
virtualenv --version
16.1.0
for py2 env
and
virtualenv --version
16.0.0
for py3 env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It turns out that's because different virtualenv binaries were created when we installed/upgraded it with sudo and used one without 🤦
|
There are a bunch of st2docs PRs which merging is blocked by this CI failure and I'd like us to fix this ASAP. |
nmaludy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
st2docsbuild which is based onst2makefile started to fail (https://circleci.com/gh/StackStorm/st2docs/2529) due to upstream pip updated to latest20.1.1, while we failed to pin it to20.0.2. Thanks to @winem for the find.We should not pin
pipin files like.travis.yml, but instead use single consistent way and not hack across the many places as other systems rely on st2 makefiles for the builds.Related: StackStorm/community#2
This change sets pip version in one Makefile place and fixes st2docs builds.