From cb2c669526c4ba78a8b2f077de9f3cdbc356e56a Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 29 Aug 2024 13:12:17 +0100 Subject: [PATCH] Remove un-needed package installs in CI (#2095) --- .github/workflows/python-package.yml | 5 ++--- .github/workflows/windows-testing.yml | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 76ae9f982e..b1be7e425d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -50,7 +50,7 @@ jobs: - name: Create Conda environment with the rights deps shell: "bash -l {0}" run: | - conda create -n zarr-env python==${{matrix.python-version}} bsddb3 numcodecs lmdb pip nodejs flake8 mypy + conda create -n zarr-env python==${{matrix.python-version}} bsddb3 pip nodejs conda activate zarr-env npm install -g azurite - name: Install dependencies @@ -58,8 +58,7 @@ jobs: run: | conda activate zarr-env python -m pip install --upgrade pip - python -m pip install -U pip setuptools wheel line_profiler - python -m pip install -r requirements_dev_minimal.txt numpy${{matrix.numpy_version}} -r requirements_dev_optional.txt pymongo redis + python -m pip install -r requirements_dev_minimal.txt numpy${{matrix.numpy_version}} -r requirements_dev_optional.txt line_profiler pymongo redis python -m pip install -e . python -m pip freeze - name: Tests diff --git a/.github/workflows/windows-testing.yml b/.github/workflows/windows-testing.yml index ab86831aae..1e22fec6d1 100644 --- a/.github/workflows/windows-testing.yml +++ b/.github/workflows/windows-testing.yml @@ -31,13 +31,12 @@ jobs: - name: Create Conda environment with the rights deps shell: bash -l {0} run: | - conda create -n zarr-env python==${{matrix.python-version}} numcodecs pip nodejs + conda create -n zarr-env python==${{matrix.python-version}} pip nodejs - name: Install dependencies shell: bash -l {0} run: | conda activate zarr-env python -m pip install --upgrade pip - python -m pip install -U pip setuptools wheel python -m pip install -r requirements_dev_numpy.txt -r requirements_dev_minimal.txt -r requirements_dev_optional.txt python -m pip install . python -m pip freeze