Skip to content

Commit d4e2734

Browse files
TomAugspurgerjreback
authored andcommitted
Added 32-bit build (pandas-dev#27274)
1 parent 5688096 commit d4e2734

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

ci/azure/posix.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
PATTERN: "not slow and not network"
3434
LOCALE_OVERRIDE: "it_IT.UTF-8"
3535

36+
py36_32bit:
37+
ENV_FILE: ci/deps/azure-36-32bit.yaml
38+
CONDA_PY: "36"
39+
PATTERN: "not slow and not network"
40+
BITS32: "yes"
41+
3642
py37_locale:
3743
ENV_FILE: ci/deps/azure-37-locale.yaml
3844
CONDA_PY: "37"

ci/deps/azure-36-32bit.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: pandas-dev
2+
channels:
3+
- defaults
4+
- conda-forge
5+
dependencies:
6+
- gcc_linux-32
7+
- gcc_linux-32
8+
- gxx_linux-32
9+
- cython=0.28.2
10+
- numpy=1.14.*
11+
- python-dateutil
12+
- python=3.6.*
13+
- pytz=2017.2
14+
# universal
15+
- pytest>=4.0.2,<5.0.0
16+
- pytest-xdist
17+
- pytest-mock
18+
- pytest-azurepipelines
19+
- hypothesis>=3.58.0
20+
- pip

ci/setup_env.sh

+6
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ echo
9494
echo "conda env create -q --file=${ENV_FILE}"
9595
time conda env create -q --file="${ENV_FILE}"
9696

97+
98+
if [[ "$BITS32" == "yes" ]]; then
99+
# activate 32-bit compiler
100+
export CONDA_BUILD=1
101+
fi
102+
97103
echo "activate pandas-dev"
98104
source activate pandas-dev
99105

pandas/tests/groupby/test_grouping.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_groupby_empty(self):
616616
# check group properties
617617
assert len(gr.grouper.groupings) == 1
618618
tm.assert_numpy_array_equal(
619-
gr.grouper.group_info[0], np.array([], dtype=np.dtype("intp"))
619+
gr.grouper.group_info[0], np.array([], dtype=np.dtype("int64"))
620620
)
621621

622622
tm.assert_numpy_array_equal(

0 commit comments

Comments
 (0)