Actions
Feature #21863
closedInvestigate python3-cwltest package and remove it if possible
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
In source:build/run-build-packages.sh we get a specific version of cwltest from PyPI and turn it into a distro-packaged virtualenv:
fpm_build_virtualenv cwltest "==2.3.20230108193615" "$FORMAT" "$ARCH"
This version does not run on Python 3.12:
Traceback (most recent call last): File "/usr/bin/cwltest", line 5, in <module> from cwltest.main import main File "/usr/lib/python3-cwltest/lib/python3.12/site-packages/cwltest/main.py", line 15, in <module> from cwltest.argparser import arg_parser File "/usr/lib/python3-cwltest/lib/python3.12/site-packages/cwltest/argparser.py", line 5, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'
It's not clear why we build this package. Peter thinks it used to be Jenkins support but is no longer necessary, we now run the conformance tests by installing from pip. Check if there's anything else in our infrastructure using this package. If not, remove the package build and supporting code.
Related issues
Actions