Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911653 - dev-python/pymongo: pulls in mongodb by default
Summary: dev-python/pymongo: pulls in mongodb by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 10:49 UTC by Tomáš Mózes
Modified: 2023-08-03 12:38 UTC (History)
2 users (show)

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 Tomáš Mózes 2023-08-03 10:49:42 UTC
I'm running mongodb in a docker container and using pymongo for monitoring only. The last version has USE=+test-full hence brings in mongodb. I don't think most users really want to run tests on mongodb, it takes a lot of time. I know it's useful for testing/stabilization, but I guess it should be optional.

Please consider changing
IUSE="+test-full"
->
IUSE="test-full"

Thanks!
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-08-03 11:03:38 UTC
I'm sorry about that.  I've forgot to cover that in `test?`.
Comment 2 Larry the Git Cow gentoo-dev 2023-08-03 11:05:33 UTC
The bug has been closed via the following commit(s):

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

commit aae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-08-03 11:04:12 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-08-03 11:05:06 +0000

    dev-python/pymongo: Pull test-full deps only with USE=test
    
    Closes: https://bugs.gentoo.org/911653
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pymongo/pymongo-4.4.1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 3 Tomáš Mózes 2023-08-03 12:38:06 UTC
Thanks Michał