Skip to content

Commit

Permalink
use Python 3.12 in rocky 8
Browse files Browse the repository at this point in the history
  • Loading branch information
adorton-adobe committed Jul 30, 2024
1 parent 1a38e93 commit e3dfbb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,18 @@ jobs:
- name: Rocky-Install dependencies
run: |
yum update -y
yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make
yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make findutils
mkdir tmp && cd tmp
wget https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz
tar xzf Python-3.9.17.tgz
cd Python-3.9.17
wget https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tgz
tar xzf Python-3.12.4.tgz
cd Python-3.12.4
./configure --enable-optimizations --enable-shared --enable-loadable-sqlite-extensions
make altinstall
cd ../..
- name: Build executable
run: |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
/usr/local/bin/python3.9 -m venv venv
/usr/local/bin/python3.12 -m venv venv
source venv/bin/activate
# for some reason, pycryptodome won't install when
# setuptools is installed/upgraded, so install it before
Expand Down

0 comments on commit e3dfbb2

Please sign in to comment.