System python on CentOS 8 is not "python"
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- devops, operating-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Ruby
- Estrellas
- 196
- Forks
- 371
- Merge medio
- 5 h 54 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voxpupuli/puppet-python
-
Requirements not installedAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
voxpupuli/puppet-python#759 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
voxpupuli/puppet-python#743 · 1 comentario ·
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
voxpupuli/puppet-python#721 · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
voxpupuli/puppet-python#711 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 52/100
voxpupuli/puppet-python#673 · 1 comentario ·
Todos los issues de voxpupuli/puppet-python
Issues similares
-
intercepted.rb crashes on an optional positional argument when the method also takes keywordsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yegor256/intercepted#128 ·
-
documentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
ysb3996-blip/oops#51 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Remove leftover Cloud66 custom_web process from ProcfilePosiblemente ocupada @ShahadatTest la tomó hoy. AbiertoDifficulty: Easy Good First Issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
rubyforgood/casa#7330 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:core-lib P2 size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día