Skip to content

Commit e3dfbb2

Browse files
committed
use Python 3.12 in rocky 8
1 parent 1a38e93 commit e3dfbb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,18 @@ jobs:
165165
- name: Rocky-Install dependencies
166166
run: |
167167
yum update -y
168-
yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make
168+
yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make findutils
169169
mkdir tmp && cd tmp
170-
wget https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz
171-
tar xzf Python-3.9.17.tgz
172-
cd Python-3.9.17
170+
wget https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tgz
171+
tar xzf Python-3.12.4.tgz
172+
cd Python-3.12.4
173173
./configure --enable-optimizations --enable-shared --enable-loadable-sqlite-extensions
174174
make altinstall
175175
cd ../..
176176
- name: Build executable
177177
run: |
178178
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
179-
/usr/local/bin/python3.9 -m venv venv
179+
/usr/local/bin/python3.12 -m venv venv
180180
source venv/bin/activate
181181
# for some reason, pycryptodome won't install when
182182
# setuptools is installed/upgraded, so install it before

0 commit comments

Comments
 (0)