From 22756078e3ac2dacdb436ec629177fcdca4f7434 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 31 May 2022 11:49:13 -0700 Subject: [PATCH 1/2] Revert "Skip test_git_version/test_show_versions_console (#182)" This reverts commit ba8aedef5cf6d08924739862a737fb5727da7955. --- config.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.sh b/config.sh index edf6d35..d7f7b96 100644 --- a/config.sh +++ b/config.sh @@ -37,6 +37,5 @@ 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 - # Skip test_git_version/test_show_versions_console: https://github.com/pandas-dev/pandas/issues/46856 - 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_pickle_frame_v124_unpickle_130 and not test_git_version and not test_show_versions_console"])' + 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_pickle_frame_v124_unpickle_130"])' } From 44dd90d5dbd183f4954ef5050735aa85f70f55df Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Tue, 31 May 2022 11:52:46 -0700 Subject: [PATCH 2/2] Update config.sh --- config.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.sh b/config.sh index d7f7b96..27c85f0 100644 --- a/config.sh +++ b/config.sh @@ -1,6 +1,13 @@ # Define custom utilities # Test for OSX with [ -n "$IS_OSX" ] +# Adapted from MacPython/numpy-wheels +# https://github.com/MacPython/numpy-wheels/blob/87b189083a5f77225c3e51895c16d11711f73987/config.sh#L4-L7 +if [ $(uname) == "Linux" ]; then + IS_LINUX=1 + ! git config --global --add safe.directory /io/pandas +fi + function pre_build { # Any stuff that you need to do before you start building the wheels # Runs in the root directory of this repository.