Maksim Davydov created IGNITE-29366:
---------------------------------------
Summary: [ducktests] Move to Python 3.12
Key: IGNITE-29366
URL: https://issues.apache.org/jira/browse/IGNITE-29366
Project: Ignite
Issue Type: Task
Reporter: Maksim Davydov
Assignee: Maksim Davydov
Fix For: 2.20
The ducktests framework still declares support for Python 3.8 and 3.9, although
its GitHub checks already run only on 3.12 and the test image ships Python
3.11. Supporting the old versions keeps the development tooling on vulnerable
releases of filelock and virtualenv: their patched releases can't be installed
on Python older than 3.10. The option that brings up the cluster with a custom
ducktape doesn't work either. It installs into the system Python, not the
environment the tests run in, and on Python 3.12 it fails with "No module named
'setuptools'".
ducktests target one Python version, 3.12, for the framework checks, the test
image and the local setup. Running the checks without Python 3.12 fails instead
of silently skipping the tests. The development requirements no longer pin tox
and virtualenv, filelock moves to a patched release, and a custom ducktape is
installed into the environment the tests run in.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)