Summary: | dev-python/requests-2.28.1: does test-rust flag requires test flag? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Kurakin <kuraga333> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kuraga333 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Kurakin
2022-10-16 21:52:12 UTC
test-rust is a hack to allow us to control Rust test dependencies so we can mask it on various arches. Enabling it/disabling it does not control whether tests are run. so no, it doesn't require the test use flag, unless you mean "to run tests", in which case you need FEATURES=test anyway. Should it be turned off by default, shouldn't it? (In reply to Alexander Kurakin from comment #2) > Should it be turned off by default, shouldn't it? No, it's forced-on for arches which have Rust support. It does nothing unless tests are enabled (and USE=test). If it were turned off by default, it would make running tests harder, as "FEATURES=test" would have to magically turn on USE=test-rust too. There is no downside to it being forced on. Thanks! |