Skip to content

Fix including test data #1113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025
Merged

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Jun 3, 2025

Readd parts of MANIFEST.in responsible for including the test data in the source distribution. Without that, setuptools includes only .py files from the test tree, leading to test failures.

Fixes #1112

Copy link
Member

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM but you need to sign the DCO before I can merge.

Readd parts of `MANIFEST.in` responsible for including the test data
in the source distribution.  Without that, setuptools includes only
`.py` files from the test tree, leading to test failures.

Fixes prometheus#1112

Signed-off-by: Michał Górny <mgorny@gentoo.org>
@mgorny mgorny force-pushed the missing-test-data branch from 53447f3 to 02ecd1f Compare June 12, 2025 18:04
@mgorny
Copy link
Contributor Author

mgorny commented Jun 12, 2025

Sorry about that. Force-pushed now.

Copy link
Member

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, thanks again!

@csmarchbanks csmarchbanks merged commit 6f19d31 into prometheus:master Jun 12, 2025
11 checks passed
@csmarchbanks
Copy link
Member

One other question, do you need a patch release for this immediately, or are you ok waiting until the next minor release since it is only tests?

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.

Missing test data in source distribution
2 participants