Running Cassandra on Fedora 17 Linux distro and tried to update it (using yum) from apache-cassandra11-1.1.2-1 to apache-cassandra11-1.1.4-1 but I get a dependency error that says it needs Python 2.6 where I have python 2.7.3 installed. This version of Python has been working fine with the older version of cassandra why is the dependency specific to an older version of Python?
Cassandra RPM depends on an old Python version
(6 posts) (3 voices)-
Posted 8 months ago #
-
I'm afraid the maintenance of the RPM packages has been a little haphazard in recent months. Due to packaging changes being introduced in various source control branches, the actual history went like this: 1.1.0 was packaged with no python dependency, 1.1.1 required python 2.6, 1.1.2 removed the python dependency entirely, and then 1.1.4 reintroduced it, again on 2.6, i.e. not for any planned reason but because that's what 1.1.1 specified.
Normally I would consider this grounds for releasing a 1.1.4-2 package, but the release vote for 1.1.5 has already been started, so that should be out very soon, and this issue will be fixed in those packages. If you have compelling reasons to use 1.1.4 in the meantime, you should be able to satisfy the dependency by installing python 2.6 -- admittedly a cheesy workaround, but a short-term one at worst.
Posted 8 months ago # -
Thanks for the info... I'll wait for 1.1.5! No compelling reason to upgrade right now!
Posted 8 months ago # -
I have the same issue still with current Community release, 1.1.6. This is blocking my use of this release on Fedora 17. Is there a workaround? If not, when will this packaging issue be resolved (the post above said it would be fixed in 1.1.5)?
Posted 6 months ago # -
I removed the python dependency entirely for 1.1.5 and later:
$ rpm -qp --requires apache-cassandra11-1.1.6-1.noarch.rpm
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
config(apache-cassandra11) = 1.1.6-1
group(cassandra)
java >= 1.6.0
jpackage-utils
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
shadow-utils
user(cassandra)
so I don't know what could be causing this. I'll look for a suitably late-model distribution to test the package on.
Posted 6 months ago # -
Found it: the apache-cassandra11 rpm does indeed not depend on python2.6 -- but it depends on python26-cql (the driver) which does. The various ways the cassandra/DataStax Community packages had been trying to provide this driver had gotten pretty crufty, so I straightened them out, and incidentally solved this problem. The 1.1.7 packages, which are expected out this week, will finally work just fine with 2.7.
Posted 5 months ago #
