Project

General

Profile

Actions

Bug #21934

closed

arv-copy uses subprocess.run(capture_output=True) which is not in Python 3.6 (RHEL 8)

Added by Krzysztof Dziedzic 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Story points:
-
Release relationship:
Auto

Description

In CentOS releases there is version 3.6 of Python3 which gives error to user:
arv-copy -v --project-uuid arkau-j7d0g-h01qmcy1nnsr2ut arkau-7fd4e-fovvurkh3otlpyk
2024-06-26 08:29:12 arvados.arv-copy692 ERROR: init() got an unexpected keyword argument 'capture_output'
Traceback (most recent call last):
File "/usr/share/python3/dist/python3-arvados-python-client/lib/python3.6/site-packages/arvados/commands/arv_copy.py", line 158, in main
result = copy_workflow(args.object_uuid, src_arv, dst_arv, args)
File "/usr/share/python3/dist/python3-arvados-python-client/lib/python3.6/site-packages/arvados/commands/arv_copy.py", line 335, in copy_workflow
capture_output=True, env=env)
File "/usr/lib64/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: init() got an unexpected keyword argument 'capture_output'

In Debian release we see in same package that there is Python3 3.9 version.

This is normal - or by mistake and CentOS Python3 version needs to be updated?


Files

Zrzut ekranu 2024-06-26 111335.png (64.1 KB) Zrzut ekranu 2024-06-26 111335.png Krzysztof Dziedzic, 06/26/2024 09:13 AM
Zrzut ekranu 2024-06-26 111446.png (86.2 KB) Zrzut ekranu 2024-06-26 111446.png Krzysztof Dziedzic, 06/26/2024 09:15 AM

Subtasks 1 (0 open1 closed)

Task #21939: Review 21934-python36-compat (against 2.7-release)ResolvedPeter Amstutz07/01/2024Actions
Actions

Also available in: Atom PDF