From 67b0688126d697f773a89782fcf64b9775221c09 Mon Sep 17 00:00:00 2001 From: Nate Parsons Date: Thu, 2 May 2024 13:25:58 -0500 Subject: [PATCH] fixes for min dependency checker --- .github/workflows/tests_with_latest_deps.yaml | 4 ++-- .github/workflows/tests_with_woodwork_main_branch.yaml | 2 +- pyproject.toml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests_with_latest_deps.yaml b/.github/workflows/tests_with_latest_deps.yaml index 76535d7164..451ff0d653 100644 --- a/.github/workflows/tests_with_latest_deps.yaml +++ b/.github/workflows/tests_with_latest_deps.yaml @@ -34,7 +34,7 @@ jobs: - name: Install featuretools with test requirements run: | python -m pip install -e unpacked_sdist/ - python -m pip install -e unpacked_sdist/[test] + python -m pip install -e unpacked_sdist/[test,dask] - if: ${{ matrix.python_version == 3.9 }} name: Generate coverage args run: echo "coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml" >> $GITHUB_ENV @@ -98,7 +98,7 @@ jobs: conda config --add channels conda-forge conda install -q -y -c conda-forge python-graphviz graphviz python -m pip install --upgrade pip - python -m pip install .[test] + python -m pip install .[test,dask] - name: Run unit tests run: | . $env:USERPROFILE\Miniconda3\shell\condabin\conda-hook.ps1 diff --git a/.github/workflows/tests_with_woodwork_main_branch.yaml b/.github/workflows/tests_with_woodwork_main_branch.yaml index f6cacfe810..9f55cc0627 100644 --- a/.github/workflows/tests_with_woodwork_main_branch.yaml +++ b/.github/workflows/tests_with_woodwork_main_branch.yaml @@ -26,7 +26,7 @@ jobs: sudo apt update && sudo apt install -y graphviz - name: Install Woodwork & Featuretools - test requirements run: | - python -m pip install -e unpacked_sdist/[test] + python -m pip install -e unpacked_sdist/[test,dask] python -m pip uninstall -y woodwork python -m pip install https://github.com/alteryx/woodwork/archive/main.zip - name: Log test run info diff --git a/pyproject.toml b/pyproject.toml index 03869f837f..266443528d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,6 @@ test = [ "smart-open >= 5.0.0", "urllib3 >= 1.26.18", "pytest-timeout >= 2.1.0", - "featuretools[dask]" ] dask = [ "dask[dataframe] >= 2023.2.0",