Skip to content

Commit

Permalink
CI filter
Browse files Browse the repository at this point in the history
Signed-off-by: arunjose696 <arunjose696@gmail.com>
  • Loading branch information
arunjose696 committed May 23, 2024
1 parent 3aa554c commit e6b035f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 17 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ jobs:
unidist: ${{ steps.filter.outputs.unidist }}
engines: ${{ steps.engines.outputs.engines }}
experimental: ${{ steps.experimental.outputs.experimental }}
test-small-query-compiler: ${{ steps.filter.outputs.test-small-query-compiler }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -636,8 +637,8 @@ jobs:
- run: python -m pytest modin/tests/experimental/spreadsheet/test_general.py

test-small-query-compiler:
needs: [changes, lint-flake8, lint-black, test-api, test-headers]
if: ${{ needs.changes.outputs.test-small-query-compiler == 'true' }}
needs: [ lint-flake8, execution-filter]
if: ${{ needs.execution-filter.outputs.test-small-query-compiler == 'true' }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def noop_decorator(*args, **kwargs):
if not hasattr(sys.modules["unidist"].core.base, "object_ref"):
sys.modules["unidist"].core.base.object_ref = type("object_ref", (object,), {})
if not hasattr(sys.modules["unidist"].core.base.object_ref, "ObjectRef"):
sys.modules["unidist"].core.base.object_ref.ObjectRef = type(
"ObjectRef", (object,), {}
)
sys.modules["unidist"].core.base.object_ref.ObjectRef = type("ObjectRef", (object,), {})

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
import modin
Expand Down
1 change: 0 additions & 1 deletion modin/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
TestReadFromSqlServer,
TrackFileLeaks,
UsePlainPandasQueryCompiler,

)
from modin.config.pubsub import Parameter, ValueSource, context

Expand Down
1 change: 0 additions & 1 deletion modin/pandas/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
from pandas.io.parsers import TextFileReader
from pandas.io.parsers.readers import _c_parser_defaults


from modin.config import ModinNumpy, UsePlainPandasQueryCompiler
from modin.error_message import ErrorMessage
from modin.experimental.core.storage_formats.pandas.small_query_compiler import (
Expand Down
8 changes: 1 addition & 7 deletions modin/pandas/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@
from pandas._typing import AggFuncType, AggFuncTypeBase, AggFuncTypeDict, IndexLabel
from pandas.util._decorators import doc



from modin.experimental.core.storage_formats.pandas.small_query_compiler import (
SmallQueryCompiler,
)

from modin.utils import hashable
from modin.utils import hashable

_doc_binary_operation = """
Return {operation} of {left} and `{right}` (binary operator `{bin_op}`).
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,3 @@ exclude_lines =
raise ImportError
assert
pass

[pytest]
addopts = --env=MODIN_USE_PLAIN_PANDAS_QUERY_COMPILER=True

0 comments on commit e6b035f

Please sign in to comment.