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

Commit 2e9a1d0

Browse files
authored
Python 3.10 Wheels (#152)
1 parent 311ea94 commit 2e9a1d0

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ env:
2222

2323
jobs:
2424
include:
25+
# Remove this one on 1.4 release
2526
- os: linux
2627
env:
2728
- MB_PYTHON_VERSION=3.7
@@ -37,6 +38,14 @@ jobs:
3738
- MB_PYTHON_VERSION=3.9
3839
- NP_BUILD_DEP="numpy==1.19.1"
3940
- NP_TEST_DEP="numpy==1.19.1"
41+
- os: linux
42+
env:
43+
- MB_PYTHON_VERSION="3.10"
44+
- NP_BUILD_DEP="numpy==1.21.2"
45+
- NP_TEST_DEP="numpy==1.21.2"
46+
- CYTHON_BUILD_DEP="cython==0.29.24"
47+
# Xenial is EOL and the pip there doesn't support python 3.10
48+
- DOCKER_TEST_IMAGE="multibuild/focal_arm64v8"
4049
before_install:
4150
# See:
4251
# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
@@ -60,7 +69,7 @@ script:
6069
- source multibuild/travis_steps.sh
6170
- source extra_functions.sh
6271
- setup_test_venv
63-
- install_run $PLAT
72+
- install_run $PLAT;
6473
- teardown_test_venv
6574

6675
after_success:

azure-pipelines.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ jobs:
9292
MB_ML_VER: "2014"
9393
NP_BUILD_DEP: "numpy==1.19.3"
9494
NIGHTLY_BUILD: "true"
95+
py_3.10_64:
96+
MB_PYTHON_VERSION: "3.10"
97+
MB_ML_VER: "2014"
98+
NP_BUILD_DEP: "numpy==1.21.2"
99+
CYTHON_BUILD_DEP: "cython==0.29.24"
100+
DOCKER_TEST_IMAGE: "multibuild/focal_{PLAT}"
101+
NIGHTLY_BUILD: "true"
95102

96103

97104
- template: azure/posix.yml

azure/posix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
inputs:
3030
versionSpec: $(MB_PYTHON_VERSION)
3131
displayName: Set python version
32+
condition: not(eq(variables['MB_PYTHON_VERSION'], '3.10'))
3233

3334
- bash: |
3435
set -e

config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ function run_tests {
3434
# Skip test_rolling_var_numerical_issues: https://github.com/pandas-dev/pandas/issues/37398
3535
# Skip test_rolling_skew_kurt_large_value_range: https://github.com/pandas-dev/pandas/issues/37398
3636
# Skip test_pairwise_with_self/test_no_pairwise_with_self: https://github.com/pandas-dev/pandas/issues/39553
37-
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"])'
37+
# Skip reduction tests and window test corr_sanity due to numpy issues: https://github.com/pandas-dev/pandas/issues/41935
38+
if [[ "$MB_PYTHON_VERSION" == "3.10" ]]; then
39+
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"])'
40+
else
41+
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"])'
42+
fi
3843
}

0 commit comments

Comments
 (0)