Skip to content

Commit

Permalink
Set environment variables for query-planning
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Apr 4, 2024
1 parent 646db4e commit 234b8d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
OMP_NUM_THREADS: 1
OPENBLAS_NUM_THREADS: 1
MKL_NUM_THREADS: 1
VECLIB_MAXIMUM_THREADS: 1
NUMEXPR_NUM_THREADS: 1
PYDEVD_DISABLE_FILE_VALIDATION: 1
DASK_DATAFRAME__QUERY_PLANNING: false

jobs:
pre_commit:
name: Run pre-commit
Expand Down Expand Up @@ -90,12 +99,6 @@ jobs:
shell: bash -l {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OMP_NUM_THREADS: 1
OPENBLAS_NUM_THREADS: 1
MKL_NUM_THREADS: 1
VECLIB_MAXIMUM_THREADS: 1
NUMEXPR_NUM_THREADS: 1
PYDEVD_DISABLE_FILE_VALIDATION: 1
steps:
- uses: holoviz-dev/holoviz_tasks/install@v0
with:
Expand Down
10 changes: 0 additions & 10 deletions examples/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import platform
import contextlib


collect_ignore_glob = []

Expand All @@ -21,11 +19,3 @@
collect_ignore_glob += [
"user_guide/7_Networks.ipynb",
]


with contextlib.suppress(Exception):
# From Dask 2024.3.0 they now use `dask_expr` by default
# https://github.com/dask/dask/issues/10995
import dask

dask.config.set({"dataframe.query-planning": False})

0 comments on commit 234b8d7

Please sign in to comment.