Re: PyXML package - deprecate it?

2012-07-24 Thread Toshio Kuratomi
Just finished analyzing all of the packages that claim a PyXML dependency: https://fedoraproject.org/wiki/User:Toshio/Remove_PyXML#Dep_analysis There seem to be a hefty number of packages where we can remove the dependency (the Easy fixes section). I've opened bugs for those in case the maintai

Re: PyXML package - deprecate it?

2012-07-23 Thread Toshio Kuratomi
On Fri, Jul 20, 2012 at 4:28 PM, Toshio Kuratomi wrote: > > I can see several ways forward -- > > * Deprecate pyxml as you were thinking of doing > * Locally patch the python stdlib to not replace its implementation of > xml with pyxml's. I don't know if upstream python will take that as > python

Re: PyXML package - deprecate it?

2012-07-20 Thread Toshio Kuratomi
On Thu, Feb 23, 2012 at 9:09 AM, Toshio Kuratomi wrote: > On Thu, Feb 23, 2012 at 05:19:01PM +0100, Roman Rakus wrote: >> >> Currently I'm going through packages and using pylint on *.py files on >> %preped >> sources. And using --deprecated-modules option of pylint. I will post >> results, >> r

Re: PyXML package - deprecate it?

2012-03-23 Thread Marian Ganisin
On Tue, Feb 21, 2012 at 06:48:11PM +0100, Roman Rakus wrote: > Hi all, > looks like PyXML package is deprecated since python itself provides > xml mechanisms. > When you look deeper, > python's xml provides: > "dom", "parsers", "sax", "etree" > and PyXML provides: > 'dom', 'marshal', 'parsers', 'sa

Re: PyXML package - deprecate it?

2012-02-26 Thread Ian Weller
On Mon, Feb 27, 2012 at 01:03:32AM +0100, Matej Cepl wrote: > On 22.2.2012 11:21, Roman Rakus wrote: > >fedora-business-cards-0:0.2.4.3-2.fc15.noarch > > I wonder why this is on the list: if I am not mistaken, it doesn't > use anything else than xml.dom.minidom (in generate.py), which was > alread

Re: PyXML package - deprecate it?

2012-02-26 Thread Matej Cepl
On 22.2.2012 11:21, Roman Rakus wrote: fedora-business-cards-0:0.2.4.3-2.fc15.noarch I wonder why this is on the list: if I am not mistaken, it doesn't use anything else than xml.dom.minidom (in generate.py), which was already present in python 2.4 (the oldest Python currently living in Fedor

Re: PyXML package - deprecate it?

2012-02-24 Thread Stanislav Ochotnicky
Quoting Roman Rakus (2012-02-22 11:21:38) >On 02/22/2012 11:11 AM, Matej Cepl wrote: >> On 21.2.2012 18:48, Roman Rakus wrote: >>> So, PyXML duplicates dom, parsers and sax (and looks like python's is in >>> better shape). Is any package using marshall, schema or any other not in >>> python itself?

Re: PyXML package - deprecate it?

2012-02-23 Thread Toshio Kuratomi
On Thu, Feb 23, 2012 at 05:19:01PM +0100, Roman Rakus wrote: > > Look at stdlib xml - it tries to import _xmlplus. And it will replace stdlib > with nonstd. It's kind of "what?". I can try to report bug on it. > Ugh. Yeah -- so it looks like the code there assumes that python-2.7 xml libraries do

Re: PyXML package - deprecate it?

2012-02-23 Thread Matej Cepl
On 23.2.2012 16:54, Toshio Kuratomi wrote: It's not as simple as saying that a library provides something that has the same names as modules in the stdlib, you also have to figure out compatibility and whether removing it will cause any problems for software that Fedora ships. Completely agree

Re: PyXML package - deprecate it?

2012-02-23 Thread Roman Rakus
On 02/23/2012 04:54 PM, Toshio Kuratomi wrote: On Tue, Feb 21, 2012 at 06:48:11PM +0100, Roman Rakus wrote: Hi all, looks like PyXML package is deprecated since python itself provides xml mechanisms. When you look deeper, python's xml provides: "dom", "parsers", "sax", "etree" and PyXML provides

Re: PyXML package - deprecate it?

2012-02-23 Thread Toshio Kuratomi
On Tue, Feb 21, 2012 at 06:48:11PM +0100, Roman Rakus wrote: > Hi all, > looks like PyXML package is deprecated since python itself provides > xml mechanisms. > When you look deeper, > python's xml provides: > "dom", "parsers", "sax", "etree" > and PyXML provides: > 'dom', 'marshal', 'parsers', 'sa

Re: PyXML package - deprecate it?

2012-02-22 Thread Roman Rakus
On 02/22/2012 11:11 AM, Matej Cepl wrote: On 21.2.2012 18:48, Roman Rakus wrote: So, PyXML duplicates dom, parsers and sax (and looks like python's is in better shape). Is any package using marshall, schema or any other not in python itself? Deprecate PyXML or just remove duplicated parts? Wh

Re: PyXML package - deprecate it?

2012-02-22 Thread Matej Cepl
On 21.2.2012 18:48, Roman Rakus wrote: So, PyXML duplicates dom, parsers and sax (and looks like python's is in better shape). Is any package using marshall, schema or any other not in python itself? Deprecate PyXML or just remove duplicated parts? What packages require PyXML? Could they be re

PyXML package - deprecate it?

2012-02-21 Thread Roman Rakus
Hi all, looks like PyXML package is deprecated since python itself provides xml mechanisms. When you look deeper, python's xml provides: "dom", "parsers", "sax", "etree" and PyXML provides: 'dom', 'marshal', 'parsers', 'sax', 'schema', 'utils', 'xpath', 'xslt' So, PyXML duplicates dom, parsers