[
https://issues.apache.org/jira/browse/PHOENIX-7553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved PHOENIX-7553.
----------------------------------
Fix Version/s: queryserver-6.0.1
5.3.0
Resolution: Fixed
> Support Python 3.13
> -------------------
>
> Key: PHOENIX-7553
> URL: https://issues.apache.org/jira/browse/PHOENIX-7553
> Project: Phoenix
> Issue Type: Improvement
> Components: python
> Reporter: Norbert Mészáros
> Assignee: Norbert Mészáros
> Priority: Minor
> Fix For: queryserver-6.0.1, 5.3.0
>
>
> Python3.13 dropped support for pipes module
> [https://peps.python.org/pep-0594/]
>
> Solution could be to replace pipes with shlex.
>
> {code:java}
> python3.13 bin/sqlline.py localhost:57344
> Traceback (most recent call last):
> File "/Users/norbertmeszaros/IdeaProjects/phoenix/bin/sqlline.py", line
> 105, in <module>
> (not args.noconnect and " -u " + phoenix_utils.shell_quote([jdbc_url]) or
> "") + \
> ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
> File "/Users/norbertmeszaros/IdeaProjects/phoenix/bin/phoenix_utils.py",
> line 224, in shell_quote
> import pipes
> ModuleNotFoundError: No module named 'pipes'{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)