Skip to content

Commit

Permalink
Make: Switch from yum to dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Nov 26, 2024
1 parent 03eba14 commit 8b22064
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ manylinux-aarch64-image = "manylinux_2_28"
musllinux-x86_64-image = "musllinux_1_2"
musllinux-aarch64-image = "musllinux_1_2"

# On CentOS we have to use `yum`.
# On CentOS we have to use `dnf`.
# The healthy version would be: `apt-get update && apt-get install -y libc6-dev wget python3-dev`.
before-all = ["yum update -y && yum install -y glibc-devel wget python3-devel"]
before-all = ["dnf update -y && dnf install -y glibc-devel wget python3-devel"]

# With `musl` builds, we obviously don't need the `glibc` and can't use `yum`.
# With `musl` builds, we obviously don't need the `glibc` and can't use `dnf`.
# This may also be handy for using custom dependencies for different Python versions:
# https://cibuildwheel.readthedocs.io/en/stable/options/#overrides
[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit 8b22064

Please sign in to comment.