microsoftgraph / microsoftgraph/msgraph-sdk-python
kiota-dom-export.txt is large and included in the released package
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 630
- Forks
- 96
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 3
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how lib/python3.13/site-packages/msgraph/generated/kiota-dom-export.txt enters the release package, beginning with the package and distribution configuration. Build the release artifact and verify that kiota-dom-export.txt is absent while the SDK remains usable and the package is reduced by about 30MB.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- release
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100