Project

General

Profile

Actions

Feature #21863

closed

Investigate python3-cwltest package and remove it if possible

Added by Brett Smith 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
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.


Subtasks 1 (0 open1 closed)

Task #21864: Review 21863-remove-cwltest-packageResolvedLucas Di Pentima06/06/2024Actions

Related issues

Related to Arvados - Idea #21363: Support ubuntu2404ResolvedBrett Smith06/06/2024Actions
Related to Arvados - Bug #21878: Package build time doubled after #21863NewActions
Actions

Also available in: Atom PDF