Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release][CI] Verification job on AlmaLinux 8 fails to find correct Python #39072

Closed
raulcd opened this issue Dec 5, 2023 · 0 comments · Fixed by #39073
Closed

[Release][CI] Verification job on AlmaLinux 8 fails to find correct Python #39072

raulcd opened this issue Dec 5, 2023 · 0 comments · Fixed by #39073

Comments

@raulcd
Copy link
Member

raulcd commented Dec 5, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Arrow fails to be built on AlmaLinux 8 on the verification job due to not being able to find Python:

-- Build output directory: /tmp/arrow-14.0.2.ZwfXA/apache-arrow-14.0.2/python/build/temp.linux-x86_64-cpython-311/release
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development.Module
  NumPy) (found version "3.11.5")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPython/Support.cmake:3165 (find_package_handle_standard_args)
  /usr/share/cmake/Modules/FindPython3.cmake:485 (include)
  cmake_modules/FindPython3Alt.cmake:51 (find_package)
  CMakeLists.txt:262 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/arrow-14.0.2.ZwfXA/apache-arrow-14.0.2/python/build/temp.linux-x86_64-cpython-311/CMakeFiles/CMakeOutput.log".
error: command '/usr/bin/cmake' failed with exit code 1
Failed to verify release candidate. See /tmp/arrow-14.0.2.ZwfXA for details.
1

AlmaLinux docker image was updated from 8.8 to 8.9 and the Python version there is different as found here: #38985
The updated AlmaLinux Python version seems to be causing the issue.

This is reproducible on 14.0.2 RC0 and main:
verify-rc-source-python-linux-almalinux-8-amd64

Component(s)

Continuous Integration, Release

@kou kou changed the title [Release][CI] Verification job on Almalinux 8 fails to find correct Python [Release][CI] Verification job on AlmaLinux 8 fails to find correct Python Dec 5, 2023
@kou kou closed this as completed in #39073 Dec 5, 2023
kou pushed a commit that referenced this issue Dec 5, 2023
…tion job on AlmaLinux 8 (#39073)

### Rationale for this change

The verification task for Almalinux 8 was failing.

### What changes are included in this PR?

Add required python3.11-devel to the Docker image.

### Are these changes tested?

Yes via archery task.

### Are there any user-facing changes?

No

* Closes: #39072

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 15.0.0 milestone Dec 5, 2023
@raulcd raulcd modified the milestones: 15.0.0, 14.0.2 Dec 6, 2023
raulcd added a commit that referenced this issue Dec 6, 2023
…tion job on AlmaLinux 8 (#39073)

### Rationale for this change

The verification task for Almalinux 8 was failing.

### What changes are included in this PR?

Add required python3.11-devel to the Docker image.

### Are these changes tested?

Yes via archery task.

### Are there any user-facing changes?

No

* Closes: #39072

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
…rification job on AlmaLinux 8 (apache#39073)

### Rationale for this change

The verification task for Almalinux 8 was failing.

### What changes are included in this PR?

Add required python3.11-devel to the Docker image.

### Are these changes tested?

Yes via archery task.

### Are there any user-facing changes?

No

* Closes: apache#39072

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment