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

Bug 608594

Summary: sys-apps/portage: Python 3.6: ResourceWarning: subprocess 1234 is still running
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: CoreAssignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 611328    

Description Zac Medico gentoo-dev 2017-02-08 09:01:31 UTC
With Python 3.6, the PopenProcess class triggers warnings like this:

    ResourceWarning: subprocess 1234 is still running
Comment 1 Zac Medico gentoo-dev 2017-02-08 09:43:56 UTC
The PopenProcess class is fixed in the master branch:

We've still got some similar ResourceWarning messages triggered by SimpleRepomanTestCase, but that's a separate issue (and debugging it requires lxml built for Python 3.6).
Comment 2 Zac Medico gentoo-dev 2017-02-08 18:17:51 UTC
There's a fix for repoman's Status.check method here:
Comment 3 Zac Medico gentoo-dev 2017-05-20 18:15:51 UTC
Fixed in portage-2.3.5.