Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

BLD: Python 3.11 wheels #192

Merged
merged 24 commits into from
Sep 2, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
global:
- REPO_DIR=pandas
# on release change this to a version
- BUILD_COMMIT="v1.4.4"
- BUILD_COMMIT="v1.5.0rc0"
- UNICODE_WIDTH=32
- PLAT=aarch64
- NP_BUILD_DEP="numpy==1.17.3"
Expand Down Expand Up @@ -39,6 +39,13 @@ jobs:
- NP_TEST_DEP="numpy==1.21.2"
# Xenial is EOL and the pip there doesn't support python 3.10
- DOCKER_TEST_IMAGE="multibuild/focal_arm64v8"
- os: linux
env:
- MB_PYTHON_VERSION="3.11"
- NP_BUILD_DEP="numpy==1.23.2"
- NP_TEST_DEP="numpy==1.23.2"
# Xenial is EOL and the pip there doesn't support python 3.10
- DOCKER_TEST_IMAGE="multibuild/focal_arm64v8"
before_install:
# See:
# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
Expand Down
24 changes: 23 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
PYTHON_ARCH: "x64"
NP_BUILD_DEP: "1.21.3"
NIGHTLY_BUILD: "true"
py_3.11_64:
PYTHON_VERSION: "3.11-dev"
PYTHON_ARCH: "x64"
NP_BUILD_DEP: "1.23.2"
NIGHTLY_BUILD: "true"

- template: azure/posix.yml
parameters:
Expand All @@ -66,7 +71,12 @@ jobs:
NP_BUILD_DEP: "numpy==1.21.2"
DOCKER_TEST_IMAGE: "multibuild/focal_{PLAT}"
NIGHTLY_BUILD: "true"

py_3.11_64:
MB_PYTHON_VERSION: "3.11"
MB_ML_VER: "2014"
NP_BUILD_DEP: "numpy==1.23.2"
DOCKER_TEST_IMAGE: "multibuild/focal_{PLAT}"
NIGHTLY_BUILD: "true"

- template: azure/posix.yml
parameters:
Expand Down Expand Up @@ -101,3 +111,15 @@ jobs:
PLAT: universal2
NP_BUILD_DEP: "numpy==1.21.3"
NIGHTLY_BUILD: "true"
py_3.11_64:
MB_PYTHON_VERSION: "3.11-dev"
PLAT: "x86_64"
NP_BUILD_DEP: "numpy==1.23.2"
NIGHTLY_BUILD: "true"
MB_PYTHON_OSX_VER: 10.9
py_3.11_universal2:
MB_PYTHON_VERSION: "3.11-dev"
PLAT: universal2
NP_BUILD_DEP: "numpy==1.23.2"
NIGHTLY_BUILD: "true"
MB_PYTHON_OSX_VER: 10.9
4 changes: 3 additions & 1 deletion azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
vmImage: ${{ parameters.vmImage }}
variables:
REPO_DIR: "pandas"
BUILD_COMMIT: "v1.4.4"
BUILD_COMMIT: "v1.5.0rc0"
PLAT: "x86_64"
NP_BUILD_DEP: "numpy==1.17.3"
CYTHON_BUILD_DEP: "cython==0.29.32"
Expand All @@ -28,7 +28,9 @@ jobs:
- task: UsePythonVersion@0
inputs:
versionSpec: $(MB_PYTHON_VERSION)
allowUnstable: true
displayName: Set python version
condition: not(eq(variables['MB_PYTHON_VERSION'], '3.11'))

- bash: |
set -e
Expand Down
18 changes: 15 additions & 3 deletions azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
pool:
vmImage: ${{ parameters.vmImage }}
variables:
BUILD_COMMIT: "v1.4.4"
BUILD_COMMIT: "v1.5.0rc0"
NP_BUILD_DEP: "1.17.3"
CYTHON_BUILD_DEP: "0.29.32"
NIGHTLY_BUILD_COMMIT: "main"
Expand All @@ -27,6 +27,7 @@ jobs:
inputs:
versionSpec: $(PYTHON_VERSION)
architecture: $(PYTHON_ARCH)
allowUnstable: true
displayName: Set python version

- bash: |
Expand Down Expand Up @@ -91,9 +92,20 @@ jobs:
displayName: Install wheel and test
condition: eq(variables['SKIP_BUILD'], 'false')

- bash: |
if [[ $PYTHON_VERSION == *"-dev"* ]]; then
stripped_ver=$(echo $PYTHON_VERSION | sed -e "s/dev/rc/g")
echo $stripped_ver
echo "##vso[task.setvariable variable=STRIPPED_PYTHON_VERSION]$stripped_ver"
else
echo "##vso[task.setvariable variable=STRIPPED_PYTHON_VERSION]$PYTHON_VERSION"
fi
displayName: Strip dev postfix from PYTHON_VERSION for pre-releases
condition: eq(variables['SKIP_BUILD'], 'false')

- script: |
docker pull python:$(PYTHON_VERSION)-windowsservercore
docker run -v %cd%:c:\pandas python:$(PYTHON_VERSION)-windowsservercore /pandas/check_windows_dlls.bat
docker pull python:$(STRIPPED_PYTHON_VERSION)-windowsservercore
docker run -v %cd%:c:\pandas python:$(STRIPPED_PYTHON_VERSION)-windowsservercore /pandas/check_windows_dlls.bat
displayName: Ensure wheel imports correctly
# No Windows images for x86
condition: and(eq(variables['SKIP_BUILD'], 'false'), eq(variables['PYTHON_ARCH'], 'x64'))
Expand Down