Skip to content

Commit

Permalink
Upgrade to python3.12 for centos/fedora builds (#406)
Browse files Browse the repository at this point in the history
Co-authored-by: Roberto Pastor Muela <[email protected]>
  • Loading branch information
tusharbana-ansys and RobPasMue authored Jan 7, 2025
1 parent 00f3bd4 commit 4524dec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
MAIN_PYTHON_VERSION: '3.11'
MAIN_PYTHON_VERSION: '3.12'
PRECOMPILE_PYTHON_VERSION: '3.11.9'
DOCUMENTATION_CNAME: 'installer.docs.pyansys.com'
LIBRARY_NAME: 'ansys-tools-installer'
Expand Down Expand Up @@ -260,12 +260,15 @@ jobs:
run: |
yum update -y
yum groupinstall "Development Tools" -y
yum install python3.12 python3.12-pip -y
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
update-alternatives --set python3 /usr/bin/python3.12
- name: Install CentOS/Fedora Dependencies
if: contains(matrix.os, 'centos') || contains(matrix.os, 'fedora')
run: |
yum install python3 \
python3-pip \
yum install python3-pip \
wget \
binutils \
ruby-devel \
Expand Down Expand Up @@ -333,6 +336,7 @@ jobs:
- name: Update pip
run: |
python3 --version
python3 -m pip install pip -U
- name: Install pip Dependencies
Expand Down

0 comments on commit 4524dec

Please sign in to comment.