Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch cupy-core to allow it to be installed in CPU-only envs #715

Closed
wants to merge 1 commit into from

Conversation

leofang
Copy link
Member

@leofang leofang commented Apr 22, 2024

xref: conda-forge/cupy-feedstock#264 (comment)

Checklist

  • Used a static YAML file for the patch if possible (instructions).
  • Only wrote code directly into generate_patch_json.py if absolutely necessary.
  • Ran pre-commit run -a and ensured all files pass the linting checks.
  • Ran python show_diff.py and posted the output as part of the PR.
  • Modifications won't affect packages built in the future.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@leofang
Copy link
Member Author

leofang commented Apr 22, 2024

@conda-forge/cupy this is ready

Diff as generated by CI
2024-04-22T02:55:20.2449476Z ================================================================================
2024-04-22T02:55:20.2451005Z ================================================================================
2024-04-22T02:55:20.2453289Z linux-aarch64
2024-04-22T02:55:20.2454993Z linux-aarch64::cupy-core-13.0.0-py310h0041da6_0.conda
2024-04-22T02:55:20.2456722Z linux-aarch64::cupy-core-13.0.0-py312hfefec42_1.conda
2024-04-22T02:55:20.2460181Z linux-aarch64::cupy-core-13.0.0-py310h0041da6_1.conda
2024-04-22T02:55:20.2469039Z linux-aarch64::cupy-core-13.1.0-py310h286e779_0.conda
2024-04-22T02:55:20.2472014Z linux-aarch64::cupy-core-13.0.0-py312hfefec42_0.conda
2024-04-22T02:55:20.2472557Z linux-aarch64::cupy-core-13.0.0-py310h0041da6_3.conda
2024-04-22T02:55:20.2474525Z linux-aarch64::cupy-core-13.0.0-py312hfefec42_2.conda
2024-04-22T02:55:20.2477063Z linux-aarch64::cupy-core-13.0.0-py39h729f14b_3.conda
2024-04-22T02:55:20.2479197Z linux-aarch64::cupy-core-13.1.0-py311hfb1d2d9_0.conda
2024-04-22T02:55:20.2480181Z linux-aarch64::cupy-core-13.0.0-py39h729f14b_2.conda
2024-04-22T02:55:20.2480522Z linux-aarch64::cupy-core-13.0.0-py311h51108e9_2.conda
2024-04-22T02:55:20.2480947Z linux-aarch64::cupy-core-13.1.0-py312h6b0ed8c_0.conda
2024-04-22T02:55:20.2725390Z linux-aarch64::cupy-core-13.0.0-py310h0041da6_2.conda
2024-04-22T02:55:20.2726405Z linux-aarch64::cupy-core-13.1.0-py39h03454e2_0.conda
2024-04-22T02:55:20.2728093Z linux-aarch64::cupy-core-13.0.0-py39h729f14b_1.conda
2024-04-22T02:55:20.2728744Z linux-aarch64::cupy-core-13.0.0-py312hfefec42_3.conda
2024-04-22T02:55:20.2729203Z linux-aarch64::cupy-core-13.0.0-py39h729f14b_0.conda
2024-04-22T02:55:20.2731048Z linux-aarch64::cupy-core-13.0.0-py311h51108e9_1.conda
2024-04-22T02:55:20.2731994Z linux-aarch64::cupy-core-13.0.0-py311h51108e9_3.conda
2024-04-22T02:55:20.2732593Z linux-aarch64::cupy-core-13.0.0-py311h51108e9_0.conda
2024-04-22T02:55:20.2733066Z +    "cuda-version >=12.0,<13",
2024-04-22T02:55:20.2738861Z -    "cuda-version >=12.0,<13",
2024-04-22T02:55:20.2739493Z linux-aarch64::cupy-core-13.0.0-py311h5731f48_0.conda
2024-04-22T02:55:20.2740016Z linux-aarch64::cupy-core-13.0.0-py310h64edbf0_0.conda
2024-04-22T02:55:20.2740527Z linux-aarch64::cupy-core-13.1.0-py39h92e6a35_0.conda
2024-04-22T02:55:20.2741150Z linux-aarch64::cupy-core-13.0.0-py312hfb1faee_1.conda
2024-04-22T02:55:20.2741841Z linux-aarch64::cupy-core-13.0.0-py310h64edbf0_2.conda
2024-04-22T02:55:20.2742309Z linux-aarch64::cupy-core-13.0.0-py311h5731f48_3.conda
2024-04-22T02:55:20.2743330Z linux-aarch64::cupy-core-13.0.0-py311h5731f48_1.conda
2024-04-22T02:55:20.2743835Z linux-aarch64::cupy-core-13.0.0-py312hfb1faee_3.conda
2024-04-22T02:55:20.2744306Z linux-aarch64::cupy-core-13.0.0-py312hfb1faee_2.conda
2024-04-22T02:55:20.2744852Z linux-aarch64::cupy-core-13.0.0-py39h56bfa97_3.conda
2024-04-22T02:55:20.2745326Z linux-aarch64::cupy-core-13.0.0-py39h56bfa97_0.conda
2024-04-22T02:55:20.2745997Z linux-aarch64::cupy-core-13.0.0-py312hfb1faee_0.conda
2024-04-22T02:55:20.2746783Z linux-aarch64::cupy-core-13.1.0-py311hb00d3a6_0.conda
2024-04-22T02:55:20.2747409Z linux-aarch64::cupy-core-13.1.0-py312h8166c1b_0.conda
2024-04-22T02:55:20.2747898Z linux-aarch64::cupy-core-13.0.0-py39h56bfa97_1.conda
2024-04-22T02:55:20.2748404Z linux-aarch64::cupy-core-13.1.0-py310haa0ba54_0.conda
2024-04-22T02:55:20.2748912Z linux-aarch64::cupy-core-13.0.0-py310h64edbf0_1.conda
2024-04-22T02:55:20.2749399Z linux-aarch64::cupy-core-13.0.0-py311h5731f48_2.conda
2024-04-22T02:55:20.2749912Z linux-aarch64::cupy-core-13.0.0-py310h64edbf0_3.conda
2024-04-22T02:55:20.2750395Z linux-aarch64::cupy-core-13.0.0-py39h56bfa97_2.conda
2024-04-22T02:55:20.2750838Z +    "cuda-version >=11.2,<12",
2024-04-22T02:55:20.2751230Z -    "cuda-version >=11.2,<12",
2024-04-22T02:55:20.2751482Z 
2024-04-22T02:55:20.2751676Z 
2024-04-22T02:58:39.6874816Z patching repodata:  33%|███▎      | 3/9 [08:25<16:30, 165.12s/it]
2024-04-22T02:58:39.6875687Z ================================================================================
2024-04-22T02:58:39.6876236Z ================================================================================
2024-04-22T02:58:39.6920036Z linux-ppc64le
2024-04-22T02:58:39.6988184Z linux-ppc64le::cupy-core-13.0.0-py311hf2bd41a_3.conda
2024-04-22T02:58:39.6992132Z linux-ppc64le::cupy-core-13.0.0-py311hf2bd41a_2.conda
2024-04-22T02:58:39.6992895Z linux-ppc64le::cupy-core-13.0.0-py39h0db721b_0.conda
2024-04-22T02:58:39.6993368Z linux-ppc64le::cupy-core-13.0.0-py311hf2bd41a_0.conda
2024-04-22T02:58:39.6993844Z linux-ppc64le::cupy-core-13.0.0-py310h06be86b_0.conda
2024-04-22T02:58:39.6994325Z linux-ppc64le::cupy-core-13.0.0-py310h06be86b_1.conda
2024-04-22T02:58:39.6994766Z linux-ppc64le::cupy-core-13.1.0-py39h563b244_0.conda
2024-04-22T02:58:39.6995195Z linux-ppc64le::cupy-core-13.0.0-py312h651137f_2.conda
2024-04-22T02:58:39.6995610Z linux-ppc64le::cupy-core-13.0.0-py312h651137f_3.conda
2024-04-22T02:58:39.6996202Z linux-ppc64le::cupy-core-13.1.0-py310h3334525_0.conda
2024-04-22T02:58:39.6996967Z linux-ppc64le::cupy-core-13.0.0-py39h0db721b_1.conda
2024-04-22T02:58:39.6997398Z linux-ppc64le::cupy-core-13.0.0-py312h651137f_0.conda
2024-04-22T02:58:39.6997812Z linux-ppc64le::cupy-core-13.0.0-py310h06be86b_3.conda
2024-04-22T02:58:39.6998500Z linux-ppc64le::cupy-core-13.1.0-py312ha39bd39_0.conda
2024-04-22T02:58:39.6999040Z linux-ppc64le::cupy-core-13.0.0-py39h0db721b_2.conda
2024-04-22T02:58:39.6999793Z linux-ppc64le::cupy-core-13.1.0-py311h7840cb5_0.conda
2024-04-22T02:58:39.7000978Z linux-ppc64le::cupy-core-13.0.0-py311hf2bd41a_1.conda
2024-04-22T02:58:39.7001745Z linux-ppc64le::cupy-core-13.0.0-py312h651137f_1.conda
2024-04-22T02:58:39.7002478Z linux-ppc64le::cupy-core-13.0.0-py39h0db721b_3.conda
2024-04-22T02:58:39.7003104Z linux-ppc64le::cupy-core-13.0.0-py310h06be86b_2.conda
2024-04-22T02:58:39.7003513Z +    "cuda-version >=11.2,<12",
2024-04-22T02:58:39.7003867Z -    "cuda-version >=11.2,<12",
2024-04-22T02:58:39.7004285Z linux-ppc64le::cupy-core-13.0.0-py312h3eebca2_0.conda
2024-04-22T02:58:39.7004712Z linux-ppc64le::cupy-core-13.1.0-py39h933c04a_0.conda
2024-04-22T02:58:39.7005151Z linux-ppc64le::cupy-core-13.0.0-py39h47ed449_3.conda
2024-04-22T02:58:39.7005771Z linux-ppc64le::cupy-core-13.1.0-py312hdb6dc4a_0.conda
2024-04-22T02:58:39.7006383Z linux-ppc64le::cupy-core-13.1.0-py310hfb04a04_0.conda
2024-04-22T02:58:39.7007000Z linux-ppc64le::cupy-core-13.0.0-py39h47ed449_2.conda
2024-04-22T02:58:39.7007585Z linux-ppc64le::cupy-core-13.1.0-py311hf2f82ea_0.conda
2024-04-22T02:58:39.7008348Z linux-ppc64le::cupy-core-13.0.0-py311h886aa8d_2.conda
2024-04-22T02:58:39.7008949Z linux-ppc64le::cupy-core-13.0.0-py310hea0855a_1.conda
2024-04-22T02:58:39.7009381Z linux-ppc64le::cupy-core-13.0.0-py312h3eebca2_1.conda
2024-04-22T02:58:39.7009782Z linux-ppc64le::cupy-core-13.0.0-py311h886aa8d_1.conda
2024-04-22T02:58:39.7010210Z linux-ppc64le::cupy-core-13.0.0-py312h3eebca2_2.conda
2024-04-22T02:58:39.7010633Z linux-ppc64le::cupy-core-13.0.0-py310hea0855a_2.conda
2024-04-22T02:58:39.7011037Z linux-ppc64le::cupy-core-13.0.0-py312h3eebca2_3.conda
2024-04-22T02:58:39.7011466Z linux-ppc64le::cupy-core-13.0.0-py311h886aa8d_3.conda
2024-04-22T02:58:39.7011872Z linux-ppc64le::cupy-core-13.0.0-py310hea0855a_0.conda
2024-04-22T02:58:39.7012297Z linux-ppc64le::cupy-core-13.0.0-py310hea0855a_3.conda
2024-04-22T02:58:39.7012705Z linux-ppc64le::cupy-core-13.0.0-py39h47ed449_1.conda
2024-04-22T02:58:39.7013130Z linux-ppc64le::cupy-core-13.0.0-py311h886aa8d_0.conda
2024-04-22T02:58:39.7013552Z linux-ppc64le::cupy-core-13.0.0-py39h47ed449_0.conda
2024-04-22T02:58:39.7013923Z +    "cuda-version >=12.0,<13",
2024-04-22T02:58:39.7014279Z -    "cuda-version >=12.0,<13",
2024-04-22T02:58:39.7014477Z 
2024-04-22T02:58:39.7014644Z 
2024-04-22T02:58:41.5247172Z patching repodata:  44%|████▍     | 4/9 [11:44<14:53, 178.67s/it]
2024-04-22T02:58:41.5247907Z ================================================================================
2024-04-22T02:58:41.5248245Z ================================================================================
2024-04-22T02:58:41.5248503Z linux-64
2024-04-22T02:58:41.5248811Z linux-64::cupy-core-13.0.0-py311heecd119_2.conda
2024-04-22T02:58:41.5249318Z linux-64::cupy-core-13.0.0-py311heecd119_0.conda
2024-04-22T02:58:41.5249606Z linux-64::cupy-core-13.0.0-py311heecd119_1.conda
2024-04-22T02:58:41.5251230Z linux-64::cupy-core-13.0.0-py310h506062a_1.conda
2024-04-22T02:58:41.5252523Z linux-64::cupy-core-13.0.0-py312hd7a312d_1.conda
2024-04-22T02:58:41.5307580Z linux-64::cupy-core-13.0.0-py310h506062a_3.conda
2024-04-22T02:58:41.5309583Z linux-64::cupy-core-13.0.0-py312hd7a312d_3.conda
2024-04-22T02:58:41.5311528Z linux-64::cupy-core-13.0.0-py312hd7a312d_2.conda
2024-04-22T02:58:41.5319505Z linux-64::cupy-core-13.1.0-py311h7bf26e7_0.conda
2024-04-22T02:58:41.5348714Z linux-64::cupy-core-13.1.0-py39h4d139e5_0.conda
2024-04-22T02:58:41.5349558Z linux-64::cupy-core-13.0.0-py39h546db9d_3.conda
2024-04-22T02:58:41.5350188Z linux-64::cupy-core-13.0.0-py310h506062a_0.conda
2024-04-22T02:58:41.5350743Z linux-64::cupy-core-13.0.0-py311heecd119_3.conda
2024-04-22T02:58:41.5351740Z linux-64::cupy-core-13.0.0-py310h506062a_2.conda
2024-04-22T02:58:41.5352282Z linux-64::cupy-core-13.1.0-py312h53955ab_0.conda
2024-04-22T02:58:41.5352840Z linux-64::cupy-core-13.1.0-py310h71e26cc_0.conda
2024-04-22T02:58:41.5353389Z linux-64::cupy-core-13.0.0-py39h546db9d_0.conda
2024-04-22T02:58:41.5353916Z linux-64::cupy-core-13.0.0-py39h546db9d_2.conda
2024-04-22T02:58:41.5355903Z linux-64::cupy-core-13.0.0-py312hd7a312d_0.conda
2024-04-22T02:58:41.5357635Z linux-64::cupy-core-13.0.0-py39h546db9d_1.conda
2024-04-22T02:58:41.5358312Z +    "cuda-version >=11.2,<12",
2024-04-22T02:58:41.5358844Z -    "cuda-version >=11.2,<12",
2024-04-22T02:58:41.5359430Z linux-64::cupy-core-13.0.0-py312h7d03b9e_2.conda
2024-04-22T02:58:41.5360004Z linux-64::cupy-core-13.0.0-py39h73a3b7e_1.conda
2024-04-22T02:58:41.5360594Z linux-64::cupy-core-13.0.0-py39h73a3b7e_2.conda
2024-04-22T02:58:41.5361335Z linux-64::cupy-core-13.0.0-py311h84cfafc_0.conda
2024-04-22T02:58:41.5362069Z linux-64::cupy-core-13.0.0-py312h7d03b9e_1.conda
2024-04-22T02:58:41.5362848Z linux-64::cupy-core-13.1.0-py311hcaf8c67_0.conda
2024-04-22T02:58:41.5363553Z linux-64::cupy-core-13.0.0-py311h84cfafc_1.conda
2024-04-22T02:58:41.5364100Z linux-64::cupy-core-13.1.0-py310h4e1f601_0.conda
2024-04-22T02:58:41.5364413Z 
2024-04-22T02:58:41.5365441Z patching repodata:  56%|█████▌    | 5/9 [11:46<07:39, 114.90s/it]linux-64::cupy-core-13.0.0-py312h7d03b9e_3.conda
2024-04-22T02:58:41.5366828Z linux-64::cupy-core-13.1.0-py312h32b1536_0.conda
2024-04-22T02:58:41.5367429Z linux-64::cupy-core-13.0.0-py310had4011e_2.conda
2024-04-22T02:58:41.5368331Z linux-64::cupy-core-13.0.0-py39h73a3b7e_0.conda
2024-04-22T02:58:41.5368907Z linux-64::cupy-core-13.0.0-py311h84cfafc_2.conda
2024-04-22T02:58:41.5369608Z linux-64::cupy-core-13.0.0-py310had4011e_1.conda
2024-04-22T02:58:41.5370164Z linux-64::cupy-core-13.0.0-py310had4011e_0.conda
2024-04-22T02:58:41.5371060Z linux-64::cupy-core-13.0.0-py39h73a3b7e_3.conda
2024-04-22T02:58:41.5372128Z linux-64::cupy-core-13.0.0-py311h84cfafc_3.conda
2024-04-22T02:58:41.5372706Z linux-64::cupy-core-13.0.0-py310had4011e_3.conda
2024-04-22T02:58:41.5373245Z linux-64::cupy-core-13.1.0-py39h2ebe206_0.conda
2024-04-22T02:58:41.5373957Z linux-64::cupy-core-13.0.0-py312h7d03b9e_0.conda
2024-04-22T02:58:41.5374444Z +    "cuda-version >=12.0,<13",
2024-04-22T02:58:41.5375081Z -    "cuda-version >=12.0,<13",
2024-04-22T02:58:41.5375359Z 
2024-04-22T03:01:45.9362026Z 
2024-04-22T03:01:45.9363879Z ================================================================================
2024-04-22T03:01:45.9411238Z ================================================================================
2024-04-22T03:01:45.9412171Z osx-arm64
2024-04-22T03:01:45.9412521Z 
2024-04-22T03:01:45.9412716Z 
2024-04-22T03:02:22.0785387Z patching repodata:  67%|██████▋   | 6/9 [14:51<06:55, 138.54s/it]
2024-04-22T03:02:22.0873534Z 
2024-04-22T03:02:22.0876311Z patching repodata:  78%|███████▊  | 7/9 [15:27<03:30, 105.06s/it]================================================================================
2024-04-22T03:02:22.0877041Z ================================================================================
2024-04-22T03:02:22.0877680Z win-32
2024-04-22T03:02:22.0877949Z 
2024-04-22T03:08:59.7567385Z 
2024-04-22T03:08:59.7570354Z patching repodata:  89%|████████▉ | 8/9 [22:04<03:18, 198.22s/it]
2024-04-22T03:08:59.7572795Z ================================================================================
2024-04-22T03:08:59.7573909Z ================================================================================
2024-04-22T03:08:59.7574356Z osx-64
2024-04-22T03:08:59.7574573Z 
2024-04-22T03:09:56.1589045Z 
2024-04-22T03:09:56.1600346Z ================================================================================
2024-04-22T03:09:56.1631959Z ================================================================================
2024-04-22T03:09:56.1716166Z win-64
2024-04-22T03:09:56.1720059Z win-64::cupy-core-13.0.0-py312h45abdf0_1.conda
2024-04-22T03:09:56.1723942Z win-64::cupy-core-13.1.0-py312hc4c34ec_0.conda
2024-04-22T03:09:56.1726626Z win-64::cupy-core-13.0.0-py311h9e98bd7_1.conda
2024-04-22T03:09:56.1731670Z win-64::cupy-core-13.0.0-py39h0e644fc_2.conda
2024-04-22T03:09:56.1735415Z win-64::cupy-core-13.0.0-py312h45abdf0_2.conda
2024-04-22T03:09:56.1738787Z win-64::cupy-core-13.0.0-py39h0e644fc_0.conda
2024-04-22T03:09:56.1741820Z win-64::cupy-core-13.1.0-py311hfcadba6_0.conda
2024-04-22T03:09:56.1744974Z win-64::cupy-core-13.0.0-py39h0e644fc_1.conda
2024-04-22T03:09:56.1749523Z win-64::cupy-core-13.0.0-py312h0c45704_3.conda
2024-04-22T03:09:56.1752919Z win-64::cupy-core-13.0.0-py312h45abdf0_0.conda
2024-04-22T03:09:56.1756735Z win-64::cupy-core-13.1.0-py310h5310e47_0.conda
2024-04-22T03:09:56.1760204Z win-64::cupy-core-13.0.0-py310h1d6915d_0.conda
2024-04-22T03:09:56.1763069Z win-64::cupy-core-13.0.0-py311h60ac514_3.conda
2024-04-22T03:09:56.1765820Z win-64::cupy-core-13.0.0-py310h786427b_3.conda
2024-04-22T03:09:56.1768715Z win-64::cupy-core-13.0.0-py311h9e98bd7_2.conda
2024-04-22T03:09:56.1771602Z win-64::cupy-core-13.1.0-py39haafa687_0.conda
2024-04-22T03:09:56.1774896Z win-64::cupy-core-13.0.0-py310h1d6915d_2.conda
2024-04-22T03:09:56.1777857Z win-64::cupy-core-13.0.0-py310h1d6915d_1.conda
2024-04-22T03:09:56.1781231Z win-64::cupy-core-13.0.0-py311h9e98bd7_0.conda
2024-04-22T03:09:56.1782761Z win-64::cupy-core-13.0.0-py39h3eed867_3.conda
2024-04-22T03:09:56.1783744Z +    "cuda-version >=12.0,<13",
2024-04-22T03:09:56.1829584Z -    "cuda-version >=12.0,<13",
2024-04-22T03:09:56.1830671Z win-64::cupy-core-13.0.0-py39h4772948_2.conda
2024-04-22T03:09:56.1831391Z win-64::cupy-core-13.1.0-py310h4062dc1_0.conda
2024-04-22T03:09:56.1832247Z win-64::cupy-core-13.0.0-py310h9857f2f_3.conda
2024-04-22T03:09:56.1833084Z win-64::cupy-core-13.0.0-py310h40034dd_2.conda
2024-04-22T03:09:56.1834066Z win-64::cupy-core-13.0.0-py311h095fc3a_0.conda
2024-04-22T03:09:56.1835747Z win-64::cupy-core-13.0.0-py312hdf68b13_1.conda
2024-04-22T03:09:56.1838109Z win-64::cupy-core-13.0.0-py311h095fc3a_1.conda
2024-04-22T03:09:56.1839315Z win-64::cupy-core-13.0.0-py310h40034dd_0.conda
2024-04-22T03:09:56.1840020Z win-64::cupy-core-13.0.0-py39h4772948_0.conda
2024-04-22T03:09:56.1840640Z win-64::cupy-core-13.1.0-py311ha6d0cfe_0.conda
2024-04-22T03:09:56.1841308Z win-64::cupy-core-13.0.0-py312hdf68b13_0.conda
2024-04-22T03:09:56.1842011Z win-64::cupy-core-13.0.0-py311hdd6c9a0_3.conda
2024-04-22T03:09:56.1842635Z win-64::cupy-core-13.1.0-py312h57f7365_0.conda
2024-04-22T03:09:56.1843311Z win-64::cupy-core-13.0.0-py310h40034dd_1.conda
2024-04-22T03:09:56.1844112Z win-64::cupy-core-13.0.0-py312hdf68b13_2.conda
2024-04-22T03:09:56.1854860Z win-64::cupy-core-13.0.0-py39h4772948_1.conda
2024-04-22T03:09:56.1857510Z win-64::cupy-core-13.0.0-py311h095fc3a_2.conda
2024-04-22T03:09:56.1857959Z win-64::cupy-core-13.0.0-py39h5471495_3.conda
2024-04-22T03:09:56.1858384Z win-64::cupy-core-13.0.0-py312hb3e489c_3.conda
2024-04-22T03:09:56.1858786Z win-64::cupy-core-13.1.0-py39h0b946a3_0.conda
2024-04-22T03:09:56.1859181Z +    "cuda-version >=11.2,<12",
2024-04-22T03:09:56.1859524Z -    "cuda-version >=11.2,<12",

@leofang leofang marked this pull request as ready for review April 22, 2024 05:06
@leofang leofang requested a review from a team as a code owner April 22, 2024 05:06
@xhochy
Copy link
Member

xhochy commented Apr 26, 2024

You can also achieve this by a new build on the feedstock instead of a repodata patch. This would be preferred.

@leofang
Copy link
Member Author

leofang commented Apr 26, 2024

This would be preferred.

Thanks, Uwe. Interesting because in the past I was advised to do the opposite (patch the repodata if possible so as to avoid unnecessary resource usage). Anyway I did also prepare a new build (conda-forge/cupy-feedstock#264), I will proceed there.

@leofang leofang closed this Apr 26, 2024
@leofang leofang deleted the cupy_core_cpu branch April 26, 2024 15:54
@xhochy
Copy link
Member

xhochy commented Apr 29, 2024

The rule of thumb is that if it only affects a single feedstock and you can solve it by a new build, then do that. If there is a new release with e.g. a compatible ABI to the old version (i.e. ABI stability is better than run_exports), then patch the repodata over an (unnecessary) migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants