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

[Python][[Packaging] Wheels are failing for manylinux python 3.8 due to pip not being found #38984

Closed
raulcd opened this issue Nov 29, 2023 · 0 comments · Fixed by #38985
Closed
Assignees
Milestone

Comments

@raulcd
Copy link
Member

raulcd commented Nov 29, 2023

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

The wheels for manylinux have been failing for the last 6-7 days:

This is reproducible on the maintenance branch for 14.0.2 and has to be fixed for the release.
The error is:

 #10 98.73 npm notice 
#10 98.74 + python3 -m pip install -U pip
#10 98.75 /usr/bin/python3: No module named pip
#10 ERROR: process "/bin/sh -c /setup-rhel-rebuilds.sh &&     rm /setup-rhel-rebuilds.sh &&     dnf -y clean all" did not complete successfully: exit code: 1

Component(s)

Packaging, Python

@raulcd raulcd self-assigned this Nov 29, 2023
@raulcd raulcd added this to the 14.0.2 milestone Nov 29, 2023
raulcd added a commit to raulcd/arrow that referenced this issue Nov 29, 2023
raulcd added a commit to raulcd/arrow that referenced this issue Nov 29, 2023
@raulcd raulcd added Priority: Blocker Marks a blocker for the release and removed Priority: Critical labels Nov 30, 2023
@kou kou closed this as completed in #38985 Dec 1, 2023
kou pushed a commit that referenced this issue Dec 1, 2023
…re failing due to missing pip (#38985)

### Rationale for this change

Almalinux 8 has been updated from 8.8 to 8.9. When using 8.9 python3 seems to be shipped without pip as  the command `python3 -m pip install -U pip` fails to find pip.

### What changes are included in this PR?

Use the [ensurepip package](https://docs.python.org/3/library/ensurepip.html) which provides support for bootstrapping the pip installer into an existing Python installation.

### Are these changes tested?

Yes via archery.

### Are there any user-facing changes?

No
* Closes: #38984

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou modified the milestones: 14.0.2, 15.0.0 Dec 1, 2023
@raulcd raulcd modified the milestones: 15.0.0, 14.0.2 Dec 4, 2023
raulcd added a commit that referenced this issue Dec 4, 2023
…re failing due to missing pip (#38985)

### Rationale for this change

Almalinux 8 has been updated from 8.8 to 8.9. When using 8.9 python3 seems to be shipped without pip as  the command `python3 -m pip install -U pip` fails to find pip.

### What changes are included in this PR?

Use the [ensurepip package](https://docs.python.org/3/library/ensurepip.html) which provides support for bootstrapping the pip installer into an existing Python installation.

### Are these changes tested?

Yes via archery.

### Are there any user-facing changes?

No
* Closes: #38984

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
…ux 8 are failing due to missing pip (apache#38985)

### Rationale for this change

Almalinux 8 has been updated from 8.8 to 8.9. When using 8.9 python3 seems to be shipped without pip as  the command `python3 -m pip install -U pip` fails to find pip.

### What changes are included in this PR?

Use the [ensurepip package](https://docs.python.org/3/library/ensurepip.html) which provides support for bootstrapping the pip installer into an existing Python installation.

### Are these changes tested?

Yes via archery.

### Are there any user-facing changes?

No
* Closes: apache#38984

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
Projects
None yet
2 participants