Skip to content

Fix including test data#1113

Merged
csmarchbanks merged 1 commit into
prometheus:masterfrom
mgorny:missing-test-data
Jun 12, 2025
Merged

Fix including test data#1113
csmarchbanks merged 1 commit into
prometheus:masterfrom
mgorny:missing-test-data

Conversation

@mgorny

@mgorny mgorny commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

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

@csmarchbanks csmarchbanks left a comment

Copy link
Copy Markdown
Member

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

mgorny commented Jun 12, 2025

Copy link
Copy Markdown
Contributor Author

Sorry about that. Force-pushed now.

@csmarchbanks csmarchbanks left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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