mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 19:06:18 +03:00
Merge pull request #302 from radarhere/python3.11
Added Python 3.11.0b3
This commit is contained in:
commit
d931de75d2
2
.github/workflows/build.sh
vendored
2
.github/workflows/build.sh
vendored
|
@ -19,6 +19,8 @@ if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then
|
||||||
if [[ "$PLAT" == "i686" ]]; then
|
if [[ "$PLAT" == "i686" ]]; then
|
||||||
DOCKER_TEST_IMAGE="multibuild/xenial_$PLAT"
|
DOCKER_TEST_IMAGE="multibuild/xenial_$PLAT"
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]] && [[ "$PLAT" == "i686" ]]; then
|
||||||
|
DOCKER_TEST_IMAGE="radarhere/bionic-$PLAT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::group::Install a virtualenv"
|
echo "::group::Install a virtualenv"
|
||||||
|
|
6
.github/workflows/wheels-linux.yml
vendored
6
.github/workflows/wheels-linux.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10" ]
|
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10", "3.11" ]
|
||||||
platform: [ "i686", "x86_64" ]
|
platform: [ "i686", "x86_64" ]
|
||||||
mb-ml-libc: [ "manylinux" ]
|
mb-ml-libc: [ "manylinux" ]
|
||||||
mb-ml-ver: [ 2014, "_2_28" ]
|
mb-ml-ver: [ 2014, "_2_28" ]
|
||||||
|
@ -41,6 +41,10 @@ jobs:
|
||||||
platform: "x86_64"
|
platform: "x86_64"
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
|
- python: "3.11"
|
||||||
|
platform: "x86_64"
|
||||||
|
mb-ml-libc: "musllinux"
|
||||||
|
mb-ml-ver: "_1_1"
|
||||||
env:
|
env:
|
||||||
BUILD_COMMIT: ${{ inputs.build-commit }}
|
BUILD_COMMIT: ${{ inputs.build-commit }}
|
||||||
PLAT: ${{ matrix.platform }}
|
PLAT: ${{ matrix.platform }}
|
||||||
|
|
2
.github/workflows/wheels-macos.yml
vendored
2
.github/workflows/wheels-macos.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10" ]
|
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10", "3.11" ]
|
||||||
platform: [ "x86_64", "arm64" ]
|
platform: [ "x86_64", "arm64" ]
|
||||||
exclude:
|
exclude:
|
||||||
- python: "3.7"
|
- python: "3.7"
|
||||||
|
|
12
.travis.yml
12
.travis.yml
|
@ -59,6 +59,18 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- MB_ML_VER="_2_28"
|
- MB_ML_VER="_2_28"
|
||||||
- MB_PYTHON_VERSION=3.10
|
- MB_PYTHON_VERSION=3.10
|
||||||
|
- name: "3.11 Focal manylinux_2_28 aarch64"
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
env:
|
||||||
|
- MB_ML_VER=2014
|
||||||
|
- MB_PYTHON_VERSION=3.11
|
||||||
|
- name: "3.11 Focal manylinux_2_28 aarch64"
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
env:
|
||||||
|
- MB_ML_VER="_2_28"
|
||||||
|
- MB_PYTHON_VERSION=3.11
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source multibuild/common_utils.sh
|
- source multibuild/common_utils.sh
|
||||||
|
|
|
@ -143,6 +143,8 @@ function pip_wheel_cmd {
|
||||||
local abs_wheelhouse=$1
|
local abs_wheelhouse=$1
|
||||||
if [ -z "$IS_MACOS" ]; then
|
if [ -z "$IS_MACOS" ]; then
|
||||||
CFLAGS="$CFLAGS --std=c99" # for Raqm
|
CFLAGS="$CFLAGS --std=c99" # for Raqm
|
||||||
|
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]]; then
|
||||||
|
unset _PYTHON_HOST_PLATFORM
|
||||||
fi
|
fi
|
||||||
pip wheel $(pip_opts) \
|
pip wheel $(pip_opts) \
|
||||||
--global-option build_ext --global-option --enable-raqm \
|
--global-option build_ext --global-option --enable-raqm \
|
||||||
|
@ -173,8 +175,10 @@ function run_tests {
|
||||||
apt-get install libfribidi0
|
apt-get install libfribidi0
|
||||||
fi
|
fi
|
||||||
if [[ $(uname -m) == "i686" ]]; then
|
if [[ $(uname -m) == "i686" ]]; then
|
||||||
python3 -m pip install numpy==1.21
|
if [[ "$MB_PYTHON_VERSION" != 3.11 ]]; then
|
||||||
elif [ -z "$IS_ALPINE" ]; then
|
python3 -m pip install numpy==1.21
|
||||||
|
fi
|
||||||
|
elif [ -z "$IS_ALPINE" ] && !([ -n "$IS_MACOS" ] && [[ "$MB_PYTHON_VERSION" == 3.11 ]]); then
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a573af1e3c701b3326a2b185719c0bd116ab44a4
|
Subproject commit 10d9a4c9663759e194495e87eb84f96f7cb513e9
|
Loading…
Reference in New Issue
Block a user