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

Bug 367751

Summary: dev-python/soappy: Prepare to use xml.use_pyxml()
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 367729    
Attachments: ebuild patch files/soappy-0.12.5-xml.patch combo

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-17 17:17:29 UTC
This package specifies dependency on dev-python/pyxml.

Please test this package with dev-lang/python-2.7.1-r2:2.7 or >=dev-lang/python-2.7.2_pre20110515:2.7, which require explicit calling of xml.use_pyxml() before using PyXML.

If this package actually needs PyXML, then modify all modules/scripts of this package, which import xml module. The following code should be added before first import of anything from xml module:

import xml
if hasattr(xml, "use_pyxml"):
    xml.use_pyxml()

This code works with previous versions of Python, so no changes in dependencies are needed.
Comment 1 Rafał Mużyło 2011-05-17 18:44:07 UTC
I'd say this is a dupe of my bug 299199, but see the note there.
Also, it seems there are a few fixes in cvs, but no release for the last 6 years.

Some of the latest mails on its list seem to confirm soappy being dead in favor of suds.

Unfortunately, soappy is not  leaf, there's still a couple packages depending on it.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2011-09-07 19:51:52 UTC
Fixed in Progress Overlay on 2011-07-07. (Dependency on dev-python/pyxml deleted.)
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-12-02 16:26:42 UTC
Created attachment 294529 [details, diff]
ebuild patch files/soappy-0.12.5-xml.patch combo

patch has 
1. ebuild patch
2. files/soappy-0.12.5-xml.patch
Do some testing  soon
Comment 4 Rafał Mużyło 2011-12-02 22:20:40 UTC
(In reply to comment #3)
> Created attachment 294529 [details, diff] [details, diff]
> ebuild patch files/soappy-0.12.5-xml.patch combo
> 
> patch has 
> 1. ebuild patch
> 2. files/soappy-0.12.5-xml.patch
> Do some testing  soon

That patch is pretty much broken - just what is it supposed to fix ?

As I said in bug 299199 and as comment 2 seems to confirm, dev-python/pyxml dependency is redundant to simply dev-lang/python[xml].
Comment 5 Mike Gilbert gentoo-dev 2011-12-22 23:19:58 UTC
  22 Dec 2011; Mike Gilbert <floppym@gentoo.org> soappy-0.12.5.ebuild:
  Delete dependency on dev-python/pyxml (bug #367751). Clean ebuild. Backport
  fixes from Progress Overlay. Patch by Arfrever.