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

Release Pillow 9.0.0 on January 2, 2022 #5860

Closed
20 tasks done
aclark4life opened this issue Nov 30, 2021 · 7 comments
Closed
20 tasks done

Release Pillow 9.0.0 on January 2, 2022 #5860

aclark4life opened this issue Nov 30, 2021 · 7 comments
Assignees
Labels
Anaconda Issues with Anaconda's Pillow Release
Milestone

Comments

@aclark4life
Copy link
Member

aclark4life commented Nov 30, 2021

Main Release

Released quarterly on January 2nd, April 1st, July 1st and October 15th.

  • Open a release ticket e.g. Release Pillow 5.2.0 on July 1, 2018 #3154
  • Develop and prepare release in main branch.
  • Check GitHub Actions and AppVeyor to confirm passing tests in main branch.
  • Check that all of the wheel builds Pillow Wheel Builder pass the tests in Travis CI and GitHub Actions.
  • In compliance with PEP 440, update version identifier in src/PIL/_version.py
  • Update CHANGES.rst.
  • Run pre-release check via make release-test in a freshly cloned repo.
  • Create branch and tag for release e.g.:
    git branch 9.0.x
    git tag 9.0.0
    git push --all
    git push --tags
  • Create and check source distribution:
    make sdist
    twine check dist/*
  • Create binary distributions
  • Check and upload all binaries and source distributions e.g.:
    twine check dist/*
    twine upload dist/Pillow-9.0.0*
  • Publish the release on GitHub
  • In compliance with PEP 440, increment and append .dev0 to version identifier in src/PIL/_version.py

Binary Distributions

Windows

Mac and Linux

Publicize Release

Documentation

Docker Images

  • Update Pillow in the Docker Images repository
    git clone https://github.com/python-pillow/docker-images
    cd docker-images
    ./update-pillow-tag.sh [[release tag]]
@aclark4life aclark4life added this to the 9.0.0 milestone Nov 30, 2021
@aclark4life aclark4life pinned this issue Nov 30, 2021
@radarhere
Copy link
Member

A note for when we request the Windows binaries - #5697 (comment) should now be fixed with the release of freetype 2.11.1.

@radarhere radarhere self-assigned this Dec 13, 2021
@radarhere
Copy link
Member

Ok, @cgohlke, could we kindly have the Windows binaries for 9.0.0?

@cgohlke
Copy link
Contributor

cgohlke commented Jan 2, 2022

Here you go.

@radarhere
Copy link
Member

Thanks very much!

Released, and announced!

@h-vetinari
Copy link

Hey all, congratulations on the release! 🥳

I'm getting

    from PIL import Image
  File "D:\bld\pillow_1641174407982\_test_env\lib\site-packages\PIL\Image.py", line 93, in <module>
    "The _imaging extension was built for another version of Pillow or PIL:\n"
ImportError: The _imaging extension was built for another version of Pillow or PIL:
Core version: "9.0.0"
Pillow version: 9.0.0

in conda-forge/pillow-feedstock#104 for windows with cpython 3.7 & 3.8 (not for 3.9, 3.10 or pypy though), seems like an issue with some extra quotes? Should I raise an issue for that?

@radarhere
Copy link
Member

radarhere commented Jan 3, 2022

Hi. Yes, a new issue would be helpful, thanks.

This would be connected to

Pillow/setup.py

Lines 843 to 850 in 05b6336

if (
sys.platform == "win32"
and sys.version_info < (3, 9)
and not (PLATFORM_PYPY or PLATFORM_MINGW)
):
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
else:
defs.append(("PILLOW_VERSION", f'"{PILLOW_VERSION}"'))

I created a different PR to test this problem - conda-forge/pillow-feedstock#105. Like your PR, it also fails with Python 3.7 and 3.8 on Windows, so this isn't related to any change from this release.

@homm
Copy link
Member

homm commented Jan 3, 2022

Pillow-SIMD 9.0.0.post0 released as well.
https://pypi.org/project/Pillow-SIMD/9.0.0.post0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Anaconda Issues with Anaconda's Pillow Release
Projects
None yet
Development

No branches or pull requests

5 participants