Skip to content

Commit

Permalink
Build with backwards-compatible Numpy v2, allow newer versions of Num…
Browse files Browse the repository at this point in the history
…py, Pandas, and XGBoost at runtime
  • Loading branch information
RalfG committed Sep 16, 2024
1 parent 683cb54 commit d65dde7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ classifiers = [
]
requires-python = ">=3.8"
dependencies = [
"numpy>=1.16,<2",
"pandas>=1,<2",
"numpy>=1.25,<3",
"pandas>=1,<3",
"pyarrow",
"pyteomics>=3.5,<5",
"tomlkit>=0.5,<1",
"sqlalchemy>=1.3,<2",
"click>=7,<9",
"xgboost>=1.3,<2",
"xgboost>=1.3",
"lxml>=4",
"rich>=13",
"pydantic>=2",
Expand Down Expand Up @@ -75,7 +75,7 @@ publication = "https://doi.org/10.1093/nar/gkad335/"
ms2pip = "ms2pip.__main__:main"

[build-system]
requires = ["setuptools", "cython", "oldest-supported-numpy"]
requires = ["setuptools", "cython", "numpy>=2.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
Expand Down

0 comments on commit d65dde7

Please sign in to comment.