From 08893e74c12c2cb3c4ac9907b5f96c30b5220388 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Tue, 9 May 2023 11:56:23 -0500 Subject: [PATCH 1/3] Run CI against multiple Python versions --- .github/workflows/test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 88d5e9232..30e95a5e6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,6 +18,11 @@ defaults: jobs: test: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11"] + steps: - uses: actions/checkout@v2 @@ -26,6 +31,8 @@ jobs: with: environment-file: ci/environment.yml environment-name: dask-match + extra-specs: | + python=${{ matrix.python-version }} - name: Install Dask-Match run: python -m pip install -e . --no-deps From 66900ec453e74f90eb413102549a583eec7336fc Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Tue, 9 May 2023 12:03:15 -0500 Subject: [PATCH 2/3] Fixup --- dask_expr/collection.py | 2 ++ dask_expr/expr.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dask_expr/collection.py b/dask_expr/collection.py index 177da760c..e1ab97b27 100644 --- a/dask_expr/collection.py +++ b/dask_expr/collection.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import functools import numpy as np diff --git a/dask_expr/expr.py b/dask_expr/expr.py index 8485f8dbb..3cd4ce790 100644 --- a/dask_expr/expr.py +++ b/dask_expr/expr.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import functools import numbers import operator From e6ecd5cf4607c6c142c57daab132bd23613eeb8b Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Tue, 9 May 2023 12:06:08 -0500 Subject: [PATCH 3/3] Lint --- dask_expr/expr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask_expr/expr.py b/dask_expr/expr.py index 3cd4ce790..b8617c021 100644 --- a/dask_expr/expr.py +++ b/dask_expr/expr.py @@ -417,7 +417,7 @@ def __dask_graph__(self): def __dask_keys__(self): return [(self._name, i) for i in range(self.npartitions)] - def substitute(self, substitutions: dict) -> "Expr": + def substitute(self, substitutions: dict) -> Expr: """Substitute specific `Expr` instances within `self` Parameters