diff --git a/.travis.yml b/.travis.yml index 6ad4343..3301170 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ env: jobs: include: + # Remove this one on 1.4 release - os: linux env: - MB_PYTHON_VERSION=3.7 @@ -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 @@ -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: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3f35941..e5b25fa 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/azure/posix.yml b/azure/posix.yml index 72535b0..6da1f3f 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -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 diff --git a/config.sh b/config.sh index 3e48b8c..f8d41a3 100644 --- a/config.sh +++ b/config.sh @@ -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 }