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

Commit 5c462f4

Browse files
authored
Switch off passes in new style (#304)
1 parent 02f9fc7 commit 5c462f4

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

sdc/__init__.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,14 @@
7474
TODO: Needs to detect 'import Pandas' and align initialization according to it
7575
"""
7676

77-
sdc.config.numba_typed_passes_annotatetypes_orig = numba.typed_passes.AnnotateTypes.run_pass
78-
numba.typed_passes.AnnotateTypes.run_pass = sdc.datatypes.hpat_pandas_dataframe_pass.sdc_dataframepassimpl_overload
77+
# Need more work since Series tests failed
78+
# Test: SDC_CONFIG_PIPELINE_SDC=0 python -m sdc.runtests -k sdc.tests.test_series.TestSeries.test_series_sort_values1
7979

80-
sdc.config.numba_untyped_passes_inlineclosurelikes_orig = numba.untyped_passes.InlineClosureLikes.run_pass
81-
numba.untyped_passes.InlineClosureLikes.run_pass = sdc.datatypes.hpat_pandas_dataframe_pass.sdc_hiframespassimpl_overload
80+
# sdc.config.numba_typed_passes_annotatetypes_orig = numba.typed_passes.AnnotateTypes.run_pass
81+
# numba.typed_passes.AnnotateTypes.run_pass = sdc.datatypes.hpat_pandas_dataframe_pass.sdc_dataframepassimpl_overload
82+
83+
# sdc.config.numba_untyped_passes_inlineclosurelikes_orig = numba.untyped_passes.InlineClosureLikes.run_pass
84+
# numba.untyped_passes.InlineClosureLikes.run_pass = sdc.datatypes.hpat_pandas_dataframe_pass.sdc_hiframespassimpl_overload
8285

8386
def _init_extension():
8487
'''Register Pandas classes and functions with Numba.

0 commit comments

Comments
 (0)