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

Commit 734492f

Browse files
authored
Adapt to Git Changes & Revert #182 (#183)
1 parent ba8aede commit 734492f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

config.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Define custom utilities
22
# Test for OSX with [ -n "$IS_OSX" ]
33

4+
# Adapted from MacPython/numpy-wheels
5+
# https://github.com/MacPython/numpy-wheels/blob/87b189083a5f77225c3e51895c16d11711f73987/config.sh#L4-L7
6+
if [ $(uname) == "Linux" ]; then
7+
IS_LINUX=1
8+
! git config --global --add safe.directory /io/pandas
9+
fi
10+
411
function pre_build {
512
# Any stuff that you need to do before you start building the wheels
613
# Runs in the root directory of this repository.
@@ -37,6 +44,5 @@ function run_tests {
3744
# Skip test_rolling_var_numerical_issues: https://github.com/pandas-dev/pandas/issues/37398
3845
# Skip test_rolling_skew_kurt_large_value_range: https://github.com/pandas-dev/pandas/issues/37398
3946
# Skip test_pairwise_with_self/test_no_pairwise_with_self: https://github.com/pandas-dev/pandas/issues/39553
40-
# Skip test_git_version/test_show_versions_console: https://github.com/pandas-dev/pandas/issues/46856
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 and not test_pickle_frame_v124_unpickle_130 and not test_git_version and not test_show_versions_console"])'
47+
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"])'
4248
}

0 commit comments

Comments
 (0)