diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cce78ec2a64..1108fd6ffa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: diff --git a/docs/conf.py b/docs/conf.py index 346fbcd8611..99355183995 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/modin/config/__init__.py b/modin/config/__init__.py index 3e39b9e811a..467495d6b0a 100644 --- a/modin/config/__init__.py +++ b/modin/config/__init__.py @@ -52,7 +52,6 @@ TestReadFromSqlServer, TrackFileLeaks, UsePlainPandasQueryCompiler, - ) from modin.config.pubsub import Parameter, ValueSource, context diff --git a/modin/pandas/io.py b/modin/pandas/io.py index 615bab25762..5bb599dd749 100644 --- a/modin/pandas/io.py +++ b/modin/pandas/io.py @@ -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 ( diff --git a/modin/pandas/utils.py b/modin/pandas/utils.py index 09b19637e88..ef7f199b57c 100644 --- a/modin/pandas/utils.py +++ b/modin/pandas/utils.py @@ -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}`). diff --git a/setup.cfg b/setup.cfg index ab9bf80c882..884ec718a6a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -73,6 +73,3 @@ exclude_lines = raise ImportError assert pass - -[pytest] -addopts = --env=MODIN_USE_PLAIN_PANDAS_QUERY_COMPILER=True \ No newline at end of file