Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367751 - dev-python/soappy: Prepare to use xml.use_pyxml()
Summary: dev-python/soappy: Prepare to use xml.use_pyxml()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xml.use_pyxml
  Show dependency tree
 
Reported: 2011-05-17 17:17 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-12-22 23:19 UTC (History)
0 users

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


Attachments
ebuild patch files/soappy-0.12.5-xml.patch combo (soappy.patch,1.30 KB, patch)
2011-12-02 16:26 UTC, Ian Delaney (RETIRED)
Details | Diff

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