[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-26 Thread bru
bru added the comment: Closed the issue since it's already been fixed. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
bru added the comment: I realize that I was not working against the tip... The patch I offered does not apply since revision 88068, which fixes the test by skipping it when "ifconfig" isn't available. Therefore this issue is invalid. However I think that "test_find_mac" should always should no

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How the test fail? Could you provide test output? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread STINNER Victor
STINNER Victor added the comment: (Only Python 2.7, 3.4 and 3.5 accepted bug fixes; other versions only accept security fixes.) -- versions: -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
bru added the comment: According to http://en.wikipedia.org/wiki/Iproute2 "ip" is Linux-only. I opened an issue with a patch that brings "ip link list" to "uuid.getnode()": http://bugs.python.org/issue22902 -- ___ Python tracker

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to switch to "ip link". The ip command became the new standard on Linux. I don't know if the ip command is available on other operating systems. -- ___ Python tracker

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
New submission from bru: `test.test_uuid.test_find_mac` relies on `ifconfig` binary presence, which is on its way out. This makes the test fail on more and more Linux installations. Using `env` (for example) is more reliable. `ip` could also be used since it's the replacement to `ifconfig`, but