Skip to content

Fix source distribution package (sdist)#47649

Merged
dargilco merged 3 commits into
feature/azure-ai-projects/2.3.0from
dargilco/update-package-manifest
Jun 24, 2026
Merged

Fix source distribution package (sdist)#47649
dargilco merged 3 commits into
feature/azure-ai-projects/2.3.0from
dargilco/update-package-manifest

Conversation

@dargilco

@dargilco dargilco commented Jun 24, 2026

Copy link
Copy Markdown
Member

There are two packages: the one that gets installed with "pip install" (the .whl file). This only includes the python files. The other package is the source distribution (*.tar.gz), which includes python files, samples, tests and any relevant docs (license, change log, readme). Both can be download from https://pypi.org/project/azure-ai-projects/#files .

You get the first one by running: python -m build --wheel
You get the second one by running: python -m build --sdist

I noticed that we include some *.md files in this source distribution package that should not be there. I also noticed that we did not include the additional files needed to run some of the samples and tests (samples\assets folder was missing and tests\test_data folder was missing)

In this PR I moved the temporary report file evaluation-typespec-issues.md into the docs folder, so it won't be picked up in the source distribution package.

I then edited MANIFSET.in to make sure everything in the tests and samples folder gets picked up. That file is used to configure what's included in the software distribution package. After the change, the *.tar.gz package include these files/folders (and I see tests\test_data and samples\asserts folders there as well):

image

@dargilco dargilco merged commit ec49c48 into feature/azure-ai-projects/2.3.0 Jun 24, 2026
20 checks passed
@dargilco dargilco deleted the dargilco/update-package-manifest branch June 24, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants