raulcd commented on issue #46024: URL: https://github.com/apache/arrow/issues/46024#issuecomment-2778790576
I downloaded the test output in case it gives more details for someone taking a look: ``` Start test: install_pyarrow Downloading cpython-3.11.11-linux-x86_64-gnu (20.5MiB) Downloaded cpython-3.11.11-linux-x86_64-gnu Downloading numpy (15.7MiB) Downloaded numpy Installed 1 package in 19ms Using Python: /usr/bin/python3.10 Creating virtual environment 'arrow-test' ... + /usr/bin/python3.10 -m venv /home/runner/.virtualenvs/arrow-test Done! Installing packages: pip, wheel, setuptools + /home/runner/.virtualenvs/arrow-test/bin/python -m pip install --upgrade pip wheel setuptools Requirement already satisfied: pip in /home/runner/.virtualenvs/arrow-test/lib/python3.10/site-packages (22.0.2) Collecting pip Downloading pip-25.0.1-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 35.8 MB/s eta 0:00:00 Collecting wheel Downloading wheel-0.45.1-py3-none-any.whl (72 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 KB 24.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/runner/.virtualenvs/arrow-test/lib/python3.10/site-packages (59.6.0) Collecting setuptools Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 110.2 MB/s eta 0:00:00 Installing collected packages: wheel, setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 59.6.0 Uninstalling setuptools-59.6.0: Successfully uninstalled setuptools-59.6.0 Attempting uninstall: pip Found existing installation: pip 22.0.2 Uninstalling pip-22.0.2: Successfully uninstalled pip-22.0.2 Successfully installed pip-25.0.1 setuptools-78.1.0 wheel-0.45.1 Installing packages: numpy + /home/runner/.virtualenvs/arrow-test/bin/python -m pip install --upgrade --no-user numpy Collecting numpy Downloading numpy-2.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB) Downloading numpy-2.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.4/16.4 MB 154.6 MB/s eta 0:00:00 Installing collected packages: numpy Successfully installed numpy-2.2.4 Virtual environment 'arrow-test' successfully created. Using virtual environment 'arrow-test' ... + /home/runner/.virtualenvs/arrow-test/bin/python -m pip install --upgrade --no-user --extra-index-url https://repo.fury.io/arrow-nightlies/ --pre --upgrade pyarrow Looking in indexes: https://pypi.org/simple, https://repo.fury.io/arrow-nightlies/ Collecting pyarrow Downloading https://repo.fury.io/arrow-nightlies/-/ver_1GV1UM/pyarrow-20.0.0.dev260-cp310-cp310-manylinux_2_28_x86_64.whl (42.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.3/42.3 MB 74.5 MB/s eta 0:00:00 Installing collected packages: pyarrow Successfully installed pyarrow-20.0.0.dev260 'test-python.R:33:3' [success] ERROR: The requested version of Python ('/home/runner/.virtualenvs/arrow-test/bin/python') cannot be used, as another version of Python ('/home/runner/.cache/R/reticulate/uv/cache/archive-v0/464Kwn5VQLCHR1Ix1kFNr/bin/python3') has already been initialized. Please restart the R session if you need to attach reticulate to a different version of Python. 'test-python.R:35:3' [error] End test: install_pyarrow 'test-python.R:38:1' [skip] ``` I am unsure why it seems to try to download CPython 3.11: ``` Downloading cpython-3.11.11-linux-x86_64-gnu (20.5MiB) Downloaded cpython-3.11.11-linux-x86_64-gnu ``` but clearly uses Python 3.10 env and packages. Also it seems the test should be skipped for offline mode: https://github.com/apache/arrow/blob/7df396eec4c620ddc4a4db780ea0d5ffa4cf685b/r/tests/testthat/test-python.R#L20 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org