[
https://issues.apache.org/jira/browse/CASSPYTHON-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bret McGuire updated CASSPYTHON-25:
-----------------------------------
Fix Version/s: 4.0.0
> Python 3.13 appears to have some trouble importing some DataStax dependencies
> -----------------------------------------------------------------------------
>
> Key: CASSPYTHON-25
> URL: https://issues.apache.org/jira/browse/CASSPYTHON-25
> Project: Apache Cassandra Python driver
> Issue Type: Improvement
> Reporter: Bret McGuire
> Priority: Normal
> Fix For: 4.0.0
>
>
> Lifted version of
> [PYTHON-1423|https://datastax-oss.atlassian.net/browse/PYTHON-1423].
> Original description follows:
> Noticed while working on a PR to setup Python versions to those we’re aiming
> to support with 3.30.0. tornado is installed as a dependency of
> gremlinpython which enters the picture here. That install appears to be
> failing for Python 3.13.5 with the following error:
> {noformat}
> [2025-06-18T03:49:37.595Z] Collecting tornado<6.0,>=4.4.1 (from
> gremlinpython==3.4.6->-r test-datastax-requirements.txt (line 3))
> [2025-06-18T03:49:37.595Z] Downloading tornado-5.1.1.tar.gz (516 kB)
> [2025-06-18T03:49:37.595Z] Preparing metadata (setup.py): started
> [2025-06-18T03:49:38.022Z] Preparing metadata (setup.py): finished with
> status 'error'
> [2025-06-18T03:49:38.022Z] error: subprocess-exited-with-error
> [2025-06-18T03:49:38.022Z]
> [2025-06-18T03:49:38.022Z] × python setup.py egg_info did not run
> successfully.
> [2025-06-18T03:49:38.022Z] │ exit code: 1
> [2025-06-18T03:49:38.022Z] ╰─> [17 lines of output]
> [2025-06-18T03:49:38.022Z] Traceback (most recent call last):
> [2025-06-18T03:49:38.022Z] File "<string>", line 2, in <module>
> [2025-06-18T03:49:38.023Z] exec(compile('''
> [2025-06-18T03:49:38.023Z] ~~~~^^^^^^^^^^^^
> [2025-06-18T03:49:38.023Z] # This is <pip-setuptools-caller> -- a
> caller that pip uses to run setup.py
> [2025-06-18T03:49:38.023Z]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [2025-06-18T03:49:38.023Z] ...<32 lines>...
> [2025-06-18T03:49:38.023Z] exec(compile(setup_py_code, filename,
> "exec"))
> [2025-06-18T03:49:38.023Z]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [2025-06-18T03:49:38.023Z] ''' %
> ('/tmp/pip-install-flgzwns_/tornado_ac08d7b8d4ba4b46b12d7341497b2f74/setup.py',),
> "<pip-setuptools-caller>", "exec"))
> [2025-06-18T03:49:38.023Z]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [2025-06-18T03:49:38.023Z] File "<pip-setuptools-caller>", line 35,
> in <module>
> [2025-06-18T03:49:38.023Z] File
> "/tmp/pip-install-flgzwns_/tornado_ac08d7b8d4ba4b46b12d7341497b2f74/setup.py",
> line 146, in <module>
> [2025-06-18T03:49:38.023Z] raise ImportError("Tornado requires an
> up-to-date SSL module. This means "
> [2025-06-18T03:49:38.023Z] "Python 2.7.9+ or 3.4+
> (although some distributions have "
> [2025-06-18T03:49:38.023Z] "backported the
> necessary changes to older versions).")
> [2025-06-18T03:49:38.023Z] ImportError: Tornado requires an up-to-date
> SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions
> have backported the necessary changes to older versions).
> [2025-06-18T03:49:38.023Z] [end of output]
> [2025-06-18T03:49:38.023Z]
> [2025-06-18T03:49:38.023Z] note: This error originates from a subprocess,
> and is likely not a problem with pip.
> [2025-06-18T03:49:38.023Z] error: metadata-generation-failed
> [2025-06-18T03:49:38.023Z]
> [2025-06-18T03:49:38.023Z] × Encountered error while generating package
> metadata.
> [2025-06-18T03:49:38.023Z] ╰─> See above for output.
> [2025-06-18T03:49:38.023Z]
> [2025-06-18T03:49:38.023Z] note: This is an issue with the package mentioned
> above, not pip.
> [2025-06-18T03:49:38.023Z] hint: See above for details.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]