microsoftgraph / microsoftgraph/msgraph-sdk-python
kiota-dom-export.txt is large and included in the released package
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 630
- 分支
- 96
- 平均合併
- 15 小時 20 分鐘
- 30 天內合併 PR
- 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先從 package 和 distribution 設定著手,追蹤 lib/python3.13/site-packages/msgraph/generated/kiota-dom-export.txt 如何進入 release package。建置 release artifact,並驗證 kiota-dom-export.txt 不存在,同時 SDK 仍可使用,且 package 減少約 30MB。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- release
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 62/100