From 160bfac1b5de31e34227abe768c9b2d478abc857 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Tue, 25 Jun 2024 11:31:02 +0200 Subject: [PATCH] Bump dependencies --- .github/workflows/unittest.yml | 4 ++-- pyproject.toml | 23 ++++++++++++----------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 6ea62360..d877eedf 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -30,4 +30,4 @@ jobs: pip install pytest pip install -e . - name: Run tests - run: python -m pytest test -We + run: python -m pytest test diff --git a/pyproject.toml b/pyproject.toml index b33f61b9..26b4739e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,19 +2,19 @@ name = "vamb" dynamic = ["version"] dependencies = [ - "numpy == 1.24.2", - "torch == 1.13.1", + "numpy == 1.26.4", + "torch == 2.3.1", "pycoverm == 0.6.0", - "networkx == 3.1", - "scikit-learn == 1.2.2", - "pandas == 2.0.0", - "dadaptation == 3.0", + "networkx == 3.2", # 3.3 drops Python 3.9 support + "scikit-learn == 1.5.0", + "pandas == 2.2.0", + "dadaptation == 3.2", "loguru == 0.7.2", ] -# Currently pycoverm does not have binaries for Python > 3.11. -# The dependency resolver, will not error on Python 3.11, but attempt +# Currently pycoverm does not have binaries for Python > 3.12. +# The dependency resolver, will not error on Python 3.13, but attempt # to build pycoverm from source, but will not get the deps required for that. -requires-python = "<3.12,>=3.9.0" +requires-python = "<3.13,>=3.9.0" scripts = {vamb = "vamb.__main__:main"} [metadata] @@ -30,9 +30,9 @@ readme = {file = "README.md"} [build-system] requires = [ - "setuptools ~= 64.0", + "setuptools ~= 70.1", "setuptools-scm >= 8.0", - "Cython ~= 0.29.5" + "Cython ~= 3.0.1" ] build-backend = "setuptools.build_meta" @@ -43,6 +43,7 @@ lint.ignore = ["E722", "E501"] [tool.pytest.ini_options] filterwarnings = [ "error", + "ignore::DeprecationWarning", "ignore::UserWarning", ]