Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847235 - dev-python/typeguard-2.13.3-r1 installs more files with FEATURES=test
Summary: dev-python/typeguard-2.13.3-r1 installs more files with FEATURES=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-24 10:05 UTC by Agostino Sarubbo
Modified: 2022-06-07 06:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-24 10:05:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/typeguard-2.13.3-r1 installs more files with FEATURES=test.
Discovered on: amd64 (internal ref: ci)

NOTE:
This is an experimental tinderbox feature.
To reproduce this issue:
1) Install the package with FEATURES=test
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_test )
3) Install the package without FEATURES=test
4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_notest )
5) See the diff between the two files ( diff -ru /tmp/qlist_test /tmp/qlist_notest )

On this machine:
- the installed files with FEATURES=test are 64
- the installed files without FEATURES=test are 55
Comment 1 Larry the Git Cow gentoo-dev 2022-06-07 06:54:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=627a63a27f3b1a37ce3f2800c1d70ea2c9ecd882

commit 627a63a27f3b1a37ce3f2800c1d70ea2c9ecd882
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-05-31 08:15:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-07 06:53:44 +0000

    python-utils-r1.eclass: Strip stray *-pytest-*.pyc files in epytest
    
    The test suites of pytest plugins cause additional *-pytest-*.pyc files
    to be created.  Remove them in order to prevent them from being
    installed alongside the package.
    
    Closes: https://bugs.gentoo.org/847235
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/python-utils-r1.eclass | 5 +++++
 1 file changed, 5 insertions(+)