From 9e15d8de80c35ab5ecdab6cb6dbaa519d47ef231 Mon Sep 17 00:00:00 2001 From: Alex Rubinsteyn Date: Tue, 17 Mar 2026 13:54:43 -0400 Subject: [PATCH] Remove numpy<2.0 cap, bump to 2.1.0 mhcflurry 2.2.0 supports numpy 2.x, so the cap is no longer needed. mhctools itself only uses basic numpy APIs compatible with both 1.x and 2.x. Co-Authored-By: Claude Opus 4.6 (1M context) --- mhctools/__init__.py | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mhctools/__init__.py b/mhctools/__init__.py index 8fdc91c..97b1c67 100644 --- a/mhctools/__init__.py +++ b/mhctools/__init__.py @@ -24,7 +24,7 @@ from .netmhcstabpan import NetMHCstabpan from .unsupported_allele import UnsupportedAllele -__version__ = "2.0.0" +__version__ = "2.1.0" __all__ = [ "BindingPrediction", diff --git a/pyproject.toml b/pyproject.toml index 4601d85..63eb79f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics", ] dependencies = [ - "numpy>=1.7,<2.0", + "numpy>=1.7", "pandas>=0.13.1", "varcode>=0.5.9", "pyensembl>=2.3.0,<3.0.0", diff --git a/requirements.txt b/requirements.txt index b560d9a..a37c508 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.7,<2.0 +numpy>=1.7 pandas>=0.13.1 pyensembl>=2.3.0,<3.0.0 varcode>=0.5.9