Install on modern pip and setuptools is failing
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- build-system
調査の方向性
Reproduce the reported pip install --no-cache-dir extruct failure with current pip and setuptools, then inspect the jstyleson dependency and the linked upstream pull request. Confirm whether the dependency packaging change resolves the description-file error and verify that extruct installs successfully.
索引モデルが issue の本文から書いたものです。
説明
Likely due to https://github.com/linjackson78/jstyleson/pull/8
% pip install --no-cache-dir extruct
Collecting extruct
Downloading extruct-0.18.0-py2.py3-none-any.whl.metadata (36 kB)
Collecting lxml (from extruct)
Downloading lxml-5.3.1-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.7 kB)
Collecting lxml-html-clean (from extruct)
Downloading lxml_html_clean-0.4.1-py3-none-any.whl.metadata (2.4 kB)
Collecting rdflib>=6.0.0 (from extruct)
Downloading rdflib-7.1.3-py3-none-any.whl.metadata (11 kB)
Collecting pyrdfa3 (from extruct)
Downloading pyRdfa3-3.6.4-py3-none-any.whl.metadata (3.4 kB)
Collecting mf2py (from extruct)
Downloading mf2py-2.0.1-py3-none-any.whl.metadata (5.4 kB)
Collecting w3lib (from extruct)
Downloading w3lib-2.3.1-py3-none-any.whl.metadata (2.3 kB)
Collecting html-text>=0.5.1 (from extruct)
Downloading html_text-0.7.0-py3-none-any.whl.metadata (8.7 kB)
Collecting jstyleson (from extruct)
Downloading jstyleson-0.0.2.tar.gz (2.0 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Traceback (most recent call last):
File "venv-temp-2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "venv-temp-2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "venv-temp-2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 3, in <module>
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 116, in setup
_install_setup_requires(attrs)
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 87, in _install_setup_requires
dist.parse_config_files(ignore_option_errors=True)
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 730, in parse_config_files
self._parse_config_files(filenames=inifiles)
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 599, in _parse_config_files
opt = self._enforce_underscore(opt, section)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/p5/2zz8z1ln21dfb6p_t367sfn40000gn/T/pip-build-env-qdd6f77k/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 629, in _enforce_underscore
raise InvalidConfigError(
setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 25.0 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
error: subprocess-exited-with-error
- 主要言語
- Python
- スター
- 986
- フォーク
- 127
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scrapinghub/extruct のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
scrapinghub/extruct#278 · リアクション 1 件 ·
-
Migrate to pytest対応中かも @Rotzbua が 136 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
scrapinghub/extruct#252 ·
-
Tests fail with windows対応中かも @Rotzbua が 136 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
scrapinghub/extruct#251 ·
-
Fix the Build Status badge対応中かも @Rotzbua が 163 日前に担当しました。 オープンbug docs
難易度 1/5 1時間未満 初心者へのやさしさ 56/100
scrapinghub/extruct#236 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
scrapinghub/extruct#211 · コメント 1 件 ·
scrapinghub/extruct の issue をすべて見る
似ている issue
-
review-panel severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kristovatlas/coin-accounting#576 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/skills#2328 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
repo-harnesses: the entrypoint-guard check greps a message `#13692` reworded, so it fails on mainオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
daniel-ospina/tortoise#14947 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100