Describe the bug, including details regarding any error messages, version, and platform.
Tested on Arm64 ubuntu-20.04.
Try to verify 14.0.0 RC2 by TEST_DEFAULT=0 TEST_CPP=1 TEST_PYTHON=1 dev/release/verify-release-candidate.sh 14.0.0 2,
failed with below log:
===============================
Build and test Python libraries
===============================
└ Configuring Python 3 virtualenv...
└ Found interpreter Python 3.8.10: /usr/bin/python3
└ Using already created virtualenv at /tmp/arrow-14.0.0.bKwoL/venv-source
dev/release/verify-release-candidate.sh: line 541: /tmp/arrow-14.0.0.bKwoL/venv-source/bin/activate: No such file or directory
└ Installed pip packages cython>=0.29.31
Defaulting to user installation because normal site-packages is not writeable
Collecting cython>=0.29.31
Downloading Cython-3.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.2 kB)
Requirement already satisfied: numpy in /home/cyb/.local/lib/python3.8/site-packages (1.23.1)
Collecting setuptools_scm<8.0.0
Downloading setuptools_scm-7.1.0-py3-none-any.whl (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.8/43.8 kB 556.4 kB/s eta 0:00:00
Requirement already satisfied: setuptools in /home/cyb/.local/lib/python3.8/site-packages (68.2.2)
Requirement already satisfied: packaging>=20.0 in /usr/lib/python3/dist-packages (from setuptools_scm<8.0.0) (20.3)
Collecting typing-extensions (from setuptools_scm<8.0.0)
Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: tomli>=1.0.0 in /home/cyb/.local/lib/python3.8/site-packages (from setuptools_scm<8.0.0) (2.0.1)
Downloading Cython-3.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 9.9 MB/s eta 0:00:00
Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
DEPRECATION: distro-info 0.23ubuntu1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: gpg 1.13.1-unknown has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: python-debian 0.1.36ubuntu1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: typing-extensions, cython, setuptools_scm
Successfully installed cython-3.0.4 setuptools_scm-7.1.0 typing-extensions-4.8.0
/tmp/arrow-14.0.0.bKwoL/apache-arrow-14.0.0/python /tmp/arrow-14.0.0.bKwoL/apache-arrow-14.0.0 ~/arrow
File "setup.py", line 252
print(f"-- Skipping build. Temp build {build_temp} does "
^
SyntaxError: invalid syntax
Failed to verify release candidate. See /tmp/arrow-14.0.0.bKwoL for details.
The syntax error is probably because the default python version is python2 on my test machine.
The true error should be at the beginning of the log:
dev/release/verify-release-candidate.sh: line 541: /tmp/arrow-14.0.0.bKwoL/venv-source/bin/activate: No such file or directory
Related code is at https://github.com/apache/arrow/blob/main/dev/release/verify-release-candidate.sh#L531-L542
It checks existence of diretory /tmp/arrow-14.0.0.bKwoL/venv-source. If that dir exists, run bin/activate to activate virtualenv, otherwise create and activate a new virtualenv.
But on my test machine, that dir exists, but no bin/activate. So virtualenv is not activate. Still using python on the host.
ls /tmp/arrow-14.0.0.bKwoL/venv-source/bin
python python3
Component(s)
Python, Release
Describe the bug, including details regarding any error messages, version, and platform.
Tested on
Arm64 ubuntu-20.04.Try to verify 14.0.0 RC2 by
TEST_DEFAULT=0 TEST_CPP=1 TEST_PYTHON=1 dev/release/verify-release-candidate.sh 14.0.0 2,failed with below log:
The syntax error is probably because the default python version is python2 on my test machine.
The true error should be at the beginning of the log:
dev/release/verify-release-candidate.sh: line 541: /tmp/arrow-14.0.0.bKwoL/venv-source/bin/activate: No such file or directoryRelated code is at https://github.com/apache/arrow/blob/main/dev/release/verify-release-candidate.sh#L531-L542
It checks existence of diretory
/tmp/arrow-14.0.0.bKwoL/venv-source. If that dir exists, run bin/activate to activate virtualenv, otherwise create and activate a new virtualenv.But on my test machine, that dir exists, but no
bin/activate. So virtualenv is not activate. Still using python on the host.Component(s)
Python, Release