-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
pip install runs every time for packages with underscores in the name #258
Comments
that's kinda tricky, because it also means modifying the namevar… in a way… |
I've got a fix on our local module that I think is pretty safe. I keep meaning to do a pull request. I'll try and get that done this weekend. |
rpocase
added a commit
to rpocase/puppet-python
that referenced
this issue
Nov 9, 2015
Updating grep regex to use package name with underscores replaced with hyphens.
shivapoudel
pushed a commit
that referenced
this issue
Nov 9, 2015
Addressing stankevich/puppet-python issue #258.
adamcstephens
pushed a commit
to covermymeds/puppet-python
that referenced
this issue
Jan 19, 2016
Updating grep regex to use package name with underscores replaced with hyphens.
@igalic It looks like this got reintroduced in the next commit. Any chance of a new merge with this fix? |
Thanks for catching this, @rpocase . Can you please reopen this ticket as a contributor? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pip freeze replaces underscores in package names with with hyphens. The grep regex does not take this into account, so it will always try to install packages with underscores in the package name.
E.g, for websocket_client
$pip freeze
websocket-client==0.32.0
Package name needs to have underscores replaced with hyphens when used in $grep_regex in pip.pp.
The text was updated successfully, but these errors were encountered: