Choose the correct wheel (whl) file for a Python package
For Swimlane api and tasks, using py37-none-manylinux1_x86_64 for Python 3.7 and py312-none-manylinux1_x86_64 for Python 3.12 is a good start. However, if you want to check if any other distributions are supported, follow the steps below.
Step 1: Identify the Pip and Python version:
kubectl exec <SWIMLANE-TASKS-POD> -- pip -V

Step 2: Choose the compatible manylinux tag from the chart below using the information collected from the previous step above:
Source: https://github.com/pypa/manylinux
SAMPLE:
$ kubectl describe deployments/swimlane-tasks | grep Image
Image: 10.96.0.62/swimlane-platform/swimlane-tasks:10.8.1
$ kubectl exec swimlane-tasks-64d47b786f-hwrt6 -- pip -V
pip 22.0.3 from /home/swimlane/.pyenv/versions/3.7.12/lib/python3.7/site-packages/pip (python 3.7)
Based on the output above, one can use cp37-cp37m-manylinux1_x86_64 or cp37-cp37m-manylinux2010_x86_64 or cp37-cp37m-manylinux2014_x86_64
To view other Compatible tags, please run
$ kubectl exec <SWIMLANE-TASKS-POD> -- pip debug --verbose