Skip to content

Commit ac33d2f

Browse files
hunhoffeclaude
andcommitted
mlir_aie_wheels: regenerate lockfiles without the uv dependency
The previous commit's switch to `uv pip compile --universal` solved the cross-platform-resolution problem (delvewheel-on-Linux drops it from the lock), but added uv as a new tool the maintenance workflow depends on. Backing that out: - ci-tools.in: drop the `; platform_system == "Windows"` marker on delvewheel. delvewheel ships as a universal `py3-none-any` wheel, so installing it on Linux is harmless (~50 KB unused). With no Windows-only entry left, plain pip-compile from a Linux host resolves the file correctly. auditwheel + patchelf keep their Linux markers (those genuinely have no Windows wheel). - requirements.lock: regenerated with pip-compile inside a Python 3.10 container (`docker run --rm python:3.10-slim ...`). Numpy still pins to 2.2.6 — the matrix-Python fix from the prior commit is unchanged. The refresh recipe in ci-tools.in is updated back to plain pip-compile, with a one-line note explaining why delvewheel is intentionally unmarked. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
1 parent 820409c commit ac33d2f

3 files changed

Lines changed: 36 additions & 43 deletions

File tree

utils/mlir_aie_wheels/ci-tools.in

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Auxiliary tools used by the wheel-build CI workflows.
2-
# Platform markers: auditwheel/patchelf are Linux-only (ELF wheel repair);
3-
# delvewheel is Windows-only (PE wheel repair); pkginfo is cross-platform.
4-
# Compile with: uv pip compile --generate-hashes --universal -o ci-tools.lock ci-tools.in
5-
# (uv is required for --universal to keep the Windows-only delvewheel pin
6-
# resolvable from a Linux host; pip-compile would silently drop it.)
2+
# Linux-only: auditwheel + patchelf (neither has a Windows wheel).
3+
# delvewheel is only USED on Windows but ships as a pure-Python universal
4+
# wheel, so we leave it unmarked (installs harmlessly on Linux too). This
5+
# keeps the lockfile resolvable by plain pip-compile from a Linux host
6+
# without needing a cross-platform resolver like uv.
7+
# Compile with:
8+
# pip-compile --generate-hashes --allow-unsafe -o ci-tools.lock ci-tools.in
79
auditwheel; platform_system == "Linux"
8-
delvewheel; platform_system == "Windows"
10+
delvewheel
911
patchelf; platform_system == "Linux"
1012
pkginfo
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --universal -o ci-tools.lock ci-tools.in
3-
auditwheel==6.6.0 ; sys_platform == 'linux' \
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --generate-hashes --output-file=ci-tools.lock --strip-extras ci-tools.in
6+
#
7+
auditwheel==6.6.0 ; platform_system == "Linux" \
48
--hash=sha256:277f3b315ad0b04df0a2be2d126c3fd39930bc265df0f9589d78c970ff06f52b \
59
--hash=sha256:3e8479856ca582625b5457204cbb62d1614d3bc7e760ee307c04c34c912ebcad
610
# via -r ci-tools.in
7-
delvewheel==1.12.1 ; sys_platform == 'win32' \
11+
delvewheel==1.12.1 \
812
--hash=sha256:19ce88ba99e47c4fe452d5cc394d371499446b922ea2ae0d13682f636d980915 \
913
--hash=sha256:e2531715791e55417329749d47cef5ca0924d6a5565d5bbcd2dd0d5d6b1025f2
1014
# via -r ci-tools.in
11-
packaging==26.2 ; sys_platform == 'linux' \
15+
packaging==26.2 \
1216
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
1317
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
1418
# via auditwheel
15-
patchelf==0.17.2.4 ; sys_platform == 'linux' \
19+
patchelf==0.17.2.4 ; platform_system == "Linux" \
1620
--hash=sha256:09fd848d625a165fc7b7e07745508c24077129b019c4415a882938781d43adf8 \
1721
--hash=sha256:2931a1b5b85f3549661898af7bf746afbda7903c7c9a967cfc998a3563f84fad \
1822
--hash=sha256:343bb1b94e959f9070ca9607453b04390e36bbaa33c88640b989cefad0aa049e \
@@ -23,15 +27,15 @@ patchelf==0.17.2.4 ; sys_platform == 'linux' \
2327
--hash=sha256:d842b51f0401460f3b1f3a3a67d2c266a8f515a5adfbfa6e7b656cb3ac2ed8bc \
2428
--hash=sha256:d9b35ebfada70c02679ad036407d9724ffe1255122ba4ac5e4be5868618a5689
2529
# via -r ci-tools.in
26-
pefile==2024.8.26 ; sys_platform == 'win32' \
30+
pefile==2024.8.26 \
2731
--hash=sha256:3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632 \
2832
--hash=sha256:76f8b485dcd3b1bb8166f1128d395fa3d87af26360c2358fb75b80019b957c6f
2933
# via delvewheel
3034
pkginfo==1.12.1.2 \
3135
--hash=sha256:5cd957824ac36f140260964eba3c6be6442a8359b8c48f4adf90210f33a04b7b \
3236
--hash=sha256:c783ac885519cab2c34927ccfa6bf64b5a704d7c69afaea583dd9b7afe969343
3337
# via -r ci-tools.in
34-
pyelftools==0.32 ; sys_platform == 'linux' \
38+
pyelftools==0.32 \
3539
--hash=sha256:013df952a006db5e138b1edf6d8a68ecc50630adbd0d83a2d41e7f846163d738 \
3640
--hash=sha256:6de90ee7b8263e740c8715a925382d4099b354f29ac48ea40d840cf7aa14ace5
3741
# via auditwheel

utils/mlir_aie_wheels/requirements.lock

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --generate-hashes --universal --python-version 3.10 -o requirements.lock requirements.txt
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --generate-hashes --output-file=requirements.lock --strip-extras requirements.txt
6+
#
37
cmake==4.3.2 \
48
--hash=sha256:2b81038453a40aed73f8d28185c4c3ef43c3a91a7ff1577ce08e498769ecfe16 \
59
--hash=sha256:339655b93289c1b03c6a72523d46d3b0d19dc51406d3a90f8eefcbec525cb271 \
@@ -41,25 +45,6 @@ nanobind==2.12.0 \
4145
--hash=sha256:0ae77c1a88f27153fa57045ee00f7b0a7b06b1cd3df942e95a34b38c5d0a5bee \
4246
--hash=sha256:a10d3d88e691dcdf22696f9acd893fda3c5a05635763aea238829d274fcad480
4347
# via -r requirements.txt
44-
ninja==1.11.1.4 ; sys_platform == 'win32' \
45-
--hash=sha256:055f386fb550c2c9d6157e45e20a84d29c47968876b9c5794ae2aec46f952306 \
46-
--hash=sha256:096487995473320de7f65d622c3f1d16c3ad174797602218ca8c967f51ec38a0 \
47-
--hash=sha256:2ab67a41c90bea5ec4b795bab084bc0b3b3bb69d3cd21ca0294fc0fc15a111eb \
48-
--hash=sha256:4617b3c12ff64b611a7d93fd9e378275512bb36eff8babff7c83f5116b4f8d66 \
49-
--hash=sha256:5713cf50c5be50084a8693308a63ecf9e55c3132a78a41ab1363a28b6caaaee1 \
50-
--hash=sha256:6aa39f6e894e0452e5b297327db00019383ae55d5d9c57c73b04f13bf79d438a \
51-
--hash=sha256:9c29bb66d2aa46a2409ab369ea804c730faec7652e8c22c1e428cc09216543e5 \
52-
--hash=sha256:b33923c8da88e8da20b6053e38deb433f53656441614207e01d283ad02c5e8e7 \
53-
--hash=sha256:c3b96bd875f3ef1db782470e9e41d7508905a0986571f219d20ffed238befa15 \
54-
--hash=sha256:cede0af00b58e27b31f2482ba83292a8e9171cdb9acc2c867a3b6e40b3353e43 \
55-
--hash=sha256:cf4453679d15babc04ba023d68d091bb613091b67101c88f85d2171c6621c6eb \
56-
--hash=sha256:cf554e73f72c04deb04d0cf51f5fdb1903d9c9ca3d2344249c8ce3bd616ebc02 \
57-
--hash=sha256:cfdd09776436a1ff3c4a2558d3fc50a689fb9d7f1bdbc3e6f7b8c2991341ddb3 \
58-
--hash=sha256:d3090d4488fadf6047d0d7a1db0c9643a8d391f0d94729554dbb89b5bdc769d7 \
59-
--hash=sha256:d4a6f159b08b0ac4aca5ee1572e3e402f969139e71d85d37c0e2872129098749 \
60-
--hash=sha256:ecce44a00325a93631792974659cf253a815cc6da4ec96f89742925dfc295a0d \
61-
--hash=sha256:f6186d7607bb090c3be1e10c8a56b690be238f953616626f5032238c66e56867
62-
# via -r requirements.txt
6348
numpy==2.2.6 \
6449
--hash=sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff \
6550
--hash=sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47 \
@@ -121,10 +106,6 @@ packaging==26.2 \
121106
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
122107
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
123108
# via wheel
124-
pip==26.1.1 \
125-
--hash=sha256:99cb1c2899893b075ff56e4ed0af55669a955b49ad7fb8d8603ecdaf4ed653fb \
126-
--hash=sha256:d36762751d156a4ee895de8af39aa0abeeeb577f93a2eca6ab62467bbf0f8a78
127-
# via -r requirements.txt
128109
pybind11==3.0.4 \
129110
--hash=sha256:3286b59c8a774b9ee650169302dd5a4eedc30a8617905a0560dd8ee44775130c \
130111
--hash=sha256:961720ee652da51d531b7b2451a6bd2bc042b0106e6d9baa48ecb7d58034ce63
@@ -141,10 +122,6 @@ rich==15.0.0 \
141122
--hash=sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb \
142123
--hash=sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36
143124
# via -r requirements.txt
144-
setuptools==82.0.1 \
145-
--hash=sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9 \
146-
--hash=sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb
147-
# via -r requirements.txt
148125
wheel==0.47.0 \
149126
--hash=sha256:212281cab4dff978f6cedd499cd893e1f620791ca6ff7107cf270781e587eced \
150127
--hash=sha256:cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02fa3c9b3
@@ -153,3 +130,13 @@ zipp==3.23.1 \
153130
--hash=sha256:0b3596c50a5c700c9cb40ba8d86d9f2cc4807e9bedb06bcdf7fac85633e444dc \
154131
--hash=sha256:32120e378d32cd9714ad503c1d024619063ec28aad2248dc6672ad13edfa5110
155132
# via importlib-metadata
133+
134+
# The following packages are considered to be unsafe in a requirements file:
135+
pip==26.1.1 \
136+
--hash=sha256:99cb1c2899893b075ff56e4ed0af55669a955b49ad7fb8d8603ecdaf4ed653fb \
137+
--hash=sha256:d36762751d156a4ee895de8af39aa0abeeeb577f93a2eca6ab62467bbf0f8a78
138+
# via -r requirements.txt
139+
setuptools==82.0.1 \
140+
--hash=sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9 \
141+
--hash=sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb
142+
# via -r requirements.txt

0 commit comments

Comments
 (0)