There is an internal Python dependency that is shown during usage of mw-render: mw-render -c http://fedoraproject.org/w/ -w docbook Some_wiki_page -o Some_wiki_page.xml Traceback (most recent call last): File "/usr/bin/mw-render", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2566, in <module> parse_requirements(__requires__), Environment() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: python-dateutil>=1.4.1 The current package for python-dateutil is 1.4: rpm -q python-dateutil python-dateutil-1.4-2.fc10.noarch ... and no update is evident in koji or bodhi. Asking the python-dateutil packager, it sounds as if this package isn't exposing the dependency and ... some other stuff: < spoleeba> quaid, python-mwlib doesnt expose the dep < spoleeba> quaid, its at least a packaging bug < spoleeba> quaid, there's probably another bug as well < spoleeba> quaid, i dont understand the error < spoleeba> quaid, repoquery --whatrequires --alldeps python-dateutil and python-mwlib doesnt come back < spoleeba> quaid, we'll need to talk to the python-mwlib maintainer < spoleeba> quaid, that dateutil package is patched to make use of our systemwide tzdata..instead of holding obsolete data < spoleeba> quaid, i do not know if thats the problem < spoleeba> quaid, reading the traceback... i dont understand why it failed < spoleeba> quaid, shoot me the bug ticket and ill cc < spoleeba> quaid, id have to understnad where its reading the version string from
okay so here's the deal python-dateutil is at version 1.4 in Fedora10 python-mwlib doesn't expose a package level requirement for python-dateutil at all. Inside python-mwlib there is a versioned version check. which requires 1.4.1 I can look into getting python-dateutil updated to meet that version check, if you get a versioned dep into the packaging of python-mwlib and promise to keep it in sync with the hardcoded version dep. -jef
I installed the updating python-dateutil package from koji, which made that complaint go a way, and ran in to another dependency problem with odfpy: Traceback (most recent call last): File "/usr/bin/mw-render", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2566, in <module> parse_requirements(__requires__), Environment() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: odfpy==0.7.0
Right, see the egg info to see the real requirements. Are we going to need an odfpy07 package? odfpy-0.8 is not supported by mwlib: http://code.pediapress.com/wiki/wiki/mwlib-install
python-dateutil-1.4.1-2.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/python-dateutil-1.4.1-2.fc10
ping! Do i need to release the python-dateutil from updates-testing into stable? It hasn't seen any karma love at all since being put into testing. What's going on with python-mwlib's dep situation? -jef
(In reply to comment #5) > ping! > > Do i need to release the python-dateutil from updates-testing into stable? > It hasn't seen any karma love at all since being put into testing. > > What's going on with python-mwlib's dep situation? > I've been neglecting this bug because I haven't had time :( Go ahead and throw it in stable. FWIW I think PWF is right in that we need a odfpy07 package. I'll get on that.
python-dateutil-1.4.1-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
danielsmw is awesome and has created the odfpy07 package. He'll submit it for review soon :)
Created attachment 337710 [details] Port to odfpy-0.8
I just attached a patch to port mwlib/odfwriter.py to odfpy-0.8. With this applied, the regression tests in tests/test_odfwriter.py pass. I looked at the source code when I did this and it seems correct but getting upstream to look it over is always a good idea.
Upstream contacted. http://code.pediapress.com/wiki/ticket/567
Created attachment 340452 [details] Patch to use odfpy09 to fix a traceback found by upstream. Here's a better patch. I don't have the data to test that mw-render works with this patch, but it should fix the current problem.
Has this been fixed?
There are several other missing dependencies that cause 'mw-render --list-writers' to fail to run. On Fedora 11, I installed the following two packages from rawhide as RPMs (yum install would have pulled in way too many rawhide updates): python-mwlib-0.11.2-2.20090522hg2956.fc12 odfpy-0.9-1.fc12 These other packages and their dependencies are needed to get 'mw-render' to run: python-setuptools python-dateutil python-twisted LabPlot blahtexml The DocBook backend also requires this package: python-lxml
This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Pretty sure things are still broken in F12, moving the release appropriately.
Created attachment 379865 [details] Spec file with updated Requires Attaching an updated spec file. Built in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=1886457 Otherwise untested.
Created attachment 383112 [details] Patch to make python-mwlib work with python-twisted The previous patches do not fix python-mwlib for F12. This patch does resolve the issues I saw in my testing which concerned the version check for twisted. The problem is that Fedora packages subpackages of twisted instead of a monolothic install. This means that version checks for twisted have to reference the subpackages. The attached patch changes the check for "twisted" to a check for "twisted-core"/
python-mwlib-0.11.2-4.20090522hg2956.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/python-mwlib-0.11.2-4.20090522hg2956.fc12
*** Bug 568856 has been marked as a duplicate of this bug. ***
python-mwlib-0.11.2-4.20090522hg2956.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update python-mwlib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-3337
I made a stupid mistake and failed to include the actual dependency. Rebuilding for devel back to F-12 right now.
python-mwlib-0.11.2-5.20090522hg2956.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/python-mwlib-0.11.2-5.20090522hg2956.fc12
python-mwlib-0.11.2-6.20090522hg2956.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/python-mwlib-0.11.2-6.20090522hg2956.fc12
python-mwlib-0.11.2-6.20090522hg2956.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update python-mwlib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-mwlib-0.11.2-6.20090522hg2956.fc12
python-mwlib-0.11.2-6.20090522hg2956.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.