microsoftgraph / microsoftgraph/msgraph-sdk-python

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

未关闭 适合新手
#1,287 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Needs: Attention :wave: type:bug
主要语言
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。