Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…perproject#1270 Use Python 3.11 in RHEL/CentOS RPM build
  • Loading branch information
jiridanek committed Dec 6, 2023
1 parent 209eb8b commit 35ba085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ do_patch () {
do_patch "patches/proton" "${PROTON_DIR}"

# This is required to install the python packages that the system tests use.
python3 -m pip install -r "${SKUPPER_DIR}"/requirements-dev.txt
python3.11 -m pip install -r "${SKUPPER_DIR}"/requirements-dev.txt

cmake -S "${PROTON_DIR}" -B "${PROTON_BUILD_DIR}" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand All @@ -145,7 +145,7 @@ cmake --install "$PROTON_BUILD_DIR"

# This will install the proton python libraries in sys.path so the tests using
# proton can be run successfully.
python3 -m pip install "$(find "$PROTON_BUILD_DIR/python/" -name 'python-qpid-proton-*.tar.gz')"
python3.11 -m pip install "$(find "$PROTON_BUILD_DIR/python/" -name 'python-qpid-proton-*.tar.gz')"

cmake -S "${SKUPPER_DIR}" -B "${SKUPPER_BUILD_DIR}" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand All @@ -157,7 +157,7 @@ cmake -S "${SKUPPER_DIR}" -B "${SKUPPER_BUILD_DIR}" \
cmake --build "${SKUPPER_BUILD_DIR}" --verbose

# Install Proton Python
python3 -m pip install --disable-pip-version-check --ignore-installed --prefix="$PROTON_INSTALL_DIR/usr" "$(find "$PROTON_BUILD_DIR/python/" -name 'python-qpid-proton-*.tar.gz')"
python3.11 -m pip install --disable-pip-version-check --ignore-installed --prefix="$PROTON_INSTALL_DIR/usr" "$(find "$PROTON_BUILD_DIR/python/" -name 'python-qpid-proton-*.tar.gz')"

tar -z -C "${PROTON_INSTALL_DIR}" -cf /qpid-proton-image.tar.gz usr

Expand Down

0 comments on commit 35ba085

Please sign in to comment.