Skip to content

Added 32-bit build #27274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
PATTERN: "not slow and not network"
LOCALE_OVERRIDE: "it_IT.UTF-8"

py36_32bit:
ENV_FILE: ci/deps/azure-36-32bit.yaml
CONDA_PY: "36"
PATTERN: "not slow and not network"
BITS32: "yes"

py37_locale:
ENV_FILE: ci/deps/azure-37-locale.yaml
CONDA_PY: "37"
Expand Down
20 changes: 20 additions & 0 deletions ci/deps/azure-36-32bit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: pandas-dev
channels:
- defaults
- conda-forge
dependencies:
- gcc_linux-32
- gcc_linux-32
- gxx_linux-32
- cython=0.28.2
- numpy=1.14.*
- python-dateutil
- python=3.6.*
- pytz=2017.2
# universal
- pytest>=4.0.2,<5.0.0
- pytest-xdist
- pytest-mock
- pytest-azurepipelines
- hypothesis>=3.58.0
- pip
6 changes: 6 additions & 0 deletions ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ echo
echo "conda env create -q --file=${ENV_FILE}"
time conda env create -q --file="${ENV_FILE}"


if [[ "$BITS32" == "yes" ]]; then
# activate 32-bit compiler
export CONDA_BUILD=1
fi

echo "activate pandas-dev"
source activate pandas-dev

Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/groupby/test_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def test_groupby_empty(self):
# check group properties
assert len(gr.grouper.groupings) == 1
tm.assert_numpy_array_equal(
gr.grouper.group_info[0], np.array([], dtype=np.dtype("intp"))
gr.grouper.group_info[0], np.array([], dtype=np.dtype("int64"))
)

tm.assert_numpy_array_equal(
Expand Down