Skip to content
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

Fix pip installation on Gentoo #651

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

jameslikeslinux
Copy link
Contributor

Pull Request (PR) description

The 'pip' package name is ambiguous on Gentoo, with options 'app-misc/pip' and 'dev-python/pip', resulting in the following error during installation:

Error: /Stage[main]/Python::Install/Package[pip]: Could not evaluate: More than one package with the specified name [pip], please use the category parameter to disambiguate

The error message directs us to use the category parameter, which this module already did; however, category is a "read-only parameter set by the package" [1].

The correct way to disambiguate this package is to use the full package name, 'dev-python/pip'.

[1] https://www.puppet.com/docs/puppet/7/types/package.html#package-attribute-category

This Pull Request (PR) fixes the following issues

n/a

The 'pip' package name is ambiguous on Gentoo, with options
'app-misc/pip' and 'dev-python/pip', resulting in the following error
during installation:

> Error: /Stage[main]/Python::Install/Package[pip]: Could not evaluate:
> More than one package with the specified name [pip], please use the
> category parameter to disambiguate

The error message directs us to use the `category` parameter, which this
module already did; however, `category` is a "read-only parameter set by
the package" [1].

The correct way to disambiguate this package is to use the full package
name, 'dev-python/pip'.

[1] https://www.puppet.com/docs/puppet/7/types/package.html#package-attribute-category
Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

LGTM

@kenyon kenyon added the bug Something isn't working label Mar 3, 2023
@kenyon kenyon merged commit 448fcab into voxpupuli:master Mar 3, 2023
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.

3 participants