Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671480 (no-tox-dep)

Summary: [TRACKER] packages wrongly depending on dev-python/tox
Product: Gentoo Linux Reporter: Virgil Dupras (RETIRED) <vdupras>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 671482, 671484, 672746, 685012    
Bug Blocks: 682392    

Description Virgil Dupras (RETIRED) gentoo-dev 2018-11-19 01:36:25 UTC
Although many python packages use tox for testing, we shouldn't use tox in the context of Gentoo testing[1] (and by the way, we shouldn't run coverage or flake8 either!).

This tracks packages wrongly depending on dev-python/tox for testing.

If your package depends on tox but don't ever call "tox" in the ebuild, then you can probably just remove the dependency.

If it calls tox (sometimes wrapped in a Makefile), then you should look in upstream's "tox.ini" file and run a command similar to the command described in there, and then remove dependency on tox.

[1]: https://wiki.gentoo.org/wiki/Project:Python/Tests#Do_not_ever_use_tox.21
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-25 04:07:02 UTC
Dead tracker?