Skip to content

Instead of using a hand-installed Python 3.11, use a dnf installed one#27599

Merged
lydia-duncan merged 1 commit intochapel-lang:mainfrom
lydia-duncan:fixRhelForReal
Aug 5, 2025
Merged

Instead of using a hand-installed Python 3.11, use a dnf installed one#27599
lydia-duncan merged 1 commit intochapel-lang:mainfrom
lydia-duncan:fixRhelForReal

Conversation

@lydia-duncan
Copy link
Member

@lydia-duncan lydia-duncan commented Aug 5, 2025

[reviewed by @jabraham17]

The hand installed version was having trouble with SSL. I could solve that, or I could use the version I installed yesterday when I thought things were broken in a different way than they turned out to be. That version can pip install on its own, so I think it's the better choice.

Location credit goes to Jade, I would have made a lot more drastic of a choice

The commands run were:

sudo dnf install python3.11 python3.11-devel
/usr/bin/python3.11 -m ensurepip
/usr/bin/python3.11 -m pip install cython
/usr/bin/python3.11 -m pip install numpy
ln -s /usr/bin/python3.11 python3

The hand installed version was having trouble with SSL.  I could solve that, or
I could use the version I installed yesterday when I thought things were broken
in a different way than they turned out to be

----
Signed-off-by: Lydia Duncan <lydia-duncan@users.noreply.github.com>
Copy link
Member

@jabraham17 jabraham17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just please note in the merge message how the new python is installed. i.e. dnf install python3.11 + symlink commands

@lydia-duncan lydia-duncan merged commit 507bc2c into chapel-lang:main Aug 5, 2025
10 checks passed
@lydia-duncan lydia-duncan deleted the fixRhelForReal branch August 5, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants