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

Added Python 3.11.0b3 #302

Merged
merged 1 commit into from
Jun 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then
if [[ "$PLAT" == "i686" ]]; then
DOCKER_TEST_IMAGE="multibuild/xenial_$PLAT"
fi
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]] && [[ "$PLAT" == "i686" ]]; then
DOCKER_TEST_IMAGE="radarhere/bionic-$PLAT"
fi

echo "::group::Install a virtualenv"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
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" ]
mb-ml-libc: [ "manylinux" ]
mb-ml-ver: [ 2014, "_2_28" ]
Expand All @@ -41,6 +41,10 @@ jobs:
platform: "x86_64"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
- python: "3.11"
platform: "x86_64"
mb-ml-libc: "musllinux"
mb-ml-ver: "_1_1"
env:
BUILD_COMMIT: ${{ inputs.build-commit }}
PLAT: ${{ matrix.platform }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
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" ]
exclude:
- python: "3.7"
Expand Down
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ jobs:
env:
- MB_ML_VER="_2_28"
- 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:
- source multibuild/common_utils.sh
Expand Down
8 changes: 6 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ function pip_wheel_cmd {
local abs_wheelhouse=$1
if [ -z "$IS_MACOS" ]; then
CFLAGS="$CFLAGS --std=c99" # for Raqm
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]]; then
unset _PYTHON_HOST_PLATFORM
fi
pip wheel $(pip_opts) \
--global-option build_ext --global-option --enable-raqm \
Expand Down Expand Up @@ -173,8 +175,10 @@ function run_tests {
apt-get install libfribidi0
fi
if [[ $(uname -m) == "i686" ]]; then
python3 -m pip install numpy==1.21
elif [ -z "$IS_ALPINE" ]; then
if [[ "$MB_PYTHON_VERSION" != 3.11 ]]; 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
fi

Expand Down
2 changes: 1 addition & 1 deletion multibuild