-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
10.0.0 refused to build on Windows with 32-bit Python #7251
Comments
the wheel of python 3.11 x32 is not exist |
Hi. You will read in the release notes that it was a deliberate decision to not provide 32-bit wheels any longer.
While we are no longer providing 32-bit wheels though, you can still build from source. See https://pillow.readthedocs.io/en/stable/installation.html#building-from-source |
The problem is that when installing pillow, newer version (10.x) with tar.gz is preferred over the older wheel. |
You can select only versions of Pillow with a wheel when installing by using |
Thank you, @radarhere , but that might be not scalable. The pillow package is rarely used directly, it is rather an indirect dependency. Other packages can be involved, for which tar.gz would be needed. |
@robgom You don't need list Pillow directly to use |
@homm yes, I know. My point was that including this option could have bigger implications. That's what it'd have to look like:
Do those arguments make sense to you? |
I don't understand the meaning of 'not announcing 32 bit support in first place'. Perhaps these words aren't quite correct, because this was announced. If you just want to say that you're a 32-bit user, and wheels make your life easier, mission accomplished - I don't think we're trying to tell you that dropping 32-bit wheels has zero effect. If a flood of other people also chime in and say that they want 32-bit wheels, then those voices and your voice will make us reconsider this.
If you're concerned about packages that do not provide wheels, there is also In your example, you mention matplotlib. I realise you might say that was just an example, but matplotlib has actually also decided to drop 32-bit wheels moving forward. matplotlib/matplotlib#25811 (comment)
|
I'm sorry for selecting potentially not the best words. I'm not sure if and how it's doable, so probably stop at this point. |
@baaziznasser do you have any further questions? |
It’s not the case. Wheels are not provided, which doesn’t mean that you can’t install it at all. There are could be a dozen of reasons why provided wheels does not suits you. It’s more correct to say that there is always only tiny intersection of factors (OS vendor, OS version, core libraries, platform, bitness) when you can find wheels. And of course Pillow provides a list of this intersections: it's a list of the wheels itself. |
I am hitting this as well. See here for relevant discussion: pypa/setuptools#3746 |
For a summary of that other issue, the user suggests that setuptools allow packages to require 32-bit support. That discussion has another offshoot in https://discuss.python.org/t/idea-enforcing-32-bit-vs-64-bit-support-in-setuptools/29040, where so far, a CPython core developer questions why this would be relevant to packages that still support 32-bit, but have merely stopped distributing 32-bit wheels (like we have). |
We have the same issue with Python 3.8 and Python 3.10 on 32-bit system: |
@xqt we are no longer providing 32-bit wheels, so your code is trying to install Pillow from source. The error is telling you that you are missing a dependency. See https://pillow.readthedocs.io/en/stable/installation.html#building-from-source for instructions about how to build Pillow from source. |
@radarhere: Pillow is a requirement of the Pywikibot framework and we are running 32/64-bit tests on Appveyor. But CI tests are only one side. What is the solution for bot owners having Python 3.8+ on 32-bit? We could require Pillow < 10.0.0 for a while but this cannot be the way to go. |
Do you mean that it is not just a matter of you installing Pillow, but also your users? They too could install Pillow from source. It would be the hope that because 32-bit use is fading, that this only affects a small portion of users. If you find a large number of users struggling with this, you can ask your users to come here and encourage us to restore 32-bit wheels.
|
Using https://github.com/ofek/pypinfo to get downloads numbers for Pywikibot from PyPI over the last week, I only see a single download for 32-bit (armv7l, 0.06%), the other 1,732 are 64-bit (99.94%): $ pypinfo --days 7 --limit 1000 --percent pywikibot version cpu
Served from cache: False
Data processed: 281.80 MiB
Data billed: 282.00 MiB
Estimated cost: $0.01
| version | cpu | percent | download_count |
| ------------ | ------- | ------- | -------------- |
| 8.1.2 | x86_64 | 55.57% | 963 |
| 7.0.0 | x86_64 | 20.31% | 352 |
| 6.1.0 | x86_64 | 8.77% | 152 |
| 6.6.5 | x86_64 | 5.19% | 90 |
| 8.1.2 | AMD64 | 1.90% | 33 |
| 8.2.0 | x86_64 | 1.44% | 25 |
| 6.6.0 | x86_64 | 1.27% | 22 |
| 6.6.3 | x86_64 | 1.15% | 20 |
| 8.0.1 | x86_64 | 0.75% | 13 |
| 7.1.0 | x86_64 | 0.46% | 8 |
| 7.6.0 | x86_64 | 0.46% | 8 |
| 7.7.3 | x86_64 | 0.40% | 7 |
| 6.6.1 | x86_64 | 0.29% | 5 |
| 6.0.1 | x86_64 | 0.29% | 5 |
| 8.1.0 | x86_64 | 0.23% | 4 |
| 8.1.2 | aarch64 | 0.23% | 4 |
| 8.1.2 | arm64 | 0.17% | 3 |
| 8.0.2 | x86_64 | 0.12% | 2 |
| 6.6.5 | AMD64 | 0.12% | 2 |
| 6.4.0 | x86_64 | 0.12% | 2 |
| 7.7.3 | aarch64 | 0.12% | 2 |
| 6.6.5 | arm64 | 0.06% | 1 |
| 3.0.20200609 | x86_64 | 0.06% | 1 |
| 6.5.0 | AMD64 | 0.06% | 1 |
| 8.2.0 | AMD64 | 0.06% | 1 |
| 6.6.1 | AMD64 | 0.06% | 1 |
| 7.7.1 | x86_64 | 0.06% | 1 |
| 8.2.0 | armv7l | 0.06% | 1 |
| 4.3.0 | AMD64 | 0.06% | 1 |
| 8.0.2 | AMD64 | 0.06% | 1 |
| 5.6.0 | x86_64 | 0.06% | 1 |
| 6.6.3 | AMD64 | 0.06% | 1 |
| Total | | | 1,733 |
|
Just to follow up on this, @radarhere I think you misinterpreted in your summary post, it's wasn't about requiring 32-bit support. It was about enabling Anyways, the idea kind of sizzled out 🤷♂️, as stating supported platform(s) isn't feasible in practice. For example, perhaps win32 actually has |
Worth noting that this is ARM, not x86, so the wheel would not have been compatible anyway. |
It's now been a month since the release of Pillow 10.0.0. In the first week, we had some feedback here about the absence of 32-bit wheels here, and a comment in the release issue, but no new users have added feedback since. If there is further feedback, we can reconsider 32-bit wheels, but for the moment, no users here have active questions about how to install Pillow, so I'm closing this. |
#7580 has been merged, so Windows 32-bit wheels should be available again when Pillow 10.2.0 is released on January 2. |
Pillow 10.2.0 has been released with Windows 32-bit wheels. |
hello the pillow lib refused to install on windows python 3.11 x32
here is the error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pillow
Failed to build pillow
ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects
C:\Users\nacer baaziz><!--
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: