forked from malariagen/malariagen-data-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (121 loc) · 3.53 KB
/
pyproject.toml
File metadata and controls
132 lines (121 loc) · 3.53 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
132
[tool.poetry]
name = "malariagen_data"
version = "0.0.0"
description = "A package for accessing and analysing MalariaGEN data."
readme = "README.md"
documentation = "https://malariagen.github.io/malariagen-data-python/latest/"
repository = "https://github.com/malariagen/malariagen-data-python"
authors = [
"Chris Clarkson <Chris.Clarkson@lstmed.ac.uk>",
"Anastasia Hernandez-Koutoucheva <Anastasia.Hernandez-Koutoucheva@lstmed.ac.uk>",
"Kelly Bennett <Kelly.Bennett@lstmed.ac.uk>",
"Jon Brenas <Jon.Brenas@lstmed.ac.uk>",
"Tristan Dennis <Tristan.Dennis@lstmed.ac.uk>",
]
license = "MIT"
[tool.poetry.dependencies]
# We should try to remain compatible with the latest
# package versions in Google Colab:
# https://github.com/googlecolab/backend-info
python = ">=3.10,<3.13"
numpy = ">=2.0.2,<2.1"
numba = ">=0.60.0"
llvmlite = "*"
scipy = "*"
pandas = "2.3.2"
zarr = ">=2.18.3, <3.0.0"
numcodecs = ">=0.13, <0.16"
dask = {version="*", extras=["array"]}
distributed = "*"
fsspec = "*"
gcsfs = "*"
s3fs = "*"
google-auth = "*"
BioPython = "*"
scikit-allel = ">=1.3.13"
xarray = "*"
plotly = "*"
# https://github.com/malariagen/malariagen-data-python/issues/845
# https://github.com/malariagen/malariagen-data-python/issues/734
# https://github.com/malariagen/malariagen-data-python/issues/743
bokeh = ">=3.7.0"
statsmodels = ">=0.14.2"
ipyleaflet = ">=0.17.0"
ipywidgets = "*"
# https://stackoverflow.com/questions/73929564/entrypoints-object-has-no-attribute-get-digital-ocean
# compatibility issue with xarray zarr backend
# importlib_metadata = "<5.0"
# https://github.com/malariagen/malariagen-data-python/issues/299
# bug in ipinfo 4.4.1
ipinfo = "!=4.4.1"
igv-notebook = ">=0.2.3"
tqdm = "*"
# ensure support for dash in jupyter notebooks
# https://dash.plotly.com/dash-in-jupyter
# Dash 3.0.0 causes type checking issues.
# https://github.com/plotly/dash/issues/3226
dash = "<3.0.0"
# constrain minimum version to accelerate solve
dash-cytoscape = ">=1.0.0"
numpydoc_decorator = ">=2.1.0"
typing_extensions = "*"
typeguard = ">=4.0.0"
pydantic = ">=2.0.0"
protopunica = ">=0.14.8.post2"
# accelerate plotly - https://plotly.com/python/renderers/#performance
orjson = "*"
# providers spinners
yaspin = "*"
# provides efficient neighbour-joining tree implementation
anjl = ">=1.2.0"
# needed for plink output
bed_reader = "*"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
ruff = "*"
mypy = "*"
memory-profiler = "*"
snakeviz = "*"
notebook = "*"
jupyterlab = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-mock = "*"
pytest-xdist = "*"
pytest-cases = "*"
pytest-cov = "*"
[tool.poetry.group.docs.dependencies]
sphinx = "*"
pydata-sphinx-theme = "*"
sphinx_design = "*"
pandas-stubs = "*"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
extend-select = []
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["bokeh", "bokeh.*"]
follow_imports = "skip"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
norecursedirs = [".git", ".venv", "venv", "*.egg-info", "build", "dist"]
addopts = "--tb=short --ignore=tests/integration"
filterwarnings = [
"ignore::DeprecationWarning:numpy",
"ignore::DeprecationWarning:dask",
"ignore::PendingDeprecationWarning:numcodecs",
"ignore::UserWarning:zarr",
"ignore::DeprecationWarning:pandas",
]