System python on CentOS 8 is not "python"
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Ruby
- スター
- 196
- フォーク
- 371
- 平均マージ
- 5時間 54分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voxpupuli/puppet-python のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
voxpupuli/puppet-python#759 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
voxpupuli/puppet-python#743 · コメント 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
voxpupuli/puppet-python#721 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
voxpupuli/puppet-python#711 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
voxpupuli/puppet-python#673 · コメント 1 件 ·
voxpupuli/puppet-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
data error
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
riscv/riscv-unified-db#2794 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
heartcombo/simple_form#1874 ·
-
Bug: Reports Monthly breakdown shows the whole first month when a custom range starts mid-monthオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
we-promise/sure#4603 ·
メンテナーはふだん 1 日以内に返信