Skip to content

Commit f1a4bef

Browse files
committed
pkg: remove wheels
We cannot distribute `manylinux`-compatible binaries since we must embed a (dynamically-linked) cpython interpreter.
1 parent 435daa8 commit f1a4bef

File tree

2 files changed

+1
-40
lines changed

2 files changed

+1
-40
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -228,34 +228,6 @@ jobs:
228228
run: |
229229
docker buildx imagetools inspect ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.version }}
230230
231-
build_wheels:
232-
name: Build wheels on ${{ matrix.os }}
233-
runs-on: ${{ matrix.os }}
234-
strategy:
235-
matrix:
236-
os: [ubuntu-latest, ubuntu-24.04-arm, macos-14]
237-
238-
steps:
239-
- uses: actions/checkout@v4
240-
241-
# Used to host cibuildwheel
242-
- uses: actions/setup-python@v5
243-
244-
- name: Install cibuildwheel
245-
run: python -m pip install cibuildwheel==3.0.0b1
246-
247-
- name: Build wheels
248-
run: python -m cibuildwheel --output-dir wheelhouse
249-
env:
250-
CIBW_BUILD: "cp310-*"
251-
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
252-
CIBW_BEFORE_BUILD_LINUX: "pushd /opt/_internal && tar -xvf static-libs-for-embedding-only.tar.xz && popd"
253-
254-
- uses: actions/upload-artifact@v4
255-
with:
256-
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
257-
path: ./wheelhouse/*.whl
258-
259231
build_sdist:
260232
name: Build source distribution
261233
runs-on: ubuntu-latest
@@ -271,7 +243,7 @@ jobs:
271243
path: dist/*.tar.gz
272244

273245
upload_pypi:
274-
needs: [build_wheels, build_sdist]
246+
needs: [build_sdist]
275247
runs-on: ubuntu-latest
276248
environment: pypi
277249
permissions:

pyda_core/pyda_threads.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,6 @@ int pyda_thread_detach(pthread_t thread) {
160160

161161
#ifdef LINUX
162162

163-
// manylinux target is missing this define
164-
#ifndef AT_MINSIGSTKSZ
165-
#define AT_MINSIGSTKSZ 51
166-
#endif
167-
168163
extern size_t os_minsigstksz(void);
169164
unsigned long pyda_getauxval(unsigned long type) {
170165
DEBUG_PRINTF("getauxval %lx\n", type);
@@ -224,12 +219,6 @@ void parse_proc_environ() {
224219
int pyda_sysconf(int num) {
225220
DEBUG_PRINTF("sysconf %d\n", num);
226221
#ifdef LINUX
227-
228-
// manylinux target is missing this define
229-
#ifndef _SC_SIGSTKSZ
230-
#define _SC_SIGSTKSZ 250
231-
#endif
232-
233222
if (num == _SC_SIGSTKSZ) {
234223
DEBUG_PRINTF("sigconf(_SC_SIGSTKSZ)\n");
235224
return os_minsigstksz();

0 commit comments

Comments
 (0)