From 66fa1643a04cba1b2d47ca6b17509b11e1b08494 Mon Sep 17 00:00:00 2001 From: Zewen Kelvin Tuong Date: Mon, 18 Nov 2024 20:45:50 +1000 Subject: [PATCH] update dependencies (#82) * update dependencies * Update tests.yaml * Update formatting.yaml * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml --- .github/workflows/formatting.yaml | 8 ++++++-- .github/workflows/tests.yaml | 6 ++---- pyproject.toml | 13 +++++++------ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml index 14b9bcf..81b92e1 100644 --- a/.github/workflows/formatting.yaml +++ b/.github/workflows/formatting.yaml @@ -40,5 +40,9 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 - - name: Interrogate - uses: JackMcKew/python-interrogate-check@main + - name: Install interrogate + run: python -m pip install interrogate + + - name: Run interrogate + run: interrogate . + diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c8bd1bd..d8a26a6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -45,14 +45,12 @@ jobs: max-parallel: 6 matrix: config: - - { python-version: 3.8, os: ubuntu-latest } - - { python-version: 3.9, os: ubuntu-latest } - { python-version: "3.10", os: ubuntu-latest } - { python-version: "3.11", os: ubuntu-latest } - - { python-version: 3.8, os: macos-latest } - - { python-version: 3.9, os: macos-latest } + - { python-version: "3.12", os: ubuntu-latest } - { python-version: "3.10", os: macos-latest } - { python-version: "3.11", os: macos-latest } + - { python-version: "3.12", os: macos-latest } runs-on: ${{ matrix.config.os }} env: TZ: UTC diff --git a/pyproject.toml b/pyproject.toml index 3320e44..603b402 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,14 +24,15 @@ readme = "README.rst" include = ["LICENSE"] [tool.poetry.dependencies] -python = "^3.8" +python = ">=3.10" pandas = ">=1.5,<3.0" -numpy = "^1.23.5" -plotnine = "^0.12.0" +numpy = "<=2.1.3" +plotnine = "<=0.12.4" seaborn = ">=0.12,<0.14" -requests = "^2.28.0" -python-circos = "^0.3.0" -anndata = { optional = true, version = ">=0.7.6,<0.10.0" } +requests = ">=2.28.0" +python-circos = ">=0.3.0" +setuptools = "*" +anndata = { optional = true, version = ">=0.7.6,<0.11.2" } black = { optional = true, version = "*" } pytest-cov = { optional = true, version = "*" } sphinx = { optional = true, version = "<8" } # see issue at https://github.com/readthedocs/readthedocs.org/issues/10279