FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix including test data by mgorny · Pull Request #1113 · prometheus/client_python · GitHub

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 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 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 force-pushed the missing-test-data branch from 53447f3 to 02ecd1f Compare June 12, 2025 18:04

mgorny commented Jun 12, 2025

Copy link
Copy Markdown
Contributor Author

Sorry about that. Force-pushed now.

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No worries, thanks again!

csmarchbanks merged commit 6f19d31 into prometheus:master Jun 12, 2025

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?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL