Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282729 - app-emulation/xen-tools - DeprecationWarnings with python 2.6
Summary: app-emulation/xen-tools - DeprecationWarnings with python 2.6
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 18:44 UTC by Marcel Pennewiß
Modified: 2011-03-26 11:41 UTC (History)
1 user (show)

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


Attachments
xen-tools-3.3.1.ebuild.patch (xen-tools-3.3.1.ebuild.patch,410 bytes, patch)
2009-08-25 18:48 UTC, Marcel Pennewiß
Details | Diff
/tmp/xen-tools/xen-tools-3.4.0-r1.ebuild.patch (xen-tools-3.4.0-r1.ebuild.patch,382 bytes, patch)
2009-08-25 18:48 UTC, Marcel Pennewiß
Details | Diff
xen-tools-3.3.1-python.patch (xen-tools-3.3.1-python.patch,2.55 KB, patch)
2009-08-25 18:49 UTC, Marcel Pennewiß
Details | Diff
xen-tools-3.4.0-python.patch (xen-tools-3.4.0-python.patch,2.67 KB, patch)
2009-08-25 18:49 UTC, Marcel Pennewiß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Pennewiß 2009-08-25 18:44:23 UTC
each xm command generates warnings caused by new versions of sha and set classes in python 2.6.

Reproducible: Always

Steps to Reproduce:
1. install python 2.6 or update to this version (use python-updater)
2. install xen-tools 3.3.1/3.4.0
3. use xm utility
Comment 1 Marcel Pennewiß 2009-08-25 18:48:07 UTC
Created attachment 202264 [details, diff]
xen-tools-3.3.1.ebuild.patch

add patch to ebuild
Comment 2 Marcel Pennewiß 2009-08-25 18:48:22 UTC
Created attachment 202266 [details, diff]
/tmp/xen-tools/xen-tools-3.4.0-r1.ebuild.patch

add patch to ebuild
Comment 3 Patrick Lauer gentoo-dev 2009-08-25 18:48:57 UTC
Why aren't you using 3.4.1 ?
Comment 4 Marcel Pennewiß 2009-08-25 18:49:00 UTC
Created attachment 202267 [details, diff]
xen-tools-3.3.1-python.patch
Comment 5 Marcel Pennewiß 2009-08-25 18:49:15 UTC
Created attachment 202268 [details, diff]
xen-tools-3.4.0-python.patch
Comment 6 Marcel Pennewiß 2009-08-25 18:50:25 UTC
see also http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00477.html
patch seems to be already included in xen-tools-3.4.1
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-25 21:14:58 UTC
(In reply to comment #6)
> patch seems to be already included in xen-tools-3.4.1

So just use 3.4.1.
Comment 8 Marcel Pennewiß 2009-08-25 21:48:46 UTC
(In reply to comment #7)
> So just use 3.4.1.

this is not an option IMHO. 

xen-3.4 did not properly work with xen-sources-2.6.21. there are several systems which have problems with newer xen-kernels. as far as xen-tools-3.3/3.4.0 are in portage they should also support newer python versions or the dependencies needs to be updated.
Comment 9 Günther Hutzl 2010-07-11 15:23:57 UTC
Hello!

I see these deprecation messages when emerging app-emulation/xen-tools-4.0.0:

 * 
 * Deprecation Warning: Not passing of paths to python_mod_optimize() is deprecated and will be
 * disallowed on 2010-09-01. Call python_mod_optimize() with paths to Python modules.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 * 

Comment 10 Alexey Shvetsov archtester gentoo-dev 2011-03-26 11:41:02 UTC
Xen 4.1 in tree. Please test with it and reopen if it doesnt work