Upstream, this software supports Python 3. Please provide a Python 3 package for Fedora. According to the Python packaging guidelines [0], software must be packaged for Python 3 if upstream supports it. The guidelines give detailed information on how to do this, and even provide an example spec file [1]. The current best practice is to provide subpackages for the two Python versions (called "Common SRPM" in the guidelines). Alternatively, if nothing depends on your Python2 package, you can just switch to Python 3 entirely. If anything is unclear, or if you need any kind of assistance with the porting, you can ask on IRC (#fedora-python on Freenode), reply here, or contact me directly as I am personally interested in this package. [0] https://fedoraproject.org/wiki/Packaging:Python [1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
+1, some of sigil's plugins require this, please provide a python3 version.
ok. I took a look at this today... For some reason python3.5 doesn't like this package and spews a bunch of syntax errors: https://koji.fedoraproject.org/koji/taskinfo?taskID=13153326 Any idea what I might have done wrong? or is this an upstream bug? Upstream is pretty dead, so it could well be a change in recent python 3.x's.
Those syntax errors would be there in all 3.x versions; are you sure that upstream truly supports Python 3? Maybe a separate pass of 2to3 is required (but not automatically done in setup.py.)
Well, upstream website says: "cssutils is developed on standard Python but works under Python 2.x (from 2.5, 2.7.6 tested), 3.x (v3.3.3 tested) and Jython (from 2.5.1)."
It does seem like the package assumes 2to3, but the build log does not really seem to show any evidence of it being run. You should probably investigate why that is the case; I'm not sure where the spec is to check it. Also, there appears to be a typo in the spec, the build log shows python-cssutls all over the place and not python-cssutils.
ok. I got it all figured out. Built in rawhide, if all looks well in the next few days will do a f24 build too.
Ah, what the heck, lets just push it to 24 too and fix any issues as they come up.
Thank you for your effort!