8000 use patched CPython in linux builds for support of old python versions · MarshalX/python-webrtc@759cf3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 759cf3d

Browse files
authored
use patched CPython in linux builds for support of old python versions
1 parent d276a7d commit 759cf3d

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.github/workflows/build_linux_wheels.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- main
66
- pypi-dev
7-
- ci-dev
87
paths:
98
- '.github/workflows/build_linux_wheels.yml'
109
- 'python-webrtc/cpp/**'
@@ -28,14 +27,11 @@ jobs:
2827
CIBW_ENVIRONMENT_PASS_LINUX: MANYLINUX_INSIDE
2928
CIBW_ARCHS: x86_64
3029
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7"
31-
# extended manylinux image with updated GCC (7.5)
30+
# extended manylinux image with updated GCC (7.5) and patched CPython
31+
# about gcc: https://github.com/pypa/manylinux/issues/1012
32+
# about patch: https://github.com/pypa/manylinux/issues/1264
3233
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/marshalx/wrtc/manylinux_2_24_x86_64:latest
33-
CIBW_BUILD: cp39-manylinux_* cp310-manylinux_*
34-
# TODO uncomment after applied patches for cpython in manylinux
35-
# there is no cp37, cp38 for now
36-
# ref: https://github.com/pypa/manylinux/issues/1264
37-
# CIBW_BUILD: cp3*-manylinux_*
38-
# CIBW_SKIP: cp36-*
34+
CIBW_BUILD: cp3*-manylinux_*
3935
CIBW_TEST_COMMAND: python -c "import wrtc; wrtc.ping()"
4036

4137
- name: Upload artifacts.

.github/workflows/build_macos_wheels.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- main
66
- pypi-dev
7-
- ci-dev
87
paths:
98
- '.github/workflows/build_macos_wheels.yml'
109
- 'python-webrtc/cpp/**'

.github/workflows/build_manylinux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
arch: [
2020
"x86_64",
21-
"aarch64",
21+
# "aarch64", # it's not possible to do on GHA because there is time limit (more then 6 hours under QEMU)
2222
]
2323

2424
steps:

build/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ARG MANYLINUX_ARCH
2-
FROM quay.io/pypa/manylinux_2_24_$MANYLINUX_ARCH AS builder
2+
# celf pathed cpython https://github.com/MarshalX/manylinux-cpython-pathes
3+
FROM quay.io/pypa_patched/manylinux_2_24_$MANYLINUX_ARCH AS builder
34

45
RUN apt-get update && apt-get install -y xz-utils libxml2 wget build-essential
56

0 commit comments

Comments
 (0)
0