Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608594 - sys-apps/portage: Python 3.6: ResourceWarning: subprocess 1234 is still running
Summary: sys-apps/portage: Python 3.6: ResourceWarning: subprocess 1234 is still running
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 611328
  Show dependency tree
 
Reported: 2017-02-08 09:01 UTC by Zac Medico
Modified: 2017-05-20 18:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=855c8761f85323bbe570ae61e87c57dc8ea5ea0e

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:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=4375ccd4188467dbd15308baf23331668afe4691
Comment 3 Zac Medico gentoo-dev 2017-05-20 18:15:51 UTC
Fixed in portage-2.3.5.