fix installation issues for different python versions

This commit is contained in:
Martin Bubel 2024-07-18 12:06:11 +02:00
parent e63e1de2f9
commit 6a0c1bef89
2 changed files with 209 additions and 34 deletions

View file

@ -11,14 +11,20 @@ documentation = "https://github.com/SheffieldML/GPy"
readme = "README.md"
build = "build.py"
include = ["build.py"]
packages = [{ include = "GPy" }]
[tool.poetry.dependencies]
python = ">=3.9"
python = ">=3.9,<4"
numpy = "^1.7"
six = "*"
paramz = ">=0.9.6"
cython = "^0.29"
scipy = ">=1.3.0,<=1.12.0" # TODO: why this upper bound?
scipy = [
{ version = ">=1.3.0,<1.14.0", markers = "python_version == \"3.9\"" },
# as off scipy 1.14.0, the minimum python version is 3.10
{ version = ">=1.3.0", markers = "python_version > \"3.9\"" },
]
tables = ">=3.9.0"
sphinx = { version = "*", optional = true }
mpi4py = { version = "*", optional = true }
ipython = { version = ">=4.0.0", optional = true }