-
-
Notifications
You must be signed in to change notification settings - Fork 374
pip install runs every time for packages with underscores in the name #258
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
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. |
Updating grep regex to use package name with underscores replaced with hyphens.
Addressing stankevich/puppet-python issue #258.
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? |
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: