pip uses the wrong package
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 38/100
Piste de recherche
Inspect the package-name selection behind Class[Python::Install] and Package[pip], then reproduce the shown versioned invocation. Done means pip resolves to the version-matched package, such as python27-pip, when that package exists, without changing unrelated package selections.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
when using the default provider and changing the version, pip is still installed as either python-pip or python3-pip. For example, in this invocation to install python from ius:
class { 'python':
ensure => 'present',
version => 'python27',
pip => 'present',
dev => 'present',
virtualenv => 'present',
use_epel => false,
}
you get this debug output:
Debug: Executing: '/bin/rpm -q python27 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Executing: '/bin/rpm -q python27 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'
Notice: (/Stage[main]/Python::Install/Package[python]/ensure) current_value purged, should be present (noop)
Debug: (/Stage[main]/Python::Install/Package[python]) The container Class[Python::Install] will propagate my refresh event
Debug: Executing: '/bin/rpm -q python27-virtualenv --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Executing: '/bin/rpm -q python27-virtualenv --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'
Notice: (/Stage[main]/Python::Install/Package[virtualenv]/ensure) current_value purged, should be present (noop)
Debug: (/Stage[main]/Python::Install/Package[virtualenv]) The container Class[Python::Install] will propagate my refresh event
Debug: Executing: '/bin/rpm -q python-pip --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Executing: '/bin/rpm -q python-pip --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'
Notice: (/Stage[main]/Python::Install/Package[pip]/ensure) current_value purged, should be present (noop)
Debug: (/Stage[main]/Python::Install/Package[pip]) The container Class[Python::Install] will propagate my refresh event
Debug: Executing: '/bin/rpm -q python27-devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Executing: '/bin/rpm -q python27-devel --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'
Notice: (/Stage[main]/Python::Install/Package[python-dev]/ensure) current_value purged, should be present (noop)
Debug: (/Stage[main]/Python::Install/Package[python-dev]) The container Class[Python::Install] will propagate my refresh event
Debug: Executing: '/bin/rpm -q python-gunicorn --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Executing: '/bin/rpm -q python-gunicorn --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides'
Debug: (/Stage[main]/Python::Install/Package[gunicorn]) Nothing to manage: no ensure and the resource doesn't exist
python, devel and virtualenv all have the right package, but pip's is wrong. gunicorn's is also wrong, but there's no python27-gunicorn in ius, so I'm, less worried about that.
- Langage dominant
- Ruby
- Étoiles
- 196
- Forks
- 371
- Merge moyen
- 5 h 54 min
- PR mergées (30 j)
- 5
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de voxpupuli/puppet-python
-
Requirements not installedOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
voxpupuli/puppet-python#743 · 1 commentaire ·
-
enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
voxpupuli/puppet-python#721 · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
voxpupuli/puppet-python#711 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 52/100
voxpupuli/puppet-python#673 · 1 commentaire ·
Toutes les issues de voxpupuli/puppet-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
data error
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
riscv/riscv-unified-db#2794 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
heartcombo/simple_form#1874 ·
-
Bug: Reports Monthly breakdown shows the whole first month when a custom range starts mid-monthOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
we-promise/sure#4603 ·
Les mainteneurs répondent en général sous 1 jour