Skip to content

Commit

Permalink
Update python to version 3.12
Browse files Browse the repository at this point in the history
This is the version used on current Ubuntu and Debian.

This requires updating critical dependencies, so:

- Bump numpy to 2.1.2
- Bump scipy to 1.14.1
- Bump matplotlib to 3.9.2
  • Loading branch information
Donaim committed Oct 24, 2024
1 parent 06a0ebd commit 72de4cb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Singularity
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -28,9 +28,9 @@ dependencies = [
"biopython==1.83",
"gotoh @ git+https://github.com/cfe-lab/[email protected]#egg=gotoh&subdirectory=alignment/gotoh",
"pyvdrm @ git+https://github.com/cfe-lab/[email protected]",
"numpy==1.24.3",
"scipy==1.10.1",
"matplotlib==3.7.3",
"numpy==2.1.2",
"scipy==1.14.1",
"matplotlib==3.9.2",
"cutadapt==4.8",
"python-Levenshtein==0.25.1",
"PyYAML==6.0.1",
Expand All @@ -48,7 +48,7 @@ test = [
# Dependencies required for running the test suite
"pytest==8.2.2",
"coverage==7.5.3",
"pandas==2.0.2",
"pandas==2.2.3",
"seaborn==0.13.2",
"ete3",
# For reading HCV rules from an Excel file.
Expand Down

0 comments on commit 72de4cb

Please sign in to comment.