From fcdc8da582d1aff839715c3b02584ee7cb6094b9 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Tue, 1 Aug 2023 21:33:10 -0500 Subject: [PATCH] fix: add `lib` modules to top level import; enable simple downstream test in CI (#336) --- .github/envs/environment-3.10.yml | 1 + .github/envs/environment-3.8.yml | 1 + .github/envs/environment-3.9.yml | 1 + pyproject.toml | 3 +++ src/dask_awkward/__init__.py | 7 +++++++ 5 files changed, 13 insertions(+) diff --git a/.github/envs/environment-3.10.yml b/.github/envs/environment-3.10.yml index 03d9154d..cfdbec76 100644 --- a/.github/envs/environment-3.10.yml +++ b/.github/envs/environment-3.10.yml @@ -12,3 +12,4 @@ dependencies: - awkward - dask-histogram - uproot + - hist diff --git a/.github/envs/environment-3.8.yml b/.github/envs/environment-3.8.yml index 5af35db4..87cb7f70 100644 --- a/.github/envs/environment-3.8.yml +++ b/.github/envs/environment-3.8.yml @@ -12,3 +12,4 @@ dependencies: - awkward - dask-histogram - uproot + - hist diff --git a/.github/envs/environment-3.9.yml b/.github/envs/environment-3.9.yml index a0d60d84..f6ad15ba 100644 --- a/.github/envs/environment-3.9.yml +++ b/.github/envs/environment-3.9.yml @@ -12,3 +12,4 @@ dependencies: - awkward - dask-histogram - uproot + - hist diff --git a/pyproject.toml b/pyproject.toml index 7aa2577e..b259033b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,11 +53,14 @@ docs = [ ] test = [ "dask-awkward[complete]", + "dask-histogram", "distributed", + "hist", "pandas", "pytest >=6.0", "pytest-cov >=3.0.0", "requests >=2.27.1", + "uproot", ] [project.entry-points."dask.sizeof"] diff --git a/src/dask_awkward/__init__.py b/src/dask_awkward/__init__.py index eb7db140..267fdf69 100644 --- a/src/dask_awkward/__init__.py +++ b/src/dask_awkward/__init__.py @@ -1,5 +1,12 @@ from dask_awkward import config # isort:skip; load awkward config +import dask_awkward.lib.core as core +import dask_awkward.lib.describe as describe +import dask_awkward.lib.inspect as inspect +import dask_awkward.lib.operations as operations +import dask_awkward.lib.optimize as optimize +import dask_awkward.lib.reducers as reducers +import dask_awkward.lib.structure as structure from dask_awkward.lib.core import Array, PartitionCompatibility, Record, Scalar from dask_awkward.lib.core import _type as type from dask_awkward.lib.core import (