Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a032cbb

Browse files
committedJul 1, 2024·
CI: build with manylinux_2_24
since centos7 is EOL, and it's mirrors now broken we are switching to newer manylinux version Ref: pypa/cibuildwheel#1772 Ref: pypa/manylinux#1641
1 parent c9b24b7 commit a032cbb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎.github/workflows/build-pre-release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on: [push, pull_request]
55
env:
66
CIBW_TEST_COMMAND_LINUX: "pytest --import-mode append {project}/tests/unit -k 'not (test_connection_initialization or test_cloud)'"
77
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
8-
CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
8+
CIBW_BEFORE_BUILD_LINUX: "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"
99
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
1010
CIBW_PRERELEASE_PYTHONS: True
1111
CIBW_SKIP: cp35* cp36* *musllinux*
12+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
13+
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28
1214

1315
jobs:
1416
build_wheels:

‎.github/workflows/build-push.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ env:
88
CIBW_TEST_COMMAND_MACOS: "pytest --import-mode append {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_connection_initialization or test_timer_cancellation or test_cloud)' "
99
CIBW_TEST_COMMAND_WINDOWS: "pytest --import-mode append {project}/tests/unit -k \"not (test_deserialize_date_range_year or test_datetype or test_libevreactor or test_connection_initialization or test_cloud)\" "
1010
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
11-
CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
11+
CIBW_BEFORE_BUILD_LINUX: "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"
1212
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
1313
CIBW_SKIP: cp35* cp36* *musllinux*
14+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
15+
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28
16+
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
17+
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
18+
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux_2_28
19+
CIBW_MANYLINUX_PYPY_I686_IMAGE: manylinux_2_28
1420

1521
jobs:
1622
build_wheels:

0 commit comments

Comments
 (0)
Please sign in to comment.