diff --git a/.github/workflows/python-package-tests.yml b/.github/workflows/python-package-tests.yml index cdec3fe..246e503 100644 --- a/.github/workflows/python-package-tests.yml +++ b/.github/workflows/python-package-tests.yml @@ -18,27 +18,13 @@ jobs: with: fetch-depth: 0 - - name: Install dependencies for Python build - run: | - dnf install -y dnf-plugins-core - dnf install -y gcc openssl openssl-devel bzip2-devel libffi-devel zlib-devel make wget curl-minimal - dnf install -y git + - name: Setup Python 3 + uses: actions/setup-python@v5 + with: + python-version: "3.10" - - name: Download and Install Python 3.10 from Source - run: | - PYTHON_VERSION=3.10.12 - wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz - tar -xzf Python-$PYTHON_VERSION.tgz - cd Python-$PYTHON_VERSION - ./configure --enable-optimizations - make -j $(nproc) - make altinstall # This installs it as `python3.10` without overwriting the default `python3` - ln -s /usr/local/bin/python3.10 /usr/local/bin/python # Link it as `python` - - - name: Verify Python and SSL module - run: | - python --version - python -c "import ssl; print('SSL support is available:', ssl.OPENSSL_VERSION)" + - name: Install prerequisites + run: dnf install -y git - name: Install Torque run: | diff --git a/pbs/_pbs.cpython-310-x86_64-linux-gnu.so b/pbs/_pbs.cpython-310-x86_64-linux-gnu.so deleted file mode 100755 index ba4523b..0000000 Binary files a/pbs/_pbs.cpython-310-x86_64-linux-gnu.so and /dev/null differ diff --git a/pbs/_pbs.cpython-38-x86_64-linux-gnu.so b/pbs/_pbs.cpython-38-x86_64-linux-gnu.so deleted file mode 100755 index 55106bb..0000000 Binary files a/pbs/_pbs.cpython-38-x86_64-linux-gnu.so and /dev/null differ