Bug 1348231

Summary: update python-cassandra-driver
Product: [Fedora] Fedora Reporter: Tomas Repik <trepik>
Component: python-cassandra-driverAssignee: Lumír Balhar <lbalhar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: filip, lbalhar, lkundrak, pronix.service
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-cassandra-driver-3.6.0-1.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-08 20:22:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1285816, 1311228, 1312032    
Attachments:
Description Flags
update version of driver and add python3 subpackage none

Description Tomas Repik 2016-06-20 13:56:22 UTC
Latest upstream release: 3.4.1
Current version/release in Fedora Rawhide: 1.1.1-8.fc24
URL: https://github.com/datastax/python-driver

There have been plenty of new releases so far. The update is needed for including Cassandra into Fedora. The cqlsh (command line client) is in writen python and requires at least version 2.0.0 of python driver.

When I try to run cqlsh with the current python-driver in fedora it shouts:

from cassandra.auth import PlainTextAuthProvider
ImportError: No module named auth

Comment 1 Lumír Balhar 2016-06-21 08:27:28 UTC
Dear Lubomir.

Please let me know if you need some help with package actualization to the newest upstream release.

Have a nice day.

Comment 2 Lumír Balhar 2016-06-22 12:30:50 UTC
I am currently working on new package and I've found that unit tests have unresolvable dependency mock<=1.0.1 because in f24 is version 1.3.0 and in rawhide is 2.0.0.

I've created issue in upstream JIRA portal: https://datastax-oss.atlassian.net/browse/PYTHON-591

For now, I will try to create package without tests.

Comment 3 Lumír Balhar 2016-06-28 09:47:52 UTC
Hello, Lubomir.

I am cooperating with upstream developers on testing tests with new mock versions. New information can be found in JIRA portal in issue mentioned above.

I've also created new specfile with python2/3 subpackages and separated subpackage for documentation.
Specfile: https://lbalhar.fedorapeople.org/python-cassandra-driver.spec
Patch for current one: https://lbalhar.fedorapeople.org/0001-New-upstream-and-Python2-3-subpackages.patch
Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=14684965

This prepared package has disabled tests. What do you think about it? Is possible to update current package with new upstream version, python2/3 subpackages and separated doc subpackage and enable tests when it will be prepared for new mock?

Thank you and have a nice day.
Lumir

Comment 4 Lumír Balhar 2016-07-08 09:45:47 UTC
Issue in upstream JIRA is resolved. Now I have to wait for new release on Github and then I will test package with the newest version.

Comment 5 dima 2016-07-19 08:42:58 UTC
Created attachment 1181502 [details]
update version of driver and add python3 subpackage

hello 
it is patch for update version of driver and add python3 subpackage

Comment 6 Fedora Admin XMLRPC Client 2016-07-20 10:54:00 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2016-07-20 12:07:05 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Lumír Balhar 2016-07-22 13:09:07 UTC
Hello.

First, thanks for helping me.

I finally have new RPM based on the latest commit in the upstream repo and everything looks good to me even tests too.

Could anybody please test this new RPM before I push it to SCM? I tested it in mock (build, install, import) and I builded it in Koji.

It can be downloaded from Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=14979499

Thank you and have a nice day and weekend.
Lumir

Comment 9 Lumír Balhar 2016-07-22 13:25:00 UTC
Ans also new specfile, if anybody wants to take a look: https://lbalhar.fedorapeople.org/python-cassandra-driver.spec

Comment 10 Jan Kurik 2016-07-26 04:32:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 11 Tomas Repik 2016-08-02 10:43:20 UTC
I find it all right, things that I needed work fine.

(In reply to Lumír Balhar from comment #8)

Comment 12 Lumír Balhar 2016-08-03 11:47:37 UTC
Hello Tomas.

Thank you very much for the test. In meantime version 3.6.0 was released so I will do a build and push this version to F24, F25 and rawhide.

Koji scratch build is here: http://koji.fedoraproject.org/koji/taskinfo?taskID=15105307

Comment 13 Fedora Update System 2016-08-03 12:47:17 UTC
python-cassandra-driver-3.6.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd807b72fd

Comment 14 Lumír Balhar 2016-08-03 12:52:35 UTC
Hello.

New python-cassandra-driver version 3.6.0 is available in rawhide and F25 and there is update for F24 - https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd807b72fd

I will close this bug after update will be in stable.

Comment 15 Fedora Update System 2016-08-04 01:54:31 UTC
python-cassandra-driver-3.6.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd807b72fd

Comment 16 Fedora Update System 2016-08-08 20:22:45 UTC
python-cassandra-driver-3.6.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.