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 8.3.1 on July 6, 2021 #5578

Closed
12 tasks done
radarhere opened this issue Jul 5, 2021 · 4 comments
Closed
12 tasks done

Release 8.3.1 on July 6, 2021 #5578

radarhere opened this issue Jul 5, 2021 · 4 comments
Labels

Comments

@radarhere
Copy link
Member

radarhere commented Jul 5, 2021

  • Make necessary changes in master branch.
  • Update CHANGES.rst.
  • Check out release branch e.g.:
git checkout -t remotes/origin/8.3.x
  • Cherry pick individual commits from master branch to release branch e.g. 8.3.x, then git push.
  • Check GitHub Actions and AppVeyor to confirm passing tests in release branch e.g. 8.3.x.
  • In compliance with PEP 440, update version identifier in src/PIL/_version.py
  • Run pre-release check via make release-test.
  • Create tag for release e.g.:
git tag 8.3.1
git push
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-8.3.1*
  • Publish the release on GitHub
@radarhere radarhere changed the title Release 8.3.1 Release 8.3.1 on July 6, 2021 Jul 6, 2021
@radarhere radarhere pinned this issue Jul 6, 2021
@radarhere
Copy link
Member Author

@cgohlke at your convenience, would you be able to put together wheels? And also take care of these issues that were present with 8.3.0?

#5573 (comment)

Pillow 8.3.0 wheels for Windows are built with libtiff 4.3.0, which has a new dependency (LERC) that uses C++ code and requires the C++ runtime library (MSVCP140.DLL). I think we need to package that DLL in the wheels.

#5413 (comment)

I had to disable feature.raqm, otherwise _imagingft.pyd would depend on raqm.dll on my system.

To solve some runtime linking issues with wheels on Linux, in #5062 I proposed some changes that turned out to be difficult to compile from source with pip (because Raqm is C99, which is incompatible with GCC defaults on some systems). So these changes should only be enabled when building release wheels, which requires building with the new --global-option --vendor-raqm --global-option --vendor-fribidi flags as seen here: python-pillow/pillow-wheels#181 (comment) Those prevent _imagingft.pyd from having a dependency on raqm.dll, and it should instead link fribidi.dll at runtime.

@cgohlke
Copy link
Contributor

cgohlke commented Jul 6, 2021

Here you go.

Wheels for Python 3.10 beta are here in case anyone is asking.

@radarhere
Copy link
Member Author

Thanks very much!

Released, and announced.

@radarhere
Copy link
Member Author

Additional 64-bit Windows wheels for this release have been uploaded.

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

No branches or pull requests

2 participants