microsoftgraph / microsoftgraph/msgraph-sdk-python

kiota-dom-export.txt is large and included in the released package

オープン 初心者向け
#1,287 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

Needs: Attention :wave: type:bug
主要言語
Python
スター
630
フォーク
96
平均マージ
15時間 20分
マージ済み PR(30日)
3

説明

Describe the bug

The kiota-dom-export.txt file is very big (>30MB), and is included in the final release package. That file alone is 12% of the final package size. It doesn't appear to be used at runtime, and so I think it's not necessary to be shipped. Would it be possible to exclude this file from the release to save disk space?

Expected behavior

kiota-dom-export.txt not shipped saving 30MB

How to reproduce

N/A

SDK Version

1.37.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration
  • OS: macOS 15.5
  • architecture: arm64

Do you know whether it is specific to that configuration?

Probably not

Other information
(test-venv) $ du -sh lib/python3.13/site-packages/msgraph/generated/kiota-dom-export.txt
 30M	lib/python3.13/site-packages/msgraph/generated/kiota-dom-export.txt
(test-venv) $ du -sh lib/python3.13/site-packages/msgraph
249M	lib/python3.13/site-packages/msgraph

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、パッケージとディストリビューションの設定から始めて、lib/python3.13/site-packages/msgraph/generated/kiota-dom-export.txt がリリースパッケージに入る経路を追跡します。リリースアーティファクトをビルドし、kiota-dom-export.txt が存在しないことを確認するとともに、SDK が引き続き使用可能で、パッケージが約30MB削減されることを確認します。

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

評価

技術スタック
python
領域
release
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
62/100

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

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