From bc7e6fe523e10980ecde45cb9c721484d7bdb2ae Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Fri, 25 Oct 2024 17:24:11 -0700 Subject: [PATCH] Update python to version 3.12 This is the version used on current Ubuntu and Debian. --- .github/workflows/build-and-test.yml | 4 ++-- CONTRIBUTING.md | 2 +- Dockerfile | 2 +- Singularity | 2 +- pyproject.toml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 189e1723d..457b1c3f4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -8,7 +8,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.12 - run: mkdir -p ~/bin - run: echo ~/bin >> $GITHUB_PATH @@ -95,7 +95,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.12 - uses: actions/setup-go@v2 with: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8d3e81efc..4c478c83a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ Check that Python is already installed. python --version -We have tested with Python `3.11`. +We have tested with Python `3.12`. ### BaseSpace Set up the [native apps virtual machine][bsvm], and configure a shared folder diff --git a/Dockerfile b/Dockerfile index 75bbf4383..3da0caf41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ # If you omit the `--target` tag altogether, `docker build` will build # the development image. -FROM python:3.11 +FROM python:3.12 MAINTAINER BC CfE in HIV/AIDS https://github.com/cfe-lab/MiCall diff --git a/Singularity b/Singularity index 41ec83e93..4312bd012 100644 --- a/Singularity +++ b/Singularity @@ -1,6 +1,6 @@ # Generate the Singularity container to run MiCall on Kive. Bootstrap: docker -From: python:3.11 +From: python:3.12 %help MiCall maps all the reads from a sample against a set of reference diff --git a/pyproject.toml b/pyproject.toml index 4d43dba1d..47ae9fd73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,12 +8,12 @@ authors = [ license = {text = "AGPL-3.0"} license-files = { paths = ["LICENSE.txt"] } readme = "README.md" -requires-python = ">=3.11,<3.12" +requires-python = ">=3.12,<3.13" classifiers = [ "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research",