microsoftgraph / microsoftgraph/msgraph-sdk-python

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

Open Beginner friendly
#1,287 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Attention :wave: type:bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.