mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
Drop support for soon-EOL Python 3.7
This commit is contained in:
parent
4f7070e24c
commit
596569c928
|
@ -13,7 +13,7 @@ environment:
|
||||||
- PYTHON: C:/Python311
|
- PYTHON: C:/Python311
|
||||||
ARCHITECTURE: x86
|
ARCHITECTURE: x86
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
||||||
- PYTHON: C:/Python37-x64
|
- PYTHON: C:/Python38-x64
|
||||||
ARCHITECTURE: x64
|
ARCHITECTURE: x64
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ install:
|
||||||
- path c:\nasm-2.15.05;C:\Program Files\gs\gs10.00.0\bin;%PATH%
|
- path c:\nasm-2.15.05;C:\Program Files\gs\gs10.00.0\bin;%PATH%
|
||||||
- cd c:\pillow\winbuild\
|
- cd c:\pillow\winbuild\
|
||||||
- ps: |
|
- ps: |
|
||||||
c:\python37\python.exe c:\pillow\winbuild\build_prepare.py -v --depends=C:\pillow-depends\
|
c:\python38\python.exe c:\pillow\winbuild\build_prepare.py -v --depends=C:\pillow-depends\
|
||||||
c:\pillow\winbuild\build\build_dep_all.cmd
|
c:\pillow\winbuild\build\build_dep_all.cmd
|
||||||
$host.SetShouldExit(0)
|
$host.SetShouldExit(0)
|
||||||
- path C:\pillow\winbuild\build\bin;%PATH%
|
- path C:\pillow\winbuild\build\bin;%PATH%
|
||||||
|
|
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"]
|
||||||
architecture: ["x86", "x64"]
|
architecture: ["x86", "x64"]
|
||||||
include:
|
include:
|
||||||
# PyPy 7.3.4+ only ships 64-bit binaries for Windows
|
# PyPy 7.3.4+ only ships 64-bit binaries for Windows
|
||||||
|
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -36,10 +36,9 @@ jobs:
|
||||||
"3.10",
|
"3.10",
|
||||||
"3.9",
|
"3.9",
|
||||||
"3.8",
|
"3.8",
|
||||||
"3.7",
|
|
||||||
]
|
]
|
||||||
include:
|
include:
|
||||||
- python-version: "3.7"
|
- python-version: "3.9"
|
||||||
PYTHONOPTIMIZE: 1
|
PYTHONOPTIMIZE: 1
|
||||||
REVERSE: "--reverse"
|
REVERSE: "--reverse"
|
||||||
- python-version: "3.8"
|
- python-version: "3.8"
|
||||||
|
|
|
@ -3,7 +3,7 @@ repos:
|
||||||
rev: 23.1.0
|
rev: 23.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--target-version=py37]
|
args: [--target-version=py38]
|
||||||
# Only .py files, until https://github.com/psf/black/issues/402 resolved
|
# Only .py files, until https://github.com/psf/black/issues/402 resolved
|
||||||
files: \.py$
|
files: \.py$
|
||||||
types: []
|
types: []
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -123,5 +123,5 @@ lint:
|
||||||
lint-fix:
|
lint-fix:
|
||||||
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
|
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
|
||||||
python3 -c "import isort" > /dev/null 2>&1 || python3 -m pip install isort
|
python3 -c "import isort" > /dev/null 2>&1 || python3 -m pip install isort
|
||||||
python3 -m black --target-version py37 .
|
python3 -m black --target-version py38 .
|
||||||
python3 -m isort .
|
python3 -m isort .
|
||||||
|
|
|
@ -454,22 +454,22 @@ These platforms are built and tested for every change.
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Gentoo | 3.9 | x86-64 |
|
| Gentoo | 3.9 | x86-64 |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| macOS 12 Monterey | 3.7, 3.8, 3.9, 3.10, 3.11, | x86-64 |
|
| macOS 12 Monterey | 3.8, 3.9, 3.10, 3.11, | x86-64 |
|
||||||
| | 3.12, PyPy3 | |
|
| | 3.12, PyPy3 | |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Ubuntu Linux 18.04 LTS (Bionic) | 3.9 | x86-64 |
|
| Ubuntu Linux 18.04 LTS (Bionic) | 3.9 | x86-64 |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Ubuntu Linux 20.04 LTS (Focal) | 3.8 | x86-64 |
|
| Ubuntu Linux 20.04 LTS (Focal) | 3.8 | x86-64 |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Ubuntu Linux 22.04 LTS (Jammy) | 3.7, 3.8, 3.9, 3.10, 3.11, | x86-64 |
|
| Ubuntu Linux 22.04 LTS (Jammy) | 3.8, 3.9, 3.10, 3.11, | x86-64 |
|
||||||
| | 3.12, PyPy3 | |
|
| | 3.12, PyPy3 | |
|
||||||
| +----------------------------+---------------------+
|
| +----------------------------+---------------------+
|
||||||
| | 3.10 | arm64v8, ppc64le, |
|
| | 3.10 | arm64v8, ppc64le, |
|
||||||
| | | s390x |
|
| | | s390x |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Windows Server 2016 | 3.7 | x86-64 |
|
| Windows Server 2016 | 3.8 | x86-64 |
|
||||||
+----------------------------------+----------------------------+---------------------+
|
+----------------------------------+----------------------------+---------------------+
|
||||||
| Windows Server 2022 | 3.7, 3.8, 3.9, 3.10, 3.11, | x86, x86-64 |
|
| Windows Server 2022 | 3.8, 3.9, 3.10, 3.11, | x86, x86-64 |
|
||||||
| | 3.12, PyPy3 | |
|
| | 3.12, PyPy3 | |
|
||||||
| +----------------------------+---------------------+
|
| +----------------------------+---------------------+
|
||||||
| | 3.9 (MinGW) | x86, x86-64 |
|
| | 3.9 (MinGW) | x86, x86-64 |
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Python,3.11,3.10,3.9,3.8,3.7,3.6,3.5
|
Python,3.11,3.10,3.9,3.8,3.7,3.6,3.5
|
||||||
Pillow >= 9.3,Yes,Yes,Yes,Yes,Yes,,
|
Pillow >= 10,Yes,Yes,Yes,Yes,,,
|
||||||
|
Pillow 9.3 - 9.5,Yes,Yes,Yes,Yes,Yes,,
|
||||||
Pillow 9.0 - 9.2,,Yes,Yes,Yes,Yes,,
|
Pillow 9.0 - 9.2,,Yes,Yes,Yes,Yes,,
|
||||||
Pillow 8.3.2 - 8.4,,Yes,Yes,Yes,Yes,Yes,
|
Pillow 8.3.2 - 8.4,,Yes,Yes,Yes,Yes,Yes,
|
||||||
Pillow 8.0 - 8.3.1,,,Yes,Yes,Yes,Yes,
|
Pillow 8.0 - 8.3.1,,,Yes,Yes,Yes,Yes,
|
||||||
|
|
|
|
@ -12,7 +12,6 @@ classifiers =
|
||||||
License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)
|
License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3 :: Only
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3.7
|
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: 3.10
|
Programming Language :: Python :: 3.10
|
||||||
|
@ -36,7 +35,7 @@ project_urls =
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = PIL
|
packages = PIL
|
||||||
python_requires = >=3.7
|
python_requires = >=3.8
|
||||||
include_package_data = True
|
include_package_data = True
|
||||||
package_dir =
|
package_dir =
|
||||||
= src
|
= src
|
||||||
|
|
Loading…
Reference in New Issue
Block a user