Python 3.12/PEP 632 compatibility (distutils removal)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- build-system
調査の方向性
Start by locating the distutils imports in the repository, then run the documented SETUPTOOLS_USE_DISTUTILS=stdlib tox -e tests-py312 command to reproduce the failure. Update the imports to the equivalent setuptools APIs described in the linked migration guide, and consider the work done when the Python 3.12 test environment passes without vendored distutils.
索引モデルが issue の本文から書いたものです。
説明
The distutils package was removed in Python 3.12, per PEP 632. It is transitionally provided by setuptools, but this is deprecated.
Incremental contains distutils imports. Its tests fail on Python 3.12 when setuptools' vendored distutils is disabled:
$ SETUPTOOLS_USE_DISTUTILS=stdlib TOX_TESTENV_PASSENV=SETUPTOOLS_USE_DISTUTILS tox -e tests-py312
...
tests-py312 run-test: commands[5] | coverage run -p examplesetup.py install
Traceback (most recent call last):
File ".../incremental/examplesetup.py", line 1, in <module>
from setuptools import setup
File ".../incremental/.tox/tests-py312/lib/python3.12/site-packages/setuptools/__init__.py", line 9, in <module>
import distutils.core
ModuleNotFoundError: No module named 'distutils'
.../incremental/.tox/tests-py312/lib/python3.12/site-packages/coverage/inorout.py:503: CoverageWarning: Module incremental was never imported. (module-not-imported)
self.warn(f"Module {pkg} was never imported.", slug="module-not-imported")
.../incremental/.tox/tests-py312/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
self._warn("No data was collected.", slug="no-data-collected")
ERROR: InvocationError for command .../incremental/.tox/tests-py312/bin/coverage run -p examplesetup.py install (exited with code 1)
__________________________________________________________________ summary ___________________________________________________________________
ERROR: tests-py312: commands failed
The imports should be updated to reference the equivalent bits of setuptools.
- 主要言語
- Python
- スター
- 144
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
twisted/incremental のほかの issue
-
[24.11.0] Incorrect Version and GIT Tag for 25.11.0?対応中かも @twm が 235 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
twisted/incremental#185 · コメント 3 件 · リアクション 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
twisted/incremental#111 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
twisted/incremental#110 · コメント 8 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
twisted/incremental#109 · コメント 3 件 ·
-
Ignore .pyc filesオープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
twisted/incremental#58 · コメント 2 件 ·
twisted/incremental の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
volcengine/OpenViking#6445 ·
メンテナーはふだん 1 日以内に返信
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be edited対応中かも @ManyaJain111 が今日担当しました。 オープンbug enhancement possible-duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
AOSSIE-Org/PictoPy#1637 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
deepspeedai/DeepSpeed#8884 ·
メンテナーはふだん 3 日以内に返信
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flagos-ai/FlagQuantum#718 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-failure high priority
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
vllm-project/afd-plugin#483 ·
メンテナーはふだん 1 日以内に返信