GeezerVison is showing github.com — DEP: stop building and testing 32-bit windows · Issue #23717 · numpy/numpy
DEP: stop building and testing 32-bit windows #23717DescriptionSee the discussion at https://discuss.python.org/t/dropping-32-bit-packages
The builds are difficult to maintain, suffer bit rot, and are not popular.
Another option is to stop testing f2py on this platform, which is the reason we try to install a fortran compiler. Building NumPy does not require the fortran compiler, it is only for tests.
Edit: not true, wrapping the OpenBLAS library does require the fortran runtime. Reacted by Sebastian Berg Activitycarlkl commented on May 21, 2023 Just to mention one example: Aren't there still a relevant number of users who use python/numpy in together with excel, i.e. pyxll? MS Office 32-bit is still a thing today in many scenarios, despite the fat that if it is no longer the default version during installing for some time now. 32-bit applications are sunsetting now on Windows, this is obvious. But 32-bit support on Windows may be necessary for some time in the future for those who can't switch to 64-bit. And there is no long term support for any version of python / numpy. charris commented on May 21, 2023 lithomas1 commented on May 23, 2023 Any idea if/how this would affect people on WASM/pyodide? rgommers commented on May 24, 2023 lithomas1 commented on May 24, 2023 rgommers commented on May 24, 2023 Sure, but no one is planning on actively breaking all 32-bit builds I believe. We just need a single CI job that tests that we don't accidentally introduce 64-bit-only things and break 32-bit builds. Users or redistributors may still choose to build them, and this proposal moves 32-bit Windows into the same category as 32-bit Linux on armv7 (Raspberry Pi & co), and some other niche use cases.
@mattip I think your issue description is perhaps a little misleading, in particular the link to your Discourse post from 3 years ago. As I understand it, it is specific to reducing the support status (and our corresponding burden) for 32-bit Windows only. All 32-bit platforms are then supported only on a best-effort basis, we don't create binaries for them but will take patches if they're contributed for a specific platform. Reacted by Sebastian Berg mattip commented on May 24, 2023 Yes, that is correct. CPython has a concept of support tiers. I propose moving 32-bit windows from Tier 1 to "other platforms". Perhaps we should have our own page of tiered support. lithomas1 commented on May 24, 2023 That makes sense.
(I thought the proposal was to rip out all the 32-bit compat. Is there any timeline for that?)
At any rate, happy to follow numpy's lead on this for pandas. I personally don't care for 32-bit support too much. mattip commented on May 24, 2023 Even if we stop actively supporting 32-bit in wheels and CI, I don't think we should remove 32-bit compatibility for the foreseeable future. Reacted by Sebastian Berg added a commit that references this issue on May 29, 2023This issue will close once commit 055345b is merged into the 'main' branch.055345b seberg commented on May 30, 2023 Just to say 👍 if win32 wheels/CI is making trouble (and it seems to be the case right now), there seems to be little reason to not just drop it for now.
(And yes, we still will have 32bit support with CI, just not testing it explicitly for windows, so in an "other platforms" support tier.) added 2 commits that reference this issue on Jun 11, 2023This issue will close once commit ff23f18 is merged into the 'main' branch.ff23f18 This issue will close once commit cd6f0cd is merged into the 'main' branch.cd6f0cd added a commit that references this issue on Jun 18, 2023This issue will close once commit f7c55aa is merged into the 'main' branch.f7c55aa charris commented on Aug 13, 2023 Note that there are no 32 windows wheels in the 1.26.0b1 release. Do we want them? rgommers commented on Aug 14, 2023 Ah good question. It should all work again, and we have a regular CI job for it at https://github.com/numpy/numpy/blob/main/.github/workflows/windows_meson.yml#L93. It should be low-overhead, nothing special was needed beyond adding architecture: 'x86' to the setup-python action. So let's re-enable the wheel builds I'd say, since it may save the users that still need it a bunch of trouble.
I'll note that I'm still fine with getting rid of them again if they cause trouble. But here most of the problem was in the mess that's our Azure setup combined with the mess Microsoft makes with activating MSVC. However, with GHA, the msdevshell action, and the meson-python improvements to make it easy to use MSVC, it shouldn't be difficult anymore.
How about we keep this issue closed, because it's about the generic "can/shall we do this" decision, and that trade-off hasn't really changed. And open a new issue to re-enable builds before the next pre-release? I should be able to fix this, but not in the next 2-3 days. charris commented on Aug 14, 2023 pllim commented on Aug 31, 2023 rgommers commented on Sep 8, 2023 With gh-24671 we should get 32-bit wheels back.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|