Due to packaging changes, Genshi no longer works with TurboGears
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
genshi (Debian) |
Fix Released
|
Unknown
|
|||
genshi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Hardy, the packaging for Genshi gratuitously removes support for setuptools, which is required for Genshi to work as a plugin for TurboGears.
In the debian package for 0.4.4-2, the following changelog entry appears:
* Drop useless dependency on python-setuptools, use distutils instead.
+ Add debian/
python-setuptools is not a "useless" dependency. It supplies the entry_points mechanism which enables Genshi to work as a plugin for TurboGears, as well as other frameworks that support the python.
In fact, the patch itself removes the entry_points information from the setup script.
Please drop the patch from the Ubuntu (and Debian?) packaging for Genshi. That will restore this important functionality.
Changed in genshi: | |
status: | Unknown → Fix Committed |
Changed in genshi: | |
status: | Fix Committed → Fix Released |
TEST CASE:
~$ sudo apt-get install python-genshi python-turbogears doc/python- genshi/ examples/ turbogears genshitest genshitest. py
~$ cp -R /usr/share/
~$ cd genshitest/
~/genshitest$ ./start-
Then use a web browser to visit the URL:
http:// localhost: 8080/
The bug results in a traceback and the following error message being
displayed in the browser:
KeyError: 'Template engine genshi is not installed'
After the bug is fixed, a sample page will be displayed, including the
text:
Using Genshi in TurboGears