System python on CentOS 8 is not "python"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- devops, operating-systems
Direzione di ricerca
Start with the module's package-installation logic and reproduce the issue using the Puppet class shown on CentOS 8. Check how the system Python choice is translated into package names and verify the result with the reported pip and virtualenv settings. Done means system Python installs successfully on CentOS 8 and the existing system-based virtualenv workflow no longer requires version-specific overrides.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.11.1
- Ruby: 2.5.7p206
- Distribution: CentOS 8
- Module version: 4.0.0
How to reproduce (e.g Puppet code you use)
class { 'python':
ensure => 'present',
pip => 'present',
virtualenv => 'present',
use_epel => false,
}
What are you seeing
Error: Execution of '/bin/dnf -d 0 -e 1 -y install python' returned 1: Error: Unable to find a match
Error: /Stage[main]/Python::Install/Package[python]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install python' retu
rned 1: Error: Unable to find a match
What behaviour did you expect instead
Python 2.7 is now EOL and so CentOS 8 are pushing a lot of Python 3. Because of the long lifespan of a CentOS release, they've only got versioned Python (python2 and python3) and python as a package doesn't exist.
"system" should be Python 3 on CentOS 8 (and other distros that have similar behaviour)
This would also solve the problem of installing Python as v3 (rather than system) and then having to specify v3 for all virtualenvs as well.
- Lingua principale
- Ruby
- Stelle
- 196
- Fork
- 371
- Merge medio
- 5h 54m
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voxpupuli/puppet-python
-
Requirements not installedAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
voxpupuli/puppet-python#743 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#721 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#711 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
voxpupuli/puppet-python#673 · 1 commento ·
Tutte le issue di voxpupuli/puppet-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
metanorma/metanorma-standoc#1315 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metanorma/metanorma-iso#1681 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing zh-CN translation: components/common/CommunitySolution.tsx:communitySolution.authorsSolutionAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
openstreetmap/openstreetmap-website#7554 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
manyfold3d/manyfold#7445 ·
I maintainer di solito rispondono entro 1 giorno