From e39d55aed10adba20c061299d2af41b28d23a2f8 Mon Sep 17 00:00:00 2001 From: Ziwen Liu Date: Tue, 5 Nov 2024 09:34:40 -0800 Subject: [PATCH] update python version range --- .github/workflows/pr.yml | 2 +- README.md | 4 ++-- examples/virtual_staining/dlmbl_exercise/setup.sh | 2 +- examples/virtual_staining/img2img_translation/setup.sh | 2 +- examples/virtual_staining/phase_contrast/setup.sh | 2 +- pyproject.toml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 19a0409a..3543cd35 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/README.md b/README.md index f73c8fba..6d453189 100644 --- a/README.md +++ b/README.md @@ -149,9 +149,9 @@ for representation learning on [arXiv](https://arxiv.org/abs/2410.11281). 1. We recommend using a new Conda/virtual environment. ```sh - conda create --name viscy python=3.10 + conda create --name viscy python=3.11 # OR specify a custom path since the dependencies are large: - # conda create --prefix /path/to/conda/envs/viscy python=3.10 + # conda create --prefix /path/to/conda/envs/viscy python=3.11 ``` 2. Install a released version of VisCy from PyPI: diff --git a/examples/virtual_staining/dlmbl_exercise/setup.sh b/examples/virtual_staining/dlmbl_exercise/setup.sh index 4c8f7694..1ff544ee 100644 --- a/examples/virtual_staining/dlmbl_exercise/setup.sh +++ b/examples/virtual_staining/dlmbl_exercise/setup.sh @@ -4,7 +4,7 @@ START_DIR=$(pwd) conda deactivate # Create conda environment -conda create -y --name 06_image_translation python=3.10 +conda create -y --name 06_image_translation python=3.11 # Install ipykernel in the environment. conda install -y ipykernel nbformat nbconvert black jupytext ipywidgets --name 06_image_translation diff --git a/examples/virtual_staining/img2img_translation/setup.sh b/examples/virtual_staining/img2img_translation/setup.sh index d38bd1ab..e58736a4 100644 --- a/examples/virtual_staining/img2img_translation/setup.sh +++ b/examples/virtual_staining/img2img_translation/setup.sh @@ -4,7 +4,7 @@ START_DIR=$(pwd) conda deactivate # Create conda environment -conda create -y --name image2image python=3.10 +conda create -y --name image2image python=3.11 # Install ipykernel in the environment. conda install -y ipykernel nbformat nbconvert black jupytext ipywidgets --name img2img diff --git a/examples/virtual_staining/phase_contrast/setup.sh b/examples/virtual_staining/phase_contrast/setup.sh index d2854cb0..e1c1c4d5 100644 --- a/examples/virtual_staining/phase_contrast/setup.sh +++ b/examples/virtual_staining/phase_contrast/setup.sh @@ -4,7 +4,7 @@ START_DIR=$(pwd) conda deactivate # Create conda environment -conda create -y --name vs_Phc python=3.10 +conda create -y --name vs_Phc python=3.11 # Install ipykernel in the environment. conda install -y ipykernel nbformat nbconvert black jupytext ipywidgets --name vs_Phc diff --git a/pyproject.toml b/pyproject.toml index 55be6805..552b1523 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,13 +6,13 @@ build-backend = "setuptools.build_meta" name = "viscy" description = "computer vision for image-based phenotyping of single cells" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" license = { file = "LICENSE" } authors = [{ name = "CZ Biohub SF", email = "compmicro@czbiohub.org" }] classifiers = [ - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: BSD License", ] dependencies = [