Skip to content

Commit

Permalink
Separate array and dataframe mindeps builds (#8079)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Aug 25, 2021
1 parent 7cfee4a commit 85f0b14
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/additional.yml
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
environment: ["mindeps-array-dataframe", "mindeps-non-optional", "mindeps-distributed"]
environment: ["mindeps-array", "mindeps-dataframe", "mindeps-non-optional", "mindeps-distributed"]

env:
COVERAGE: "true"
Expand Down
19 changes: 19 additions & 0 deletions continuous_integration/environment-mindeps-array.yaml
@@ -0,0 +1,19 @@
name: test-environment
channels:
- conda-forge
dependencies:
# required dependencies
- packaging=20.0
- python=3.7
- pyyaml
- cloudpickle=1.1.1
- partd=0.3.10
- fsspec=0.6.0
- toolz=0.8.2
# optional dependencies pulled in by pip install dask[array]
- numpy=1.18
# test dependencies
- pytest
- pytest-cov
- pytest-rerunfailures
- pytest-xdist
Expand Up @@ -10,7 +10,7 @@ dependencies:
- partd=0.3.10
- fsspec=0.6.0
- toolz=0.8.2
# optional dependencies pulled in by pip install dask[array, dataframe]
# optional dependencies pulled in by pip install dask[dataframe]
- numpy=1.18
- pandas=1.0
# test dependencies
Expand Down
3 changes: 1 addition & 2 deletions dask/array/percentile.py
Expand Up @@ -91,8 +91,7 @@ def percentile(a, q, interpolation="linear", method="default"):
--------
numpy.percentile : Numpy's equivalent Percentile function
"""
from dask.array.dispatch import percentile_lookup as _percentile

from .dispatch import percentile_lookup as _percentile
from .utils import array_safe, meta_from_array

if not a.ndim == 1:
Expand Down
1 change: 0 additions & 1 deletion dask/array/tests/test_array_core.py
Expand Up @@ -21,7 +21,6 @@

import dask
import dask.array as da
import dask.dataframe
from dask.array.core import (
Array,
blockdims_from_blockshape,
Expand Down

0 comments on commit 85f0b14

Please sign in to comment.