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

Python 3.10 Wheels #152

Merged
merged 28 commits into from
Aug 27, 2021
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
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:

jobs:
include:
# Remove this one on 1.4 release
- os: linux
env:
- MB_PYTHON_VERSION=3.7
Expand All @@ -37,6 +38,14 @@ jobs:
- MB_PYTHON_VERSION=3.9
- NP_BUILD_DEP="numpy==1.19.1"
- NP_TEST_DEP="numpy==1.19.1"
- os: linux
env:
- MB_PYTHON_VERSION="3.10"
- NP_BUILD_DEP="numpy==1.21.2"
- NP_TEST_DEP="numpy==1.21.2"
- CYTHON_BUILD_DEP="cython==0.29.24"
# 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 All @@ -60,7 +69,7 @@ script:
- source multibuild/travis_steps.sh
- source extra_functions.sh
- setup_test_venv
- install_run $PLAT
- install_run $PLAT;
- teardown_test_venv

after_success:
Expand Down
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ jobs:
MB_ML_VER: "2014"
NP_BUILD_DEP: "numpy==1.19.3"
NIGHTLY_BUILD: "true"
py_3.10_64:
MB_PYTHON_VERSION: "3.10"
MB_ML_VER: "2014"
NP_BUILD_DEP: "numpy==1.21.2"
CYTHON_BUILD_DEP: "cython==0.29.24"
DOCKER_TEST_IMAGE: "multibuild/focal_{PLAT}"
NIGHTLY_BUILD: "true"


- template: azure/posix.yml
Expand Down
1 change: 1 addition & 0 deletions azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
inputs:
versionSpec: $(MB_PYTHON_VERSION)
displayName: Set python version
condition: not(eq(variables['MB_PYTHON_VERSION'], '3.10'))

- bash: |
set -e
Expand Down
7 changes: 6 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ function run_tests {
# Skip test_rolling_var_numerical_issues: https://github.com/pandas-dev/pandas/issues/37398
# Skip test_rolling_skew_kurt_large_value_range: https://github.com/pandas-dev/pandas/issues/37398
# Skip test_pairwise_with_self/test_no_pairwise_with_self: https://github.com/pandas-dev/pandas/issues/39553
python -c 'import pandas; pandas.test(extra_args=["-m not clipboard", "--skip-slow", "--skip-network", "--skip-db", "-n=2", "-k not test_rolling_var_numerical_issues and not test_rolling_skew_kurt_large_value_range and not test_float_precision_options and not test_pairwise_with_self and not test_no_pairwise_with_self"])'
# Skip reduction tests and window test corr_sanity due to numpy issues: https://github.com/pandas-dev/pandas/issues/41935
if [[ "$MB_PYTHON_VERSION" == "3.10" ]]; then
python -c 'import pandas; pandas.test(extra_args=["-m not clipboard", "--skip-slow", "--skip-network", "--skip-db", "-n=2", "-k not test_rolling_var_numerical_issues and not test_rolling_skew_kurt_large_value_range and not test_float_precision_options and not test_pairwise_with_self and not test_no_pairwise_with_self and not test_corr_sanity and not TestReductions and not TestIndexReductions"])'
else
python -c 'import pandas; pandas.test(extra_args=["-m not clipboard", "--skip-slow", "--skip-network", "--skip-db", "-n=2", "-k not test_rolling_var_numerical_issues and not test_rolling_skew_kurt_large_value_range and not test_float_precision_options and not test_pairwise_with_self and not test_no_pairwise_with_self"])'
fi
}