Raúl Cumplido created ARROW-17952: ------------------------------------- Summary: [Archery][CI] Fix failure when trying to run archery docker with GPU enabled containers Key: ARROW-17952 URL: https://issues.apache.org/jira/browse/ARROW-17952 Project: Apache Arrow Issue Type: Improvement Components: Archery, Python Reporter: Raúl Cumplido Assignee: Raúl Cumplido
Currently when trying to run archery docker run ubuntu-cuda-cpp we get the following error: {code:java} Traceback (most recent call last): File "/home/jwj/.local/bin/archery", line 33, in <module> sys.exit(load_entry_point('archery', 'console_scripts', 'archery')()) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/jwj/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/home/jwj/.local/lib/python3.10/site-packages/click/decorators.py", line 38, in new_func return f(get_current_context().obj, *args, **kwargs) File "/home/jwj/code/centos-cxx17/dev/archery/archery/docker/cli.py", line 248, in docker_run compose.run( File "/home/jwj/code/centos-cxx17/dev/archery/archery/docker/core.py", line 381, in run args.extend(shlex.split(cmd)) File "/usr/lib/python3.10/shlex.py", line 315, in split return list(lex) File "/usr/lib/python3.10/shlex.py", line 300, in __next__ token = self.get_token() File "/usr/lib/python3.10/shlex.py", line 109, in get_token raw = self.read_token() File "/usr/lib/python3.10/shlex.py", line 140, in read_token nextchar = self.instream.read(1) AttributeError: 'CommentedSeq' object has no attribute 'read' {code} We should also update shlex.split as it has been deprecated. -- This message was sent by Atlassian Jira (v8.20.10#820010)