From 0cc0cb66312c01e7f7ef45711977fadad0262caa Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Fri, 18 Oct 2024 15:25:20 +0200 Subject: [PATCH] bump all libraries and restrict python interpeter versions --- .github/workflows/test.yml | 2 +- conda/recipe.yaml | 14 +++++++------- environment.yml | 10 +++++----- environment_cuda.yml | 8 ++++---- setup.cfg | 14 +++++++------- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 837307af..e8c393ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, '3.10', '3.11', '3.12', '3.13'] + python-version: [3.9, '3.10', '3.11'] steps: - uses: actions/checkout@v4 diff --git a/conda/recipe.yaml b/conda/recipe.yaml index 4e6f345a..77c01b68 100644 --- a/conda/recipe.yaml +++ b/conda/recipe.yaml @@ -15,24 +15,24 @@ build: requirements: build: - - python>=3.9,<3.14 + - python>=3.9,<3.12 - setuptools>=36.6.0,<70.0.0 - pbr host: - - python>=3.9,<3.14 + - python>=3.9,<3.12 run: - - python>=3.9,<3.14 + - python>=3.9,<3.12 - python-bidi~=0.4.0 - lxml - regex - requests - click>=8.1 - - numpy~=1.23.0 + - numpy~=2.0.0 - pillow>=9.2.0 - scipy~=1.13.0 - jinja2~=3.0 - torchvision - - pytorch~=2.1.0 + - pytorch~=2.4.0 - cudatoolkit - jsonschema - scikit-image~=0.24.0 @@ -41,9 +41,9 @@ requirements: - pyvips - coremltools - pyarrow - - lightning~=2.2 + - lightning~=2.4.0 - torchmetrics>=1.1.0 - - conda-forge::threadpoolctl~=3.4.0 + - conda-forge::threadpoolctl~=3.5.0 - albumentations - rich diff --git a/environment.yml b/environment.yml index 8365f643..6c568145 100644 --- a/environment.yml +++ b/environment.yml @@ -9,12 +9,12 @@ dependencies: - regex - requests - click>=8.1 - - numpy~=1.23.0 + - numpy~=2.0.0 - pillow~=9.2.0 - scipy~=1.13.0 - jinja2~=3.0 - conda-forge::torchvision-cpu>=0.5.0 - - conda-forge::pytorch-cpu~=2.1.0 + - conda-forge::pytorch-cpu~=2.4.0 - jsonschema - scikit-learn~=1.2.1 - scikit-image~=0.24.0 @@ -23,13 +23,13 @@ dependencies: - imagemagick>=7.1.0 - pyarrow - importlib-resources>=1.3.0 - - conda-forge::lightning~=2.2.0 + - conda-forge::lightning~=2.4.0 - conda-forge::torchmetrics>=1.1.0 - - conda-forge::threadpoolctl~=3.4 + - conda-forge::threadpoolctl~=3.5.0 - pip - albumentations - rich - setuptools>=36.6.0,<70.0.0 - pip: - - coremltools~=6.0 + - coremltools~=8.0 - file:. diff --git a/environment_cuda.yml b/environment_cuda.yml index 0e345014..84db83f9 100644 --- a/environment_cuda.yml +++ b/environment_cuda.yml @@ -14,7 +14,7 @@ dependencies: - scipy~=1.13.0 - jinja2~=3.0 - conda-forge::torchvision>=0.5.0 - - conda-forge::pytorch~=2.1.0 + - conda-forge::pytorch~=2.4.0 - cudatoolkit>=9.2 - jsonschema - scikit-learn~=1.2.1 @@ -24,13 +24,13 @@ dependencies: - imagemagick>=7.1.0 - pyarrow - importlib-resources>=1.3.0 - - conda-forge::lightning~=2.2.0 + - conda-forge::lightning~=2.4.0 - conda-forge::torchmetrics>=1.1.0 - - conda-forge::threadpoolctl~=3.4 + - conda-forge::threadpoolctl~=3.5.0 - pip - albumentations - rich - setuptools>=36.6.0,<70.0.0 - pip: - - coremltools~=6.0 + - coremltools~=8.0 - file:. diff --git a/setup.cfg b/setup.cfg index 35bae344..de9d14ed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,29 +38,29 @@ max_line_length = 160 exclude = tests/* [options] -python_requires = >=3.9,<=3.13.99 +python_requires = >=3.9,<3.12 install_requires = jsonschema lxml requests click>=8.1 - numpy~=1.23.0 + numpy~=2.0.0 Pillow>=9.2.0 regex scipy~=1.13.0 protobuf>=3.0.0 - coremltools~=6.0 + coremltools~=8.0 jinja2~=3.0 python-bidi~=0.4.0 torchvision>=0.5.0 - torch~=2.1.0 - scikit-learn~=1.2.1 + torch~=2.4.0 + scikit-learn~=1.5.0 scikit-image~=0.24.0 shapely~=1.8.5 pyarrow - lightning~=2.2.0 + lightning~=2.4.0 torchmetrics>=1.1.0 - threadpoolctl~=3.4.0 + threadpoolctl~=3.5.0 importlib-resources>=1.3.0 rich