1- [build-system ]
2- requires = [" setuptools>=68.0" ]
3- build-backend = " setuptools.build_meta"
4-
5- [project ]
1+ [tool .poetry ]
62name = " zocalo"
73version = " 0.32.0"
84description = " Infrastructure components for automated data processing at Diamond Light Source"
5+ authors = [
" Nicholas Devenish <[email protected] >" ]
96readme = " README.rst"
10- requires-python = " >=3.8"
11- license = { file = " LICENSE" }
12- authors = [
13- {
name =
" Diamond Light Source - Data Analysis Group" ,
email =
" [email protected] " },
14- ]
157classifiers = [
16- " Development Status :: 4 - Beta " ,
8+ " Development Status :: 5 - Production/Stable " ,
179 " Intended Audience :: Developers" ,
1810 " License :: OSI Approved :: BSD License" ,
1911 " Programming Language :: Python :: 3" ,
20- " Programming Language :: Python :: 3.8" ,
21- " Programming Language :: Python :: 3.9" ,
22- " Programming Language :: Python :: 3.10" ,
23- " Programming Language :: Python :: 3.11" ,
2412 " Operating System :: OS Independent" ,
2513 " Topic :: Software Development :: Libraries :: Python Modules" ,
2614]
27- dependencies = [
28- " PyYAML" ,
29- " graypy>=1.0" ,
30- " marshmallow" ,
31- " requests" ,
32- " pydantic<2" ,
33- " setuptools" ,
34- " workflows>=2.14" ,
35- ]
3615
37- [project .urls ]
16+ [tool .poetry .dependencies ]
17+ python = " ^3.8"
18+ pyyaml = " ^6.0"
19+ graypy = " ^2.0"
20+ marshmallow = " ^3.19"
21+ requests = " ^2.31"
22+ pydantic = " <2"
23+ workflows = " ^2.27"
24+
25+ [tool .poetry .group .dev .dependencies ]
26+ pytest = " ^8.2.2"
27+ pytest-mock = " ^3.14.0"
28+ pytest-cov = " ^5.0.0"
29+ requests-mock = " ^1.12.1"
30+
31+ [tool .poetry .group .docs ]
32+ optional = true
33+
34+ [tool .poetry .group .docs .dependencies ]
35+ sphinx = " ^6"
36+ sphinx-rtd-theme = " ^1.2"
37+
38+ [build-system ]
39+ requires = [" poetry-core" ]
40+ build-backend = " poetry.core.masonry.api"
41+
42+ [tool .poetry .urls ]
3843Bug-Tracker = " https://github.com/DiamondLightSource/python-zocalo/issues"
3944Changelog = " https://github.com/DiamondLightSource/python-zocalo/blob/main/HISTORY.rst"
4045Documentation = " https://github.com/DiamondLightSource/python-zocalo"
4146Download = " https://github.com/DiamondLightSource/python-zocalo/releases"
4247GitHub = " https://github.com/DiamondLightSource/python-zocalo"
4348
44- [project .entry-points ]
49+ [tool .poetry .scripts ]
50+ "zocalo.configure_rabbitmq" = " zocalo.cli.configure_rabbitmq:run"
51+ "zocalo.dlq_check" = " zocalo.cli.dlq_check:run"
52+ "zocalo.dlq_purge" = " zocalo.cli.dlq_purge:run"
53+ "zocalo.dlq_reinject" = " zocalo.cli.dlq_reinject:run"
54+ "zocalo.go" = " zocalo.cli.go:run"
55+ "zocalo.pickup" = " zocalo.cli.pickup:run"
56+ "zocalo.queue_drain" = " zocalo.cli.queue_drain:run"
57+ "zocalo.service" = " zocalo.service:start_service"
58+ "zocalo.shutdown" = " zocalo.cli.shutdown:run"
59+ "zocalo.wrap" = " zocalo.cli.wrap:run"
60+
61+ [tool .poetry .plugins ]
4562"libtbx.precommit" = { zocalo = " zocalo" }
4663"zocalo.wrappers" = { dummy = " zocalo.wrapper:DummyWrapper" }
4764
48- [project . entry-points ."libtbx .dispatcher .script" ]
65+ [tool . poetry . plugins ."libtbx .dispatcher .script" ]
4966"zocalo.configure_rabbitmq" = " zocalo.configure_rabbitmq"
5067"zocalo.dlq_check" = " zocalo.dlq_check"
5168"zocalo.dlq_purge" = " zocalo.dlq_purge"
@@ -56,13 +73,13 @@ GitHub = "https://github.com/DiamondLightSource/python-zocalo"
5673"zocalo.shutdown" = " zocalo.shutdown"
5774"zocalo.wrap" = " zocalo.wrap"
5875
59- [project . entry-points ."workflows .services" ]
76+ [tool . poetry . plugins ."workflows .services" ]
6077Dispatcher = " zocalo.service.dispatcher:Dispatcher"
6178JSONLines = " zocalo.service.jsonlines:JSONLines"
6279Mailer = " zocalo.service.mailer:Mailer"
6380Schlockmeister = " zocalo.service.schlockmeister:Schlockmeister"
6481
65- [project . entry-points ."zocalo .configuration .plugins" ]
82+ [tool . poetry . plugins ."zocalo .configuration .plugins" ]
6683graylog = " zocalo.configuration.plugin_graylog:Graylog"
6784jmx = " zocalo.configuration.plugin_jmx:JMX"
6885logging = " zocalo.configuration.plugin_logging:Logging"
@@ -72,31 +89,17 @@ iris = "zocalo.configuration.plugin_slurm:Slurm"
7289smtp = " zocalo.configuration.plugin_smtp:SMTP"
7390storage = " zocalo.configuration.plugin_storage:Storage"
7491
75- [project .scripts ]
76- "zocalo.configure_rabbitmq" = " zocalo.cli.configure_rabbitmq:run"
77- "zocalo.dlq_check" = " zocalo.cli.dlq_check:run"
78- "zocalo.dlq_purge" = " zocalo.cli.dlq_purge:run"
79- "zocalo.dlq_reinject" = " zocalo.cli.dlq_reinject:run"
80- "zocalo.go" = " zocalo.cli.go:run"
81- "zocalo.pickup" = " zocalo.cli.pickup:run"
82- "zocalo.queue_drain" = " zocalo.cli.queue_drain:run"
83- "zocalo.service" = " zocalo.service:start_service"
84- "zocalo.shutdown" = " zocalo.cli.shutdown:run"
85- "zocalo.wrap" = " zocalo.cli.wrap:run"
86-
8792[tool .isort ]
8893profile = " black"
8994
9095[tool .pytest .ini_options ]
9196required_plugins = " pytest-mock requests-mock"
92- testpaths = [
93- " tests" ,
94- ]
97+ testpaths = [" tests" ]
9598
9699[tool .ruff ]
97100line-length = 88
98101ignore = [" E501" , " E741" ]
99- select = [" C4" , " E" , " F" , " W" , " I" ]
102+ select = [" C4" , " E" , " F" , " W" , " I" ]
100103unfixable = [" F841" ]
101104
102105[tool .ruff .isort ]
@@ -105,10 +108,6 @@ required-imports = ["from __future__ import annotations"]
105108[tool .mypy ]
106109mypy_path = " src"
107110
108-
109111[[tool .mypy .overrides ]]
110- module = [
111- " graypy" ,
112- " graypy.handler" ,
113- ]
112+ module = [" graypy" , " graypy.handler" ]
114113ignore_missing_imports = true
0 commit comments