Skip to content

Commit 760935f

Browse files
Backport PR #43613 on branch 1.3.x (CI: Add back CircleCI for ARM64) (#43615)
1 parent 6250341 commit 760935f

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

.circleci/config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2.1
2+
3+
jobs:
4+
test-arm:
5+
machine:
6+
image: ubuntu-2004:202101-01
7+
resource_class: arm.medium
8+
environment:
9+
ENV_FILE: ci/deps/circle-37-arm64.yaml
10+
PYTEST_WORKERS: auto
11+
PATTERN: "not slow and not network and not clipboard and not arm_slow"
12+
PYTEST_TARGET: "pandas"
13+
steps:
14+
- checkout
15+
- run: ci/setup_env.sh
16+
- run: PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH ci/run_tests.sh
17+
18+
workflows:
19+
test:
20+
jobs:
21+
- test-arm

pandas/tests/indexes/numeric/test_numeric.py

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

44
from pandas._libs.tslibs import Timestamp
5-
from pandas.compat import (
6-
is_platform_arm,
7-
is_platform_mac,
8-
)
5+
from pandas.compat import is_platform_arm
96

107
import pandas as pd
118
from pandas import (
@@ -536,7 +533,7 @@ def test_constructor(self, dtype):
536533
tm.assert_index_equal(res, idx)
537534

538535
@pytest.mark.xfail(
539-
not (is_platform_arm() and is_platform_mac()),
536+
not is_platform_arm(),
540537
reason="https://github.com/numpy/numpy/issues/19146",
541538
)
542539
def test_constructor_does_not_cast_to_float(self):

0 commit comments

Comments
 (0)