https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/flake8-3.9.2 fails tests. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 716169 [details] build.log build log and emerge --info
Fixed by not failing on warnings when we run pytest: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae1b4b192f9885370f9e64f55f25ce64d542a88 commit 7ae1b4b192f9885370f9e64f55f25ce64d542a88 Author: Michał Górny <mgorny@gentoo.org> Date: Sat Jun 19 11:21:59 2021 +0200 python-utils-r1.eclass: Pass -Wdefault to epytest to avoid -Werror Make pytest pass -Wdefault in order to override upstream default warning options that commonly include -Werror. This has often caused tests to start failing due to new deprecation warnings introduced in dependencies, or block new implementations due to harmless deprecation warnings. A side effect of this is that we are overriding all warning options used by upstream. This could e.g. cause more warnings to be reported (when upstream ignores some of them). This might also break badly written tests (e.g. when they rely on exceptions to catch warnings). Signed-off-by: Michał Górny <mgorny@gentoo.org>