Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284444 - app-portage/mirrorselect-1.2 popen2 DeprecationWarning
Summary: app-portage/mirrorselect-1.2 popen2 DeprecationWarning
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 09:14 UTC by Richard Scott
Modified: 2009-09-11 12:14 UTC (History)
1 user (show)

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 Richard Scott 2009-09-10 09:14:15 UTC
Hi,

When running mirrorselect I get this error:

$ mirrorselect -s2 -D
#/usr/sbin/mirrorselect:10: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import os, time, popen2, re, shutil, signal
* Downloading a list of mirrors... Got 249 mirrors.
* Stripping hosts that only support ipv6... Removed 8 of 249
* Downloading 100k files from each mirror... [203 of 203]

* Modifying make.conf with new mirrors...
        Reading make.conf
        Moving to /etc/make.conf.backup
        Writing new make.conf
* Done.
$

Reproducible: Always
Comment 1 Bartosz Szreder 2009-09-10 14:05:28 UTC
Test newer versions and if it works, file a bug for stabilization request (probably won't go for 2.0.0, try with 1.4.1 or 1.4.2). If it won't work, I'll try to make a patch replacing popen2 with subprocess.
Comment 2 Richard Scott 2009-09-10 15:32:28 UTC
v1.4.1 works ok :-)
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2009-09-11 12:14:31 UTC
bug 284590