Skip to content

Handle ancient pip versions - #31027

Merged
cachedout merged 2 commits into
saltstack:developfrom
byronclark:bugfix/handle-ancient-pip-versions
Feb 9, 2016
Merged

cachedout merged 2 commits into
saltstack:developfrom
byronclark:bugfix/handle-ancient-pip-versions

Conversation

@byronclark

Copy link
Copy Markdown
Contributor

The version of pip that ships with Ubuntu 12.04 doesn't have the __version__ attribute. This causes the state module to fail to load and throw an ugly error on every highstate run.

See #31025

Byron Clark added 2 commits February 8, 2016 16:28
The version of pip that ships with Ubuntu 12.04 doesn't have a
`__version__` attribute. It's obviously older than version 8.0.0 so fake
the version number here.
This check exists twice in the code. Once is good enough for anyone.
cachedout pushed a commit that referenced this pull request Feb 9, 2016
@cachedout
cachedout merged commit b62dcb7 into saltstack:develop Feb 9, 2016
@cachedout

Copy link
Copy Markdown
Contributor

Thanks, @byronclark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants