Skip to content

Use $real_pkgname for pip uninstall command#607

Merged
bastelfreak merged 7 commits intovoxpupuli:masterfrom
brabiega:patch-1
Apr 28, 2021
Merged

Use $real_pkgname for pip uninstall command#607
bastelfreak merged 7 commits intovoxpupuli:masterfrom
brabiega:patch-1

Conversation

@brabiega
Copy link
Copy Markdown
Contributor

Fix #606

Pull Request (PR) description

Use $real_pkgname for pip uninstall command

This Pull Request (PR) fixes the following issues

Fixes #606

Copy link
Copy Markdown
Member

@kenyon kenyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to also add a test for this so that it doesn't break again.

@brabiega
Copy link
Copy Markdown
Contributor Author

I've added the test, should be enough.

Comment thread manifests/pip.pp
@bastelfreak bastelfreak added bug Something isn't working needs-tests labels Apr 26, 2021
Comment thread spec/acceptance/pip_spec.rb
@brabiega
Copy link
Copy Markdown
Contributor Author

I guess system wide pip path may differ on different OSes.
/usr/bin/pip - this is not universal.

I'll fix the acceptance tests to run pip inside virtualenv.

@bastelfreak bastelfreak merged commit 50886bf into voxpupuli:master Apr 28, 2021
@brabiega brabiega deleted the patch-1 branch April 29, 2021 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pip uninstall does not support pkgname variable

3 participants