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

Relax certifi version constraint in the Kubernetes Python client

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

The conflict comes from the certifi lower bound added in PR #2660, so start by finding where the package declares its certifi dependency and check that PR's diff. Whether the bound is needed is a maintainer decision, so confirm the intended minimum before editing. Done means pip install kubernetes==37.0.0 certifi==2024.10.17 resolves without error.

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

説明

kind/bug

Description

For reasons unrelated to Kubernetes, one of our Python applications requires certifi==2024.10.17 and cannot be upgraded to a later version.
However, we also need to use the latest version of the Kubernetes Python client (kubernetes==37.0.0).

Interestingly, if we force-install both packages together, everything functions correctly with no runtime errors.
However, standard pip installation fails due to a strict dependency constraint.

$ pip install kubernetes==37.0.0 certifi==2024.10.17
ERROR: Cannot install certifi==2024.10.17 and kubernetes==37.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested certifi==2024.10.17
    kubernetes 37.0.0 depends on certifi>=2026.7.22

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

It appears this restriction was introduced in PR #2660.

Questions / Request

Is this strict lower bound on certifi (>=2026.7.22) strictly necessary for kubernetes==37.0.0?

Would it be possible to relax or widen the certifi version requirement in future releases to accommodate applications locked to slightly older versions, especially since force-installing works smoothly?

What happened (please include outputs or screenshots):

$ pip install kubernetes==37.0.0 certifi==2024.10.17
ERROR: Cannot install certifi==2024.10.17 and kubernetes==37.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested certifi==2024.10.17
    kubernetes 37.0.0 depends on certifi>=2026.7.22

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

What you expected to happen:

The latest version of kubernetes can be installed successfully together with certifi==2024.10.17.

How to reproduce it (as minimally and precisely as possible):

pip install kubernetes==37.0.0 certifi==2024.10.17

Anything else we need to know?:

Environment:

  • Kubernetes version (kubectl version): Client Version: v1.35.9, Server Version: v1.35.0
  • OS (e.g., MacOS 10.13.6): Debian bookworm 12.12
  • Python version (python --version): Python 3.14.0
  • Python client version (pip list | grep kubernetes): 37.0.0
主要言語
Python
スター
7.7k
フォーク
3.5k
平均マージ
1日 13時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

kubernetes-client/python のほかの issue

kubernetes-client/python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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