Fix variable name for version info in CMake config

Rename EXAMPLE_VERSION_INFO to PYLIBBPF_VERSION_INFO and disable Linux
system dependencies installation
This commit is contained in:
2025-09-21 00:19:14 +05:30
parent 6eca0716d8
commit 14f1bb799d
2 changed files with 5 additions and 5 deletions

View File

@ -55,10 +55,10 @@ jobs:
CIBW_BUILD: "cp38-* cp311-*"
CIBW_SKIP: "*-musllinux*" # Skip musl builds, focus on glibc
# Install minimal system dependencies before building
CIBW_BEFORE_ALL_LINUX: >
yum install -y make gcc-c++ kernel-headers ||
(apt-get update && apt-get install -y build-essential linux-headers-generic)
# # Install minimal system dependencies before building
# CIBW_BEFORE_ALL_LINUX: >
# yum install -y make gcc-c++ kernel-headers ||
# (apt-get update && apt-get install -y build-essential linux-headers-generic)
# Test the built wheels
CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'"