From f4b2f80e37c06259ee9a9b993903e1a8ed40cf2f Mon Sep 17 00:00:00 2001 From: Patrycja Ziemkiewicz Date: Mon, 10 Aug 2026 11:25:10 +0200 Subject: [PATCH] CI: drop the unused OpenSSL installs from the wheel builds Neither install was ever used by anything we build. Windows: nothing in the job ever used it. Nothing there compiles against OpenSSL, so no headers were needed. And everything that does TLS at runtime carries its own copy - Python brings its own libssl/libcrypto, and the cryptography package has OpenSSL built in - so nothing ever looks for a system-wide install. The step just put a copy on the runner that sat unused. Linux: the same, in two halves. `openssl` was already in the manylinux image, so asking for it changed nothing. `openssl-devel` (the headers) did install something new, but nothing ever compiled against it - every test dependency arrives as a ready-made wheel, and the only one that needs OpenSSL, cryptography, has it built into that wheel. --- .github/workflows/lib-build.yml | 5 ----- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/lib-build.yml b/.github/workflows/lib-build.yml index 17505a5fd6..529e24b426 100644 --- a/.github/workflows/lib-build.yml +++ b/.github/workflows/lib-build.yml @@ -104,11 +104,6 @@ jobs: run: | uv tool install 'cibuildwheel==3.2.1' - - name: Install OpenSSL for Windows - if: runner.os == 'Windows' - run: | - choco install openssl.light --no-progress -y - - name: Install Conan if: runner.os == 'Windows' uses: turtlebrowser/get-conan@c171f295f3f507360ee018736a6608731aa2109d # v1.2 diff --git a/pyproject.toml b/pyproject.toml index 0d7a042d0e..f44f99c971 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -172,7 +172,7 @@ manylinux-pypy_aarch64-image = "manylinux_2_28" enable = ["pypy"] [tool.cibuildwheel.linux] -before-build = "rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel openssl openssl-devel lz4-devel" +before-build = "rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel lz4-devel" # Install the optional lz4 compression dependency so the lz4 segment tests run # (and fail loudly under CASS_DRIVER_NO_SKIP) instead of skipping silently. test-extras = ["compress-lz4"]