Hello. `emerge -1v =dev-python/mccabe-0.4.0' results in a build failure. This is most probably because 'pytest-runner' is listed in setup_requires in 0.4.0 (see [0]) and I don't have it installed. Thus setuptools tries to fetch it during installation and fails. build.log is attached below. You can also find a trace of a deadlock there because coredumps are forbidden on my machine. Please fix. [0]: https://github.com/PyCQA/mccabe/compare/0.3.1...master#diff-2eeaed663bd0d25b7e608891384b7298R36
Created attachment 425866 [details] emerge --info mccabe
Created attachment 425868 [details] build.log
FYI `emerge -1v =dev-python/mccabe-0.3.1' builds and installs fine.
Fixed. I thought it was only a test dep and didn't notice at build time.
Created attachment 425938 [details, diff] mccabe-0.4.0.patch (In reply to Patrick Lauer from comment #4) > Fixed. > > I thought it was only a test dep and didn't notice at build time. Fixed, but I believe it could be fixed better. pytest-runner is not needed at all. The only thing that is actually needed for tests is pytest and it's required only for tests, not the regular installation. Here's a patch that fixes test dependencies and testsuite itself as well as a couple of other minor problems.
I've also created a proper PR with the same set of changes. Build and runtime tests: https://github.com/gentoo/gentoo/pull/886#issuecomment-186405170 https://github.com/gentoo/gentoo/pull/886#issuecomment-186405287 https://github.com/gentoo/gentoo/pull/886#issuecomment-186405851