From b72e9df7763f360df812c8ddebdf8314decd58fb Mon Sep 17 00:00:00 2001 From: Anushka Acharya <66816733+anushka255@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:05:13 -0400 Subject: [PATCH] separating pinned and unpinned dependencies (#47) --- .../{tests.yml => test_pinned_deps.yml} | 5 ++- .../{build.yml => test_unpinned_deps.yml} | 5 ++- requirements.txt | 34 +++++++++---------- 3 files changed, 25 insertions(+), 19 deletions(-) rename .github/workflows/{tests.yml => test_pinned_deps.yml} (89%) rename .github/workflows/{build.yml => test_unpinned_deps.yml} (87%) diff --git a/.github/workflows/tests.yml b/.github/workflows/test_pinned_deps.yml similarity index 89% rename from .github/workflows/tests.yml rename to .github/workflows/test_pinned_deps.yml index 6f10775..14d74e8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/test_pinned_deps.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest, windows-latest] python-version: ["3.12"] name: Build wheel on ${{ matrix.os }} @@ -36,6 +36,9 @@ jobs: - name: Install package run: pip install -e . + - name: Check Versions of Dependencies + run: pip freeze + - name: Pytest with coverage run: coverage run --source=src/paste3 -m pytest diff --git a/.github/workflows/build.yml b/.github/workflows/test_unpinned_deps.yml similarity index 87% rename from .github/workflows/build.yml rename to .github/workflows/test_unpinned_deps.yml index 549ab3a..f869ab5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/test_unpinned_deps.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest, windows-latest] python-version: ["3.12"] name: Build wheel on ${{ matrix.os }} @@ -38,6 +38,9 @@ jobs: - name: Install Developer Dependencies run: pip install .[dev] + - name: Check Versions of Dependencies + run: pip freeze + - name: Pytest run: pytest diff --git a/requirements.txt b/requirements.txt index 06cb3bf..05ee7cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,21 +1,21 @@ anndata==0.10.8 scanpy==1.10.2 -POT -numpy -scipy +POT==0.9.4 +numpy==1.26.4 +scipy==1.14.1 scikit-learn==1.5.1 -IPython>=7.18.1 -pytest -seaborn -matplotlib -pandas +IPython==8.27.0 +pytest==8.3.2 +seaborn==0.13.2 +matplotlib==3.9.2 +pandas==2.2.2 statsmodels==0.14.2 -networkx -sphinx -myst-parser -sphinx-autodoc-typehints -nbsphinx -sphinx-gallery -sphinx-rtd-theme -coverage -coveralls \ No newline at end of file +networkx==3.3 +sphinx==7.4.7 +myst-parser==4.0.0 +sphinx-autodoc-typehints==2.2.3 +nbsphinx==0.9.5 +sphinx-gallery==0.17.1 +sphinx-rtd-theme==2.0.0 +coverage==7.6.1 +coveralls==4.0.1 \ No newline at end of file