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

Reduce size of MODULE.bazel.lock file

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python
領域
build-system

調査の方向性

Start by reproducing lockfile generation with a restricted platform list passed to pip.parse, using the linked comparison as the reference. Inspect how MODULE.bazel.lock records dist_hashes, then determine why hashes for unrequested platforms remain. Done means the generated lockfile omits those irrelevant hashes without breaking reproducible dependency resolution, with tests covering the behavior.

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

説明

🚀 feature request

Description

I would like the MODULE.bazel.lock file to be smaller if possible.

Describe the solution you'd like

Open to any solution but I'm noticing that if you pass a limited set of platforms to pip.parse, the MODULE.bazel.lock contains hashes for other platforms as well:

  "facts": {
    "@@rules_python+//python/extensions:pip.bzl%pip": {
      "dist_hashes": {
        "https://pypi.org/simple": {
          ...
          "cffi": {
            "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl": "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973",
            "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl": "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264",
...

which probably could be omitted.

主要言語
Starlark
スター
687
フォーク
726
平均マージ
1日 3時間
マージ済み PR(30日)
83

環境構築

はじめの一歩

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

bazel-contrib/rules_python のほかの issue

bazel-contrib/rules_python の issue をすべて見る

似ている issue

Build System の issue をもっと見る

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

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