Skip to content

Commit

Permalink
Build on GLibc 2.28 rather than on 2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
dvolodin7 committed Jan 10, 2024
1 parent d93b33d commit 6851f86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
name: wheel_manylinux_2_17_${{ matrix.arch }}
path: wheelhouse/*.whl

# glibc 2.24, x86_64/aarch64 (Debian 9)
build-manylinux_2_24:
# glibc 2.28, x86_64/aarch64
build-manylinux_2_28:
runs-on: ubuntu-22.04
needs: build-sdist
strategy:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
-w /workdir
--user 0
--platform ${{ matrix.platform }}
quay.io/pypa/manylinux_2_24_${{ matrix.arch }}:latest
quay.io/pypa/manylinux_2_28_${{ matrix.arch }}:latest
./tools/build/build-many.sh 3.8 3.9 3.10 3.11 3.12
- name: Save Artefacts
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
needs:
- build-sdist
- build-manylinux_2_17-x86_64
- build-manylinux_2_24
- build-manylinux_2_28
# - build-musllinux-1_1
# - build-wheel-macos
steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
### Changed

* docs: Fancy front page
* Build on GLibc 2.28 rather than on 2.24

### Infrastructure

Expand Down
9 changes: 1 addition & 8 deletions tools/build/setup-snmpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,7 @@ case $OS in
/usr/sbin/snmpd --version
;;
debian)
SOURCES_LIST="/etc/apt/sources.list"
if [ -e "$SOURCES_LIST" ]; then
if grep -q "stretch main" "$SOURCES_LIST"; then
# Switch Debian9 to archive
sed -i "s/deb.debian.org/archive.debian.org/g" "$SOURCES_LIST"
fi
fi
$SUDO apt-get update || true
$SUDO apt-get update
$SUDO apt-get install -y --no-install-recommends snmpd
# Test
/usr/sbin/snmpd --version
Expand Down

0 comments on commit 6851f86

Please sign in to comment.