-
-
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
Release Pillow 9.4.0 on January 2, 2023 #6750
Comments
Pillow 9.4.0 has been released! https://twitter.com/PythonPillow/status/1609753008333787136 |
FWIW, I have manually run the tests from #6847 on all the Windows wheels (including PyPy) from https://github.com/python-pillow/Pillow/actions/runs/3819275106 on my system and they all pass. |
Here's a wheel for win-arm64: Pillow-9.4.0-cp311-cp311-win_arm64.zip |
Matplotlib has now gotten two bug reports due to pillow 9.4.0 failing to import on OSX 10.X : matplotlib/matplotlib#24883 matplotlib/matplotlib#24871 See the issues for full details, but: $ python
Python 3.10.9 (v3.10.9:1dd9be6584, Dec 6 2022, 14:37:36) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/path/to/.venv310/lib/python3.10/site-packages/matplotlib/__init__.py", line 113, in <module>
from . import _api, _version, cbook, _docstring, rcsetup
File "/Users/path/to/.venv310/lib/python3.10/site-packages/matplotlib/rcsetup.py", line 27, in <module>
from matplotlib.colors import Colormap, is_color_like
File "/Users/path/to/.venv310/lib/python3.10/site-packages/matplotlib/colors.py", line 51, in <module>
from PIL import Image
File "/Users/path/to/.venv310/lib/python3.10/site-packages/PIL/Image.py", line 103, in <module>
from . import _imaging as core
ImportError: dlopen(/Users/path/to/.venv310/lib/python3.10/site-packages/PIL/_imaging.cpython-310-darwin.so, 2): Library not loaded: @loader_path/libXdmcp.6.dylib
Referenced from: /Users/path/to/.venv310/lib/python3.10/site-packages/PIL/.dylibs/libxcb.1.1.0.dylib
Reason: no suitable image found. Did find:
/Users/path/to/.venv310/lib/python3.10/site-packages/PIL/.dylibs/libXdmcp.6.dylib: cannot load 'libXdmcp.6.dylib' (load command 0x80000034 is unknown)
/Users/path/to/.venv310/lib/python3.10/site-packages/PIL/.dylibs/libXdmcp.6.dylib: cannot load 'libXdmcp.6.dylib' (load command 0x80000034 is unknown)
>>> ^D is a representative traceback. |
I've commented on that thread, it's probably the same as #3068 (comment) |
The problem was only occurring for macOS < 11. python-pillow/pillow-wheels#358 has been merged to fix this moving forward. |
Should we upload new versions of the x86-64 macOS wheels (7 in total) to PyPI? |
Yes, I think that would help a lot of people out. |
Ok, I've uploaded the new wheels. The macOS installation problems should now be resolved. |
Thank you! How exactly did you generate the wheels? |
They were in the 'wheels' artifact at the bottom of https://github.com/python-pillow/pillow-wheels/actions/runs/3844535801 |
And then just renamed to add the |
Yes. |
Great! Much easier than a full release! |
Thank you for the prompt resolution of this :) |
Since the additional wheels were uploaded, six users still are having trouble over at #6862. Shall we upload |
Sure, let's give it another shot. |
Ok, I've uploaded the new wheels. |
There's been confirmation in #6862 (comment) that the latest wheels work. |
thank you very much! |
When I use arm CPU and windows system. I use pyinstaller to build .exe file. When I run this .exe file I meet this error: "ImportError: DLL load failed while importing _imaging: %1 不是有效的 Win32 应用程序。" |
Did you package the correct Visual C++ Redistributable DLLs? |
I only use the "Pillow-9.4.0-cp311-cp311-win_arm64.zip" then use |
The redistributable DLLs should be packaged automatically but maybe it failed. Make sure you have the Microsoft Visual C++ Redistributable installed before packaging and check the executable for the presence of |
I have install Microsoft Visual C++ Redistributable it work for me fine now.Thank you very much ! |
Main Release
Released quarterly on January 2nd, April 1st, July 1st and October 15th.
main
branch.main
branch.src/PIL/_version.py
CHANGES.rst
.make release-test
in a freshly cloned repo..dev0
to version identifier insrc/PIL/_version.py
Binary Distributions
Windows
dist/
Mac and Linux
git clone https://github.com/python-pillow/pillow-wheels cd pillow-wheels ./update-pillow-tag.sh [[release tag]]
dist/
Publicize Release
Documentation
Docker Images
git clone https://github.com/python-pillow/docker-images cd docker-images ./update-pillow-tag.sh [[release tag]]
The text was updated successfully, but these errors were encountered: