mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Support Python 3.7
This commit is contained in:
parent
b33f1a4477
commit
fe0b78b98d
|
@ -13,12 +13,12 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- python: "pypy"
|
- python: "pypy"
|
||||||
- python: "pypy3"
|
- python: "pypy3"
|
||||||
- python: '3.6'
|
- python: '3.7-dev'
|
||||||
- python: '2.7'
|
- python: '2.7'
|
||||||
- python: "2.7_with_system_site_packages" # For PyQt4
|
- python: "2.7_with_system_site_packages" # For PyQt4
|
||||||
|
- python: '3.6'
|
||||||
- python: '3.5'
|
- python: '3.5'
|
||||||
- python: '3.4'
|
- python: '3.4'
|
||||||
- python: '3.7-dev'
|
|
||||||
- env: DOCKER="alpine" DOCKER_TAG="pytest"
|
- env: DOCKER="alpine" DOCKER_TAG="pytest"
|
||||||
- env: DOCKER="arch" DOCKER_TAG="pytest" # contains PyQt5
|
- env: DOCKER="arch" DOCKER_TAG="pytest" # contains PyQt5
|
||||||
- env: DOCKER="ubuntu-trusty-x86" DOCKER_TAG="pytest"
|
- env: DOCKER="ubuntu-trusty-x86" DOCKER_TAG="pytest"
|
||||||
|
|
|
@ -19,7 +19,9 @@ Notes
|
||||||
|
|
||||||
.. note:: Pillow >= 4.0.0 < 5.0.0 supports Python versions 2.7, 3.3, 3.4, 3.5, 3.6
|
.. note:: Pillow >= 4.0.0 < 5.0.0 supports Python versions 2.7, 3.3, 3.4, 3.5, 3.6
|
||||||
|
|
||||||
.. note:: Pillow >= 5.0.0 supports Python versions 2.7, 3.4, 3.5, 3.6
|
.. note:: Pillow >= 5.0.0 < 5.2.0 supports Python versions 2.7, 3.4, 3.5, 3.6
|
||||||
|
|
||||||
|
.. note:: Pillow >= 5.2.0 supports Python versions 2.7, 3.4, 3.5, 3.6, 3.7
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
------------------
|
------------------
|
||||||
|
@ -392,7 +394,7 @@ These platforms are built and tested for every change.
|
||||||
+----------------------------------+-------------------------------+-----------------------+
|
+----------------------------------+-------------------------------+-----------------------+
|
||||||
| Ubuntu Linux 16.04 LTS | 2.7 |x86-64 |
|
| Ubuntu Linux 16.04 LTS | 2.7 |x86-64 |
|
||||||
+----------------------------------+-------------------------------+-----------------------+
|
+----------------------------------+-------------------------------+-----------------------+
|
||||||
| Ubuntu Linux 14.04 LTS | 2.7, 3.4, 3.5, 3.6, |x86-64 |
|
| Ubuntu Linux 14.04 LTS | 2.7, 3.4, 3.5, 3.6, 3.7, |x86-64 |
|
||||||
| | pypy, pypy3 | |
|
| | pypy, pypy3 | |
|
||||||
| +-------------------------------+-----------------------+
|
| +-------------------------------+-----------------------+
|
||||||
| | 2.7 |x86 |
|
| | 2.7 |x86 |
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -26,7 +26,7 @@ from setuptools import Extension, setup
|
||||||
import mp_compile
|
import mp_compile
|
||||||
|
|
||||||
|
|
||||||
if sys.platform == "win32" and sys.version_info >= (3, 7):
|
if sys.platform == "win32" and sys.version_info >= (3, 8):
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"Pillow does not yet support Python {}.{} and does not yet provide "
|
"Pillow does not yet support Python {}.{} and does not yet provide "
|
||||||
"prebuilt Windows binaries. We do not recommend building from "
|
"prebuilt Windows binaries. We do not recommend building from "
|
||||||
|
@ -778,6 +778,7 @@ try:
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
"Programming Language :: Python :: 3.5",
|
"Programming Language :: Python :: 3.5",
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user