Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (122 loc) · 2.96 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (122 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[tool.poetry]
name = "gpy"
version = "1.14.2"
description = "The Gaussian Process Toolbox"
authors = ["GPy Authors <gpy.authors@gmail.com>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://sheffieldml.github.io/GPy/"
repository = "https://github.com/SheffieldML/GPy"
documentation = "https://gpy.readthedocs.io/"
keywords = ["machine-learning", "gaussian-processes", "kernels"]
packages = [{ include = "GPy" }]
include = [
"GPy/**/*.json",
"GPy/defaults.cfg",
"GPy/installation.cfg",
"GPy/**/*.h",
"GPy/**/*.pyx",
"GPy/**/*.pxd",
"LICENSE.txt",
"AUTHORS.txt",
]
[tool.poetry.build]
script = "build_extension.py"
generate-setup-file = true # required for Cython build script / ext_modules
[tool.poetry.dependencies]
python = ">=3.9,<4"
numpy = ">=2"
six = "*"
paramz = ">=0.9.6"
scipy = ">=1.3.0"
tables = { version = ">=3.9.0", optional = true }
sphinx = { version = "*", optional = true }
mpi4py = { version = "*", optional = true }
ipython = { version = ">=4.0.0", optional = true }
matplotlib = { version = ">=3.4", optional = true }
plotly = { version = ">=1.8.6", optional = true }
jupyter_client = { version = ">=4.0.6", optional = true }
ipywidgets = { version = ">=4.0.3", optional = true }
ipykernel = { version = ">=4.1.0", optional = true }
notebook = { version = ">=4.0.5", optional = true }
[tool.poetry.extras]
docs = ["sphinx"]
optional = ["mpi4py", "ipython"]
plotting = ["matplotlib", "plotly"]
notebook = ["jupyter_client", "ipywidgets", "ipykernel", "notebook"]
tables = ["tables"]
[tool.poetry.group.dev.dependencies]
matplotlib = ">=3.4"
pytest = ">=8.0"
pods = ">=0.1.14"
ruff = "0.9.10"
pytest-cov = ">=5.0"
[build-system]
requires = [
"poetry-core>=1.8.0",
"setuptools",
"wheel",
"numpy>=2",
"Cython>=0.29",
"scipy>=1.3.0",
]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py311"
line-length = 120
extend-exclude = [
"build",
"dist",
".eggs",
"GPy/kern/src/todo",
"GPy/old_tests",
"GPy/testing/mpi_test__.py",
]
[tool.ruff.lint]
# CIP-0005: pyflakes + bugbear + full SIM + pyupgrade (partial) + safe pycodestyle.
# Format enforced in CI. Deferred: UP008 (paramz), UP038 (needs Python >=3.10).
select = [
"E9",
"F",
"B010",
"B011",
"B013",
"B016",
"B018",
"B028",
"B904",
"B007",
"B905",
"B006",
"B026",
"B023",
"SIM",
"UP004",
"UP009",
"UP010",
"UP015",
"UP018",
"UP024",
"UP029",
"UP034",
"UP030",
"UP035",
"UP036",
"UP032",
"UP031",
"E401",
"E711",
"E712",
"E713",
"E714",
"W291",
"W293",
]
[tool.ruff.lint.per-file-ignores]
# Public API re-exports (from .foo import Bar) are intentional in package inits.
"**/__init__.py" = ["F401"]
[tool.pytest.ini_options]
# #1210: keep suite readable; silence known third-party noise only.
filterwarnings = [
"ignore:Passing unrecognized arguments to super\\(HTML\\):DeprecationWarning",
]