Skip to content

fix: remove README.md from wheel shared-data#4052

Merged
whysosaket merged 1 commit intomem0ai:mainfrom
l1anch1:fix/remove-readme-from-shared-data
Mar 28, 2026
Merged

fix: remove README.md from wheel shared-data#4052
whysosaket merged 1 commit intomem0ai:mainfrom
l1anch1:fix/remove-readme-from-shared-data

Conversation

@l1anch1
Copy link
Copy Markdown
Contributor

@l1anch1 l1anch1 commented Feb 15, 2026

Description

Remove README.md from [tool.hatch.build.targets.wheel.shared-data]. This config causes README.md to be installed into users' Python environment at the top level (sys.prefix). The README is already included in .dist-info/METADATA via the readme field in [project], so distributing it as shared data is unnecessary.

Fixes #4024

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Test Script (please provide)

python -m build
unzip -l dist/mem0ai-*.whl | grep -i readme

Confirmed README.md no longer appears under *.data/data/ and is still present in .dist-info/METADATA.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings

The shared-data config causes README.md to be installed into users'
Python environment at the top level (sys.prefix). This is unnecessary
since the README content is already embedded in .dist-info/METADATA
via the `readme` field in [project].
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 15, 2026

CLA assistant check
All committers have signed the CLA.

@whysosaket whysosaket merged commit e280665 into mem0ai:main Mar 28, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wheel includes extraneous README.md, polluting user environment

5 participants