Skip to content

Commit 1044cf4

Browse files
authored
CI: Uninstall nomkl & 32 bit Interval tests (#59553)
* undo numpy 2 changes? * some interval 32 bit tests working * Revert "undo numpy 2 changes?" This reverts commit 39ce222. * nomkl? * nomkl? * Update .github/actions/build_pandas/action.yml * grep for nomkl * xfail WASM * Reverse condition
1 parent 7c726e9 commit 1044cf4

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/actions/build_pandas/action.yml

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ runs:
2222
fi
2323
shell: bash -el {0}
2424

25+
- name: Uninstall nomkl
26+
run: |
27+
if conda list nomkl | grep nomkl 1>/dev/null; then
28+
conda remove nomkl -y
29+
fi
30+
shell: bash -el {0}
31+
2532
- name: Build Pandas
2633
run: |
2734
if [[ ${{ inputs.editable }} == "true" ]]; then

pandas/tests/indexes/interval/test_interval_tree.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
import pytest
55

66
from pandas._libs.interval import IntervalTree
7-
from pandas.compat import IS64
7+
from pandas.compat import (
8+
IS64,
9+
WASM,
10+
)
811

912
import pandas._testing as tm
1013

@@ -186,7 +189,7 @@ def test_construction_overflow(self):
186189
expected = (50 + np.iinfo(np.int64).max) / 2
187190
assert result == expected
188191

189-
@pytest.mark.xfail(not IS64, reason="GH 23440")
192+
@pytest.mark.xfail(WASM, reason="GH 23440")
190193
@pytest.mark.parametrize(
191194
"left, right, expected",
192195
[

pandas/tests/indexing/interval/test_interval.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44
from pandas._libs import index as libindex
5-
from pandas.compat import IS64
5+
from pandas.compat import WASM
66

77
import pandas as pd
88
from pandas import (
@@ -210,7 +210,7 @@ def test_mi_intervalindex_slicing_with_scalar(self):
210210
expected = Series([1, 6, 2, 8, 7], index=expected_index, name="value")
211211
tm.assert_series_equal(result, expected)
212212

213-
@pytest.mark.xfail(not IS64, reason="GH 23440")
213+
@pytest.mark.xfail(WASM, reason="GH 23440")
214214
@pytest.mark.parametrize("base", [101, 1010])
215215
def test_reindex_behavior_with_interval_index(self, base):
216216
# GH 51826

pandas/tests/indexing/interval/test_interval_new.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import pytest
55

6-
from pandas.compat import IS64
6+
from pandas.compat import WASM
77

88
from pandas import (
99
Index,
@@ -214,7 +214,7 @@ def test_loc_getitem_missing_key_error_message(
214214
obj.loc[[4, 5, 6]]
215215

216216

217-
@pytest.mark.xfail(not IS64, reason="GH 23440")
217+
@pytest.mark.xfail(WASM, reason="GH 23440")
218218
@pytest.mark.parametrize(
219219
"intervals",
220220
[

0 commit comments

Comments
 (0)