Red Hat Bugzilla – Bug 113313
Updating alchemist without updating python to 2.3 fails cups
Last modified: 2007-04-18 13:01:07 EDT
Description of problem:
Due to missing dependencies, it is possible to update alchemist from
older versions (e.g. the one delivered with FC test3) to newer
versions without updating python-2.2 to python-2.3. Yet its files,
now located in /usr/lib/python2.3/site-packages, are not found by
python-2.2. Most visible effect: The cups init script fails.
(Exporting this patch as PYTHONPATH or whatever sort of fixes this,
but with the warning that alchemist's API is newer.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora Core Test 3.
2. Update alchemist.
cups init script fails with missing pyalchemist.
This is a very generic python-2.2 vs -2.3 problem. I wonder why it
doesn't bug many other apps!? The other way around -- python-2.2
libraries in a python-2.3 environment -- seems to work fine,
otherwise 4Suite would've had to be rebuilt as well.
In this case, I would have recommended a "Requires: python >= 2.3"
for all packages which deposit libraries in /usr/lib/python2.3/.
Or is there another generic way to handle this?
But 'Requires: python >= 2.3' would be incorrect, since 2.4 (say)
would give the same failure.
This needs to be solved in the python package and is similar to the
Let's state it explicitly, since I can't find it anywhere else in
Python needs to provide 'python-abi = 2.3', and packages that provide
Python modules need to require that symbol.
As of Fedora Core 1, python does provide python-abi = 2.3
*** Bug 117501 has been marked as a duplicate of this bug. ***
I can't reproduce, since I don't have a system with that version
clash to fall back to anymore. The dependency I had requested seems
to be fulfilled, so I shall just close this, okay?