Daniel Garcia
b9debc1c19
* tests-wasm.patch * tests-nomkl.patch * tests-timedelta.patch * tests-npdev.patch - Skip one test failing with new timezone, the patch would be too big OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=129
101 lines
3.1 KiB
Diff
101 lines
3.1 KiB
Diff
From 1044cf442109953987c1a47f476dc90d286b9f0f Mon Sep 17 00:00:00 2001
|
|
From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
|
|
Date: Tue, 20 Aug 2024 10:32:23 -1000
|
|
Subject: [PATCH] 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 39ce2229a96406edac107fc897e807251d364e2b.
|
|
|
|
* nomkl?
|
|
|
|
* nomkl?
|
|
|
|
* Update .github/actions/build_pandas/action.yml
|
|
|
|
* grep for nomkl
|
|
|
|
* xfail WASM
|
|
|
|
* Reverse condition
|
|
---
|
|
.github/actions/build_pandas/action.yml | 7 +++++++
|
|
pandas/tests/indexes/interval/test_interval_tree.py | 7 +++++--
|
|
pandas/tests/indexing/interval/test_interval.py | 4 ++--
|
|
pandas/tests/indexing/interval/test_interval_new.py | 4 ++--
|
|
4 files changed, 16 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/pandas/tests/indexes/interval/test_interval_tree.py b/pandas/tests/indexes/interval/test_interval_tree.py
|
|
index 49b17f8b3d40e..df9c3b390f660 100644
|
|
--- a/pandas/tests/indexes/interval/test_interval_tree.py
|
|
+++ b/pandas/tests/indexes/interval/test_interval_tree.py
|
|
@@ -4,7 +4,10 @@
|
|
import pytest
|
|
|
|
from pandas._libs.interval import IntervalTree
|
|
-from pandas.compat import IS64
|
|
+from pandas.compat import (
|
|
+ IS64,
|
|
+ WASM,
|
|
+)
|
|
|
|
import pandas._testing as tm
|
|
|
|
@@ -186,7 +189,7 @@ def test_construction_overflow(self):
|
|
expected = (50 + np.iinfo(np.int64).max) / 2
|
|
assert result == expected
|
|
|
|
- @pytest.mark.xfail(not IS64, reason="GH 23440")
|
|
+ @pytest.mark.xfail(WASM, reason="GH 23440")
|
|
@pytest.mark.parametrize(
|
|
"left, right, expected",
|
|
[
|
|
diff --git a/pandas/tests/indexing/interval/test_interval.py b/pandas/tests/indexing/interval/test_interval.py
|
|
index b72ef57475305..6bcebefa6c696 100644
|
|
--- a/pandas/tests/indexing/interval/test_interval.py
|
|
+++ b/pandas/tests/indexing/interval/test_interval.py
|
|
@@ -2,7 +2,7 @@
|
|
import pytest
|
|
|
|
from pandas._libs import index as libindex
|
|
-from pandas.compat import IS64
|
|
+from pandas.compat import WASM
|
|
|
|
import pandas as pd
|
|
from pandas import (
|
|
@@ -210,7 +210,7 @@ def test_mi_intervalindex_slicing_with_scalar(self):
|
|
expected = Series([1, 6, 2, 8, 7], index=expected_index, name="value")
|
|
tm.assert_series_equal(result, expected)
|
|
|
|
- @pytest.mark.xfail(not IS64, reason="GH 23440")
|
|
+ @pytest.mark.xfail(WASM, reason="GH 23440")
|
|
@pytest.mark.parametrize(
|
|
"base",
|
|
[101, 1010],
|
|
diff --git a/pandas/tests/indexing/interval/test_interval_new.py b/pandas/tests/indexing/interval/test_interval_new.py
|
|
index 4c1efe9e4f81d..051dc7b98f2aa 100644
|
|
--- a/pandas/tests/indexing/interval/test_interval_new.py
|
|
+++ b/pandas/tests/indexing/interval/test_interval_new.py
|
|
@@ -3,7 +3,7 @@
|
|
import numpy as np
|
|
import pytest
|
|
|
|
-from pandas.compat import IS64
|
|
+from pandas.compat import WASM
|
|
|
|
from pandas import (
|
|
Index,
|
|
@@ -214,7 +214,7 @@ def test_loc_getitem_missing_key_error_message(
|
|
obj.loc[[4, 5, 6]]
|
|
|
|
|
|
-@pytest.mark.xfail(not IS64, reason="GH 23440")
|
|
+@pytest.mark.xfail(WASM, reason="GH 23440")
|
|
@pytest.mark.parametrize(
|
|
"intervals",
|
|
[
|