From 37000eca39f456d86d1a16d0343d9195b4f0c711 Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Wed, 11 Jun 2025 11:56:22 -0500 Subject: [PATCH 1/4] enable musllinux wheels --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5f752ab8..2e8e8a1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,8 +93,6 @@ strict_equality = true ignore_missing_imports = true [tool.cibuildwheel] -# Skip musllinux builds for the moment -skip = "*-musllinux_*" test-extras = "test" test-command = "pytest {project}/tests" From ea54611bc420b88aac40f66df09887a747c756ba Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Wed, 11 Jun 2025 12:23:19 -0500 Subject: [PATCH 2/4] see if we can wrangle apk --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2e8e8a1c..f8e53278 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,8 +98,8 @@ test-command = "pytest {project}/tests" [tool.cibuildwheel.linux] before-all = [ - "yum update -y", - "yum install -y mpfr-devel", + "if command -v yum > /dev/null; then yum update -y; yum install -y mpfr-devel; fi", + "if command -v apk > /dev/null; then apk update; apk install mpfr-dev; fi", "curl -L https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 -o boost_1_87_0.tar.bz2", "tar --bzip2 -xf boost_1_87_0.tar.bz2", "mv boost_1_87_0/boost /usr/include/boost", From 4134fc8afee8a33a2ef25578201adf3c0dbfb03f Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Wed, 11 Jun 2025 12:43:38 -0500 Subject: [PATCH 3/4] apk add, not install; handle eventuality of debian --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f8e53278..6bdc1115 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,7 +99,8 @@ test-command = "pytest {project}/tests" [tool.cibuildwheel.linux] before-all = [ "if command -v yum > /dev/null; then yum update -y; yum install -y mpfr-devel; fi", - "if command -v apk > /dev/null; then apk update; apk install mpfr-dev; fi", + "if command -v apt-get > /dev/null; then apt-get update -y; apt-get install -y libmpfr-dev; fi", + "if command -v apk > /dev/null; then apk update; apk add mpfr-dev; fi", "curl -L https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 -o boost_1_87_0.tar.bz2", "tar --bzip2 -xf boost_1_87_0.tar.bz2", "mv boost_1_87_0/boost /usr/include/boost", From 75241ff1661be6fc334d8c2a01e15f142849a86d Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Wed, 11 Jun 2025 12:56:00 -0500 Subject: [PATCH 4/4] need to add gmp-dev as well --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6bdc1115..d282a4b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,7 +100,7 @@ test-command = "pytest {project}/tests" before-all = [ "if command -v yum > /dev/null; then yum update -y; yum install -y mpfr-devel; fi", "if command -v apt-get > /dev/null; then apt-get update -y; apt-get install -y libmpfr-dev; fi", - "if command -v apk > /dev/null; then apk update; apk add mpfr-dev; fi", + "if command -v apk > /dev/null; then apk update; apk add mpfr-dev gmp-dev; fi", "curl -L https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 -o boost_1_87_0.tar.bz2", "tar --bzip2 -xf boost_1_87_0.tar.bz2", "mv boost_1_87_0/boost /usr/include/boost",