Csaba Ringhofer has posted comments on this change. ( https://gerrit.cloudera.org/25268 )
Change subject: IMPALA-15725: Upgrade sqlparse to 0.5.5/0.6.1 ...................................................................... Patch Set 2: Code-Review+1 (1 comment) https://gerrit.cloudera.org/#/c/25268/2/shell/requirements.txt File shell/requirements.txt: https://gerrit.cloudera.org/#/c/25268/2/shell/requirements.txt@9 PS2, Line 9: sqlparse==0.5.5; python_version < "3.10" : sqlparse==0.6.1; python_version >= "3.10" > If we support Python 2, we would want a line with a version of sqlparse tha we no longer claim to support Python 2 https://github.com/apache/impala/commit/d403e7fa5d913a7ee97341842b2ee291c4077004 you also can't install latest release with pip: python2 -m pip install -v impala-shell==4.6.0 --disable-pip-version-check Link requires a different Python (2.7.18 not in: u'>=3.8'): https://files.pythonhosted.org/packages/95/11/5d3b68d4b2ada2ac5023096a5dc590bef72965600ffcadede18934065324/impala_shell-4.6.0.tar.gz#sha256=49e1644194f7e6f7de590a36877991bebf53f1a59dd9d7b73a5327895b9ce6fc (from https://pypi.org/simple/impala-shell/) (requires-python:>=3.8) so I think that we practically dropped Python2 support for impala-shell, just probably were not explicit enough about it I would also consider dropping EOL Python versions in general, so bump the requirement to 3.11 (or maybe 3.10 as its EOL is recent). In todays CVE landscape it can become a nuisance to keep old versions alive and CVE free. -- To view, visit https://gerrit.cloudera.org/25268 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6e6cdfadecad111597562b025af514c3c1f0faf4 Gerrit-Change-Number: 25268 Gerrit-PatchSet: 2 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Tue, 03 Nov 2026 06:36:05 +0000 Gerrit-HasComments: Yes
