Skip to content

Fix wrongly installing testing directory#682

Merged
nicholasserra merged 1 commit intotrentm:masterfrom
mgorny:fix-testing-install
May 3, 2026
Merged

Fix wrongly installing testing directory#682
nicholasserra merged 1 commit intotrentm:masterfrom
mgorny:fix-testing-install

Conversation

@mgorny
Copy link
Copy Markdown
Contributor

@mgorny mgorny commented Mar 3, 2026

The fix for #655 introduced a regression: the package now installs a /usr/testing directory. Fix the issue correctly by adding the file to the source distribution via MANIFEST.in.

The fix for trentm#655 introduced a regression: the package now installs a
`/usr/testing` directory. Fix the issue correctly by adding the file to
the source distribution via `MANIFEST.in`.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
@nicholasserra
Copy link
Copy Markdown
Collaborator

Thanks! I'll do some testing against test pypi site. Is this just an annoyance right now or is it actually breaking something?

@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Mar 5, 2026

Annoyance. I've already patched the Gentoo package to remove the directory.

@nicholasserra
Copy link
Copy Markdown
Collaborator

Doing some testing with this. Looks to indeed fix the issue and also include the tox.ini in the resulting tar.gz on pypi, but does not seem to be available when pip installing.

Paging @mtelka this was originally your ask to have this included, where/how are you trying to use the tox.ini assuming its added to the uploaded package?

@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Mar 31, 2026

The OP mentioned "sdist" and "downstream testing", so it's going to be used after unpacking the sdist.

@mtelka
Copy link
Copy Markdown

mtelka commented Mar 31, 2026

The OP mentioned "sdist" and "downstream testing", so it's going to be used after unpacking the sdist.

Yes, exactly. The tox.ini is not needed in wheel, only in sdist.

@nicholasserra
Copy link
Copy Markdown
Collaborator

Sorry for delay. Did some more checks and I think this PR will indeed fix it.

@nicholasserra nicholasserra merged commit 9050ae0 into trentm:master May 3, 2026
15 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.

3 participants