No dependency floor in pyproject.toml is tested
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- github-actions, python
- 領域
- build-system, ci-cd, testing
調査の方向性
pyproject.toml と既存の test.yml、docs.yml、build.yml、release.yml ワークフローから始め、floors.txt の制約が通常のインストールおよび分離インストールとどのように相互作用するかを確認します。宣言された最小バージョンを検証する Python 3.11 の CI 実行を追加し、適切な箇所に説明されている wheel メタデータのアサーションを追加します。最小バージョンでテストスイートが成功し、アサーションがサポート対象の Hatchling バージョンを区別できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
pyproject.toml declares eight >= floors. None of them is tested — every CI
leg installs the newest of everything, so each floor is a claim nobody has
checked.
| Declaration | Where | Exercised by CI? |
|---|---|---|
lxml>=5.0 |
dependencies |
No — pip install -e .[dev] takes the newest |
hypothesis>=6 |
dev |
No |
lxml-stubs>=0.5 |
dev |
No |
pytest>=8 |
dev |
No |
pytest-cov>=5 |
dev |
No |
mkdocs-material>=9 |
docs |
No — docs.yml takes the newest |
mkdocs-static-i18n>=1.2 |
docs |
No |
mkdocstrings[python]>=0.27 |
docs |
No |
hatchling>=1.27 |
build-system |
No |
requires-python = ">=3.11" is the exception, and is well covered: test.yml
runs a 3.11 leg on ubuntu and windows, [tool.mypy] python_version = "3.11"
type-checks against it, and CONTRIBUTING tells developers to develop on it. The
exact pins (mypy, ruff, build, twine) enforce themselves.
lxml>=5.0 is the one that matters to users: it is the only runtime dependency,
and the floor is a public compatibility promise. Nothing has ever installed
lxml 5.0 against this test suite.
Proposal
One CI leg on the Python floor that installs the declared minimums and runs the
suite:
floors:
runs-on: ubuntu-latest
# python-version: "3.11"
- run: python -m pip install -e .[dev] -c floors.txt
- run: python -m pytest
floors.txt lists each declaration as == (lxml==5.0, pytest==8.0, …).
pip has no --resolution lowest — that is uv — so a constraints file is the
mechanism. The build-backend floor needs PIP_CONSTRAINT instead, since it is
resolved into build's isolated environment rather than the install
environment.
Expect this to fail at first and to move some floors up. That is the point: a
floor that fails is a floor that was wrong.
Related: the license-metadata assertion
Hatchling before 1.27 builds this project's wheel without complaint and emits
license = "MIT" as a legacy free-text field, dropping License-Expression and
License-File; twine check passes that wheel (see #24). A floor alone cannot
catch it, so build.yml and release.yml want a step asserting those two fields
are present in the built wheel — about nine lines of YAML each, verified to pass
a 1.32.0 wheel and fail a 1.26.3 one. It belongs with this work rather than
ahead of it: it would otherwise be the only enforced package floor in the file.
- 主要言語
- Python
- スター
- 1
- フォーク
- 0
- 平均マージ
- 11日 8時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sillsdev/python-sil-lift のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sillsdev/python-sil-lift#15 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
sillsdev/python-sil-lift#45 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
sillsdev/python-sil-lift#35 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
sillsdev/python-sil-lift#33 ·
-
Evaluate full API surface for anything unnecessary対応中かも @imnasnainaec が 18 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
sillsdev/python-sil-lift#30 · コメント 1 件 · 担当者 1 名 ·
sillsdev/python-sil-lift の issue をすべて見る
似ている issue
-
effort: low prio: low ready
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
digitalfabrik/integreat-cms#4616 ·
メンテナーはふだん 5 日以内に返信
-
bug difficulty:2 good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MakazhanAlpamys/Soup#1865 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FinanceFlash/unvibecode#233 ·
メンテナーはふだん 1 日以内に返信
-
area: agents area: docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openapi/gknowledge#23 ·
-
useless-suppression reported for deprecated-* messages that should be exempt対応中かも @adityasinha-ghub が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pylint-dev/pylint#11656 ·
メンテナーはふだん 1 日以内に返信