Pillow: Support Python 3.8

Created on 2 Oct 2019  Â·  12Comments  Â·  Source: python-pillow/Pillow

The Python 3.8.0 release candidate 1 came out yesterday, with the final release scheduled for 2019-10-14.

Our next scheduled release is 2020-01-01.

Do we want to do anything to support 3.8 before that? Or wait until 2020-01-01?

We normally do have people asking for a new Pillow release quite soon after a new Python release is out (and often before, eg. https://github.com/python-pillow/Pillow/issues/3763).

We're already testing 3.8 dev versions on Travis CI, so we do have some confidence things work. As noted in https://github.com/python-pillow/Pillow/issues/3763, there are already Windows wheels available for 3.8.

TODO for 3.8:

Most helpful comment

Just as an fyi, Python 3.8 has now been released.

All 12 comments

Okay. So you're suggesting Pillow 6.2.1, released just after Python 3.8 is finalised early next week.

Sounds reasonable to me.

Yep, or when all the pieces are in place.

We are trying to run Matplotlib CI with the pre-releases of Python (see https://github.com/matplotlib/matplotlib/pull/15418) and are currently stuck on getting Pillow to compile (Matplotlib master branch now has a hard-dep on pillow as we removed our home-grown png writer).

Any pointers on how to make this work?

There are unofficial builds for Windows at https://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow. Download the one you need and then you should be able to pip install it, for example:

pip install Pillow‑6.2.0‑cp38‑cp38‑win_amd64.whl

I'm not sure how to do that CI though (as reverse engineering Christoph's js obfuscation seems rude).

We have a pillow-depends repo especially for CI dependencies, how about doing something like that?

Just as an fyi, Python 3.8 has now been released.

PR to add support for 3.8 into master: https://github.com/python-pillow/Pillow/pull/4141. Will make one into the 6.2.x branch after that's merged.

What else is needed? Do we need to wait for anything from multibuild before updating https://github.com/python-pillow/pillow-wheels?

I've created PR https://github.com/python-pillow/pillow-wheels/pull/127 to add Python 3.8 to pillow-wheels.

I think we're good to do the release. Shall I do this one? I can start the prep today, although may have to finish it tomorrow.

Release issue:

6.2.1 has now been released with support for Python 3.8.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edowson picture edowson  Â·  3Comments

Larivact picture Larivact  Â·  4Comments

etc0de picture etc0de  Â·  4Comments

indirectlylit picture indirectlylit  Â·  4Comments

readyready15728 picture readyready15728  Â·  4Comments