Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 7986ebd

Browse files
committed
Pinning numba version to 0.54.0
1 parent 05118ea commit 7986ebd

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Building on Linux with setuptools
8585

8686
export PYVER=<3.6 or 3.7>
8787
export NUMPYVER=<1.16 or 1.17>
88-
conda create -n sdc-env -q -y -c intel/label/beta -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER tbb-devel tbb4py numba=0.53.1 pandas=1.2.0 pyarrow=4.0.1 gcc_linux-64 gxx_linux-64
88+
conda create -n sdc-env -q -y -c intel/label/beta -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER tbb-devel tbb4py numba=0.54.0 pandas=1.2.0 pyarrow=4.0.1 gcc_linux-64 gxx_linux-64
8989
source activate sdc-env
9090
git clone https://github.com/IntelPython/sdc.git
9191
cd sdc
@@ -123,7 +123,7 @@ Building on Windows with setuptools
123123

124124
set PYVER=<3.6 or 3.7>
125125
set NUMPYVER=<1.16 or 1.17>
126-
conda create -n sdc-env -c intel/label/beta -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% tbb-devel tbb4py numba=0.53.1 pandas=1.2.0 pyarrow=4.0.1
126+
conda create -n sdc-env -c intel/label/beta -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% tbb-devel tbb4py numba=0.54.0 pandas=1.2.0 pyarrow=4.0.1
127127
conda activate sdc-env
128128
set INCLUDE=%INCLUDE%;%CONDA_PREFIX%\Library\include
129129
set LIB=%LIB%;%CONDA_PREFIX%\Library\lib

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set NUMBA_VERSION = ">0.53.1" %}
1+
{% set NUMBA_VERSION = "==0.54.0" %}
22
{% set PANDAS_VERSION = "==1.2.0" %}
33
{% set PYARROW_VERSION = "==4.0.1" %}
44

sdc/extensions/indexes/multi_index_ext.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
from sdc.datatypes.indexes import *
4444
from sdc.utilities.sdc_typing_utils import SDCLimitation
45-
from sdc.utilities.utils import sdc_overload, sdc_overload_attribute, sdc_overload_method, BooleanLiteral
45+
from sdc.utilities.utils import sdc_overload, sdc_overload_attribute, sdc_overload_method
4646
from sdc.utilities.sdc_typing_utils import (
4747
TypeChecker,
4848
sdc_pandas_index_types,
@@ -759,10 +759,9 @@ def pd_multi_index_is_overload(context, builder, sig, args):
759759
if ty_lhs != ty_rhs:
760760
return cgutils.false_bit
761761

762+
# similar to Int64Index (compare instructions building index structs)
762763
lhs, rhs = args
763-
lhs_ptr = builder.ptrtoint(lhs.operands[0], cgutils.intp_t)
764-
rhs_ptr = builder.ptrtoint(rhs.operands[0], cgutils.intp_t)
765-
return builder.icmp_signed('==', lhs_ptr, rhs_ptr)
764+
return context.get_constant(types.bool_, lhs == rhs)
766765

767766

768767
@lower_builtin('getiter', MultiIndexType)

0 commit comments

Comments
 (0)