Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Installing specific version of python

オープン
#544 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python, ruby
領域
devops

調査の方向性

No source file or test is named. Start by reproducing the version parameter behavior with the shown yum package on Amazon Linux 2, then trace how the Puppet module passes that parameter to yum. Done means a specific package version such as 3-0:3.7.4-1.amzn2.0.4.x86_64 is installed instead of only the package name.

索引モデルが issue の本文から書いたものです。

説明

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.14
  • Ruby: 2.5.1
  • Distribution: Puppet Server - Ubuntu 18.04, Puppet Node - Amazon Linux 2
  • Module version: 4.0.0

How to reproduce (e.g Puppet code you use)

Simply set the version to a specific yum package in the form name-epoch:ver-rel.arch (3-0:3.7.4-1.amzn2.0.4.x86_64)

What are you seeing

If i check my configured repository if have the following python3 versions available.

repoquery --show-duplicates python3
python3-0:3.7.4-1.amzn2.0.3.i686
python3-0:3.7.4-1.amzn2.0.3.x86_64
python3-0:3.7.4-1.amzn2.0.4.i686
python3-0:3.7.4-1.amzn2.0.4.x86_64
python3-0:3.7.6-1.amzn2.0.1.i686
python3-0:3.7.6-1.amzn2.0.1.x86_64

Locally running "yum install python3-0:3.7.4-1.amzn2.0.4.x86_64" installs the version i specify.

However when using the version parameter of this puppet module it only supports the first number of the version string.

So if configure a version parameter of
3-0:3.7.4-1.amzn2.0.4.x86_64
It simply reads the "3" at the start and ignores everything else.
Therefore the actual package installed by yum is just python3

What behaviour did you expect instead

Ability to support package versions other than default repo latest versions.

主要言語
Ruby
スター
196
フォーク
371
平均マージ
5時間 54分
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voxpupuli/puppet-python のほかの issue

voxpupuli/puppet-python の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。