File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ jobs:
434434 # Enable EPEL for additional packages
435435 dnf update -y
436436 dnf install -y epel-release
437- dnf install -y python3 python3-pip python3-devel cmake curl wget gnupg2 gcc gcc-c++ make glibc-devel kernel-headers
437+ dnf install -y python3.13 python3.13 -pip python3.13 -devel cmake curl wget gnupg2 gcc gcc-c++ make glibc-devel kernel-headers
438438 # Install gcc and g++ individually since Development Tools group is not available in UBI
439439 # First try to install gcc and g++ from available repositories
440440 dnf install -y gcc gcc-c++ make binutils
@@ -501,7 +501,7 @@ jobs:
501501 # Install Python dependencies in the container using virtual environment
502502 docker exec test-container-rhel9 bash -c "
503503 # Create a virtual environment
504- python3 -m venv /opt/venv
504+ python3.13 -m venv /opt/venv
505505 source /opt/venv/bin/activate
506506
507507 # Install dependencies in the virtual environment
@@ -522,6 +522,10 @@ jobs:
522522 export CC=/usr/bin/gcc
523523 export CXX=/usr/bin/g++
524524
525+ # Set Python development paths explicitly
526+ export PYTHON_INCLUDE_DIR=/usr/include/python3.13
527+ export PYTHON_LIBRARY=/usr/lib64/libpython3.13.so
528+
525529 cd mssql_python/pybind
526530 chmod +x build.sh
527531 ./build.sh
You can’t perform that action at this time.
0 commit comments