diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f891ab7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "pip" + # Files stored in repository root + directory: "/" + schedule: + interval: "daily" + time: "08:00" + ignore: + - dependency-name: "torchmetrics" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ca71b8..e786fed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12"] # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories platform: [ubuntu-latest, macos-13, windows-latest] diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a04f6bd..a24652e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] platform: [ubuntu-latest] steps: diff --git a/pyproject.toml b/pyproject.toml index 90c5343..2925fe1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ name = "microssim" dynamic = ["version"] description = "Improved structural similarity metrics for comparing microscopy data." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.11" license = { text = "BSD-3-Clause" } authors = [ { name = 'Ashesh' }, @@ -37,12 +37,12 @@ classifiers = [ "Typing :: Typed", ] dependencies = [ - "numpy<2", - "scipy", - "scikit-image", - "torch", - "torchmetrics", - "tqdm", + "numpy>=1.21,<3.0.0", + "scipy<=1.16.3", + "scikit-image<=0.25.2", + "torch<=2.9.1", + "torchmetrics<=1.8.2", + "tqdm<=4.67.1", ] [project.optional-dependencies]