-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
157 lines (146 loc) · 6.65 KB
/
pyproject.toml
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[tool.poetry]
name = "gwcelery"
version = "0.0.0"
description = "Low-latency pipeline for annotating IGWN events"
readme = "README.rst"
authors = [
"Deep Chatterjee <[email protected]>",
"Cody Messick <[email protected]>",
"Geoffrey Mo <[email protected]>",
"Leo Singer <[email protected]>"
]
license = "GPL-2.0+"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics"
]
homepage = "https://git.ligo.org/emfollow/gwcelery"
repository = "https://git.ligo.org/emfollow/gwcelery"
documentation = "https://gwcelery.readthedocs.io/"
include = [
"CHANGES.rst",
"CONTRIBUTING.rst",
"doc",
"docs-requirements.txt",
"gwcelery/static/*.css",
"gwcelery/static/vega/*.html",
"gwcelery/templates/*.jinja2",
"gwcelery/data/*.sub",
"gwcelery/data/first2years/*.xml.gz",
"gwcelery/tests/data/*.html",
"gwcelery/tests/data/*.json",
"gwcelery/tests/data/*.xml",
"gwcelery/tests/data/*.xml.gz",
"gwcelery/tests/data/llhoft/*/*.gwf",
"gwcelery/tests/data/llhoft/*/*/*.gwf",
"gwcelery/tests/data/*.pickle",
"gwcelery/tests/data/*.hdf5"
]
[tool.poetry.urls]
"Bug Tracker" = "https://git.ligo.org/emfollow/gwcelery/issues"
[tool.poetry.dependencies]
python = "^3.11,<3.13"
adc-streaming = ">=2.3.0" # https://github.com/astronomy-commons/adc-streaming/pull/62
astropy = ">=4.3.1,!=5.3" # https://github.com/astropy/astropy/issues/11879, https://github.com/gwpy/gwpy/issues/1629
bilby = ">=2.2.2"
bilby_pipe = ">=1.4.2" # https://git.ligo.org/lscsoft/bilby_pipe/-/merge_requests/615
celery = {version = ">=5.1, <5.4", extras = ["redis"]} # https://git.ligo.org/emfollow/gwcelery/-/issues/804
ciecplib = {version = ">=0.8.1", extras = ["kerberos"]} # for renew-cert.sh, https://git.ligo.org/computing/software/ciecplib/-/issues/145
click = ">=7"
comet = "*"
confluent-kafka = ">=1.9.2"
flask = ">=2.2,<3.0" # https://github.com/pytest-dev/pytest-flask/issues/167
flask-caching = "*"
flower = ">=2.0.1" # https://git.ligo.org/emfollow/gwcelery/-/issues/688
gracedb-sdk = ">=0.2.0" # https://git.ligo.org/emfollow/gracedb-sdk/-/merge_requests/7
gwdatafind = ">=1.1.1"
gwpy = ">=3.0.8" # https://git.ligo.org/emfollow/gwcelery/-/issues/183
GWSkyNet = "2.5.1" # https://git.ligo.org/manleong.chan/gwskynet/-/issues/5
healpy = "*"
hop-client = ">=0.7.0" # https://github.com/scimma/hop-client/pull/176
hpmoc = ">=1.0.0"
igwn-alert = ">=0.6.3" # https://git.ligo.org/computing/igwn-alert/client/-/merge_requests/30
igwn-gwalert-schema = "^1.0.0"
imapclient = "*"
importlib-metadata = { version = "*"}
ipython = "*" # Include IPython for a nicer ``gwcelery shell`` experience.
jinja2 = ">=2.11.2" # https://github.com/pallets/jinja/issues/1168
lalsuite = ">=7.16" # https://git.ligo.org/lscsoft/lalsuite/-/merge_requests/2120
ligo-followup-advocate = "1.2.9" # https://git.ligo.org/emfollow/gwcelery/-/issues/827
ligo-gracedb = ">=2.7.5" # https://git.ligo.org/lscsoft/gracedb-client/-/issues/28
ligo-raven = ">=3.2,<4.0"
ligo-segments = "*"
"ligo.em-bright" = ">=1.2.1" # https://git.ligo.org/emfollow/gwcelery/-/issues/816
"ligo.skymap" = ">=2.1.2" # https://git.ligo.org/lscsoft/ligo.skymap/-/merge_requests/441
lscsoft-glue = "*"
lxml = "*"
matplotlib = "<3.10.0" # FIXME: remove when https://gitlab.com/gwpy/gwpy/-/issues/1815 is fixed
numba = ">=0.56" # Poetry update chooses an old version of numba and its deps that break the python3.9 and 3.10 build tests if this is not specified; dependence on numba comes from rift. Version chosen because it adds python 3.10 support. This requirement can be dropped here if RIFT adds it https://git.ligo.org/rapidpe-rift/rift/-/issues/24
numpy = "<2" # FIXME: TensorFlow (a dependency of GWSkyNet) does not support Numpy 2.x yet. Remove once https://git.ligo.org/computing/sccb/-/issues/1601#note_1120002 is resolved.
p_astro = ">=1.0.1" # https://git.ligo.org/lscsoft/p-astro/-/merge_requests/40
pesummary = ">=1.0.2" # https://git.ligo.org/computing/sccb/-/issues/1350
platformdirs = "*"
pygcn = ">=1.0.1"
python-ligo-lw = "^1.8.3"
pyxdg = "*"
rapid-pe = ">=0.1.1,<0.2.0" # https://git.ligo.org/computing/sccb/-/issues/1352
rapidpe-rift-pipe = ">=0.6.8" # https://git.ligo.org/computing/sccb/-/issues/1449
redis = "!=4.5.2,!=4.5.3" # https://git.ligo.org/emfollow/gwcelery/-/issues/556
RIFT = ">=0.0.15.9"
scipy = ">=1.11.1" # https://git.ligo.org/emfollow/gwcelery/-/issues/679
safe-netrc = "*"
sentry-sdk = {version = "*", extras = ["flask", "tornado"]}
service-identity = "*" # We don't actually use this package, but it silences some annoying warnings from twistd.
voeventlib = ">=1.2"
werkzeug = ">=3.0.1" # for werkzeug.middleware.proxy_fix.ProxyFix # https://git.ligo.org/emfollow/gwcelery/-/issues/736
zstandard = "*" # for task compression
# For docs
pep517 = {version="*", optional=true}
sphinx = {version=">=4.0, <=5.3.0", optional=true} # https://git.ligo.org/andrew.toivonen/gwcelery/-/jobs/2447152
# For tests
fastavro = {version = "^1.6.1", optional = true}
pytest-celery = {version="<1.0.0", optional=true} # https://git.ligo.org/emfollow/gwcelery/-/issues/801
pytest-cov = {version="*", optional=true}
pytest-flask = {version="*", optional=true}
pytest-socket = {version="*", optional=true}
ligo-rrt-chat = ">=0.1.5" # https://git.ligo.org/computing/sccb/-/issues/1562"
[tool.poetry.extras]
doc = ["pep517", "sphinx"]
test = ["fastavro", "pytest-celery", "pytest-cov", "pytest-flask", "pytest-socket"]
[tool.poetry.group.dev.dependencies]
ipykernel = "*" # Include IPython kernel for Jupyter Lab support.
flake8 = "^7.0.0"
isort = "^5.13.2"
[tool.poetry.scripts]
gwcelery = "gwcelery:main"
gwcelery-condor-submit-helper = "gwcelery.tools.condor_submit_helper:main"
[tool.poetry.plugins."celery.commands"]
condor = "gwcelery.tools.condor:condor"
flask = "gwcelery.tools.flask:flask"
nagios = "gwcelery.tools.nagios:nagios"
[tool.poetry-dynamic-versioning]
enable = true
bump = true
[tool.coverage.run]
source = ["gwcelery"]
omit = [
"gwcelery/tests/*",
"gwcelery/conf/development.py",
"gwcelery/conf/playground.py",
"gwcelery/conf/production.py",
"gwcelery/conf/test.py"
]
parallel = true
concurrency = ["thread", "multiprocessing"]
[build-system]
requires = ["poetry_core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"