raulcd commented on PR #51752:
URL: https://github.com/apache/arrow/pull/51752#issuecomment-5997877336

   The binary verification failures are related to Python3.15 not being fully 
released yet as they had to do a new RC3:
   ```python
   Resolving Environment                                                        
             ✔ Done (0.1 sec)
   error    libmamba Could not solve for environment specs
       The following package could not be installed
       └─ python =3.15 * is not installable because it requires
          └─ _python_rc =* *, which does not exist (perhaps a missing channel).
   critical libmamba Could not solve for environment specs
   ```
   We can still verify the binaries, if we apply the following patch:
   ```diff
   diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
   index 58e57a17c2..0d87e2a38c 100755
   --- a/dev/release/verify-release-candidate.sh
   +++ b/dev/release/verify-release-candidate.sh
   @@ -363,6 +363,12 @@ maybe_setup_conda() {
      # Optionally setup conda environment with the passed dependencies
      local env="conda-${CONDA_ENV:-source}"
      local pyver=${PYTHON_VERSION:-3.12}
   +  local channels=()
   +  # Python release candidates on conda-forge need the python_rc label
   +  # to provide the _python_rc marker package.
   +  if [ "${pyver}" = "3.15" ]; then
   +    channels=(-c conda-forge/label/python_rc -c conda-forge)
   +  fi
    
      if [ "${USE_CONDA}" -gt 0 ]; then
        show_info "Configuring Conda environment..."
   @@ -375,12 +381,12 @@ maybe_setup_conda() {
        install_conda
        # Create environment
        if ! conda env list | cut -d" " -f 1 | grep $env; then
   -      mamba create -y -n $env python=${pyver}
   +      mamba create -y -n $env "${channels[@]}" python=${pyver}
        fi
        # Install dependencies. Python version pinned so an unversioned
        # python dependency does not replace it
        if [ $# -gt 0 ]; then
   -      mamba install -y -n $env python=${pyver} $@
   +      mamba install -y -n $env "${channels[@]}" python=${pyver} $@
        fi
        # Activate the environment
        conda activate $env
   
   ```
   The verification is successful:
   ```python
   $ archery docker run -e TEST_DEFAULT=0 -e TEST_WHEELS=1 -e VERBOSE=1 -e 
VERIFY_RC=0 -e VERIFY_VERSION=26.0.0 -e TEST_PYTHON_VERSIONS=3.15 
conda-verify-rc
   ...
   + python -m pytest -r s --pyargs pyarrow
   
================================================================================================
 test session starts 
=================================================================================================
   platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0
   rootdir: /tmp/arrow-26.0.0.HiYuO/binaries
   plugins: hypothesis-6.168.4
   collected 8546 items / 3 skipped                                             
                                                                                
                                                        
   
   tests/interchange/test_conversion.py 
.........................................................................................................................................................................
 [  1%]
   
..............................................................................................................................................................................................................
 [  4%]
   
..............................................................................................................................................................................................................
 [  6%]
   
..............................................................................................................................................................................................................
 [  9%]
   
..............................................................................................................................................................................................................
 [ 11%]
   
..............................................................................................................................................................................................................
 [ 14%]
   
..............................................................................................................................................................................................................
 [ 16%]
   
..............................................................................................................................................................................................................
 [ 18%]
   
................................................................................................................................................................................s....
                          [ 20%]
   tests/interchange/test_interchange_spec.py 
s..................................................................................................................................................................
 [ 22%]
   
..............................................................................................................................................................................................................
 [ 25%]
   
..............................................................................................................................................................................................................
 [ 27%]
   
..............................................................................................................................................................................................................
 [ 30%]
   
..............................................................................................................................................................................................................
 [ 32%]
   
..............................................................................................................................................................................................................
 [ 34%]
   ....................
   
   SKIPPED [1] 
../miniforge/envs/conda-wheel-3.15-manylinux_2_28_x86_64/lib/python3.15/site-packages/pyarrow/tests/test_util.py:204:
 Python version does not have the bug we're testing for
   SKIPPED [1] 
../miniforge/envs/conda-wheel-3.15-manylinux_2_28_x86_64/lib/python3.15/site-packages/pyarrow/tests/test_util.py:215:
 Timezone database is already provided.
   SKIPPED [3] 
../miniforge/envs/conda-wheel-3.15-manylinux_2_28_x86_64/lib/python3.15/site-packages/pyarrow/tests/conftest.py:99:
 nonumpy NOT enabled
   ================================================================= 7835 
passed, 697 skipped, 16 xfailed, 1 xpassed, 21 warnings in 166.90s (0:02:46) 
==================================================================
   + popd
   /
   + TEST_SUCCESS=yes
   + echo 'Release candidate 26.0.0-RC0 looks good!'
   Release candidate 26.0.0-RC0 looks good!
   + exit 0
   + cleanup
   + '[' yes = yes ']'
   + rm -fr /tmp/arrow-26.0.0.HiYuO
   
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to