Adapt bootstrap / conventions to use `pylock.toml`
@rgaudin đang làm issue này rồi.
Từ ngày 18/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
In many projects we are building (scrapers, zimfarm, ... all besides libraries like python-scraperlib), we use pinned dependencies versions to ensure reproducible builds.
But now the ecosystem has changed and pylock.toml format has landed (see https://packaging.python.org/en/latest/specifications/pylock-toml/)
This file would allow to specify range of versions in pyproject.toml for all projects, and use the pylock.toml to have reproducible builds.
This would allow to simplify significantly dependency upgrades since one will just have to update the pylock.toml to most recent version matching pyproject.toml ranges. This is currently done manually and is quite a pain.
Currently, hatch does not support this pylock.toml file, see e.g. https://github.com/pypa/hatch/issues/749
We could:
- wait for hatch to support it, and help if possible
- downside: not ready
- consider migrating from
hatchtouv- downside1 : hatch-openzim plugin will not work anymore ... but could probably easily be adapted for uv +
- downside2: uv uses its own "proprietary" lock file, which is not really future-proof)
I would clearly prefer to wait for hatch support (and contribute to it as much as possible).
WDYT?
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openzim/_python-bootstrap
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
openzim/_python-bootstrap#57 ·
-
Workflow convention Đang mởquestion
openzim/_python-bootstrap#53 · 1 người được giao ·
-
Move `.pre-commit.yaml` to hatch Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
openzim/_python-bootstrap#51 · 3 bình luận ·
-
What about nested logs Đang mởenhancement
openzim/_python-bootstrap#48 · 2 người được giao ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
openzim/_python-bootstrap#47 · 1 bình luận ·
Tất cả issue của openzim/_python-bootstrap
Issue tương tự
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Đang mởarea: ci bug perceived difficulty: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-connect#1057 ·