Bug 1634963 - cassandra: Remove (sub)packages from Fedora 30+: cassandra-python2-cqlshlib
Summary: cassandra: Remove (sub)packages from Fedora 30+: cassandra-python2-cqlshlib
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cassandra
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jančo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PY2REMOVAL
TreeView+ depends on / blocked
 
Reported: 2018-10-01 19:45 UTC by Miro Hrončok
Modified: 2018-10-04 10:19 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-04 10:19:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-10-01 19:45:49 UTC
In line with the Mass Python 2 Package Removal [0], the following (sub)packages of cassandra were marked for removal:

 * cassandra-python2-cqlshlib

According to our query, those (sub)packages only provide a Python 2 importable module. If this is not true, please tell us why, so we can fix our query.

Please remove them from your package.

As said in the change document, if there is no objection in a week, we will remove the package(s) as soon as we get to it. This change might not match your packaging style, so we'd prefer if you did the change. If you need more time, please let us know here.

We hope this doesn't come to you as a surprise. If you want to know our motivation for this, please read the change document [0].

[0] https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Comment 1 Jakub Jančo 2018-10-04 09:01:28 UTC
Cassandra package contains client tools for cassandra db. One of this is cqlsh, that is CLI to database, and it depends on cassandra-python2-cqlshlib.

# grep cqlshlib /usr/bin/cqlsh
cqlshlibdir = os.path.join(CASSANDRA_PATH, 'pylib')
if os.path.isdir(cqlshlibdir):
    sys.path.insert(0, cqlshlibdir)
from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, cqlshhandling
from cqlshlib.copyutil import ExportTask, ImportTask
from cqlshlib.displaying import (ANSI_RESET, BLUE, COLUMN_NAME_COLORS, CYAN,
from cqlshlib.formatting import (DEFAULT_DATE_FORMAT, DEFAULT_NANOTIME_FORMAT,
from cqlshlib.tracing import print_trace, print_trace_session
from cqlshlib.util import get_file_encoding_bomsize, trim_if_present

Currently it supports only py2.7. Py3 support is WIP:
https://issues.apache.org/jira/browse/CASSANDRA-10190

Comment 2 Miro Hrončok 2018-10-04 10:19:49 UTC
Indeed:

$ dnf repoquery --repo=rawhide --whatrequires cassandra-python2-cqlshlib
cassandra-0:3.11.1-7.fc30.x86_64

Sorry about the noise, the automation has trouble with inter-package deps.


Note You need to log in before you can comment on or make changes to this bug.