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?
In an effort to consolidate free help offered for our products we have decided to move these forums to a more widely used forum. Please use one of the following queries (or any combination):
- Cassandra: tag search or plain text search
- DataStax Enterprise: tag search or plain text search
- DataStax OpsCenter: tag search or plain text search
Cassandra RPM depends on an old Python version(6 posts) (3 voices)
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.
Thanks for the info... I'll wait for 1.1.5! No compelling reason to upgrade right now!
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)?
I removed the python dependency entirely for 1.1.5 and later:
$ rpm -qp --requires apache-cassandra11-1.1.6-1.noarch.rpm
config(apache-cassandra11) = 1.1.6-1
java >= 1.6.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
so I don't know what could be causing this. I'll look for a suitably late-model distribution to test the package on.
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 1 year ago #