-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 2.62 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "baqueue"
description = "A powerful Python queue management package inspired by Laravel Horizon"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [{name = "Basalam"}, {name = "BaQueue Contributors"}]
keywords = ["queue", "job", "worker", "scheduler", "horizon", "redis", "postgres", "async", "task"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing",
]
dynamic = ["version"]
# Core install is lightweight: the SQLite and in-memory drivers work with no
# extra dependencies. Redis, PostgreSQL, and the dashboard are optional extras.
dependencies = [
"pydantic>=2.0",
"click>=8.0",
"croniter>=2.0",
]
[project.optional-dependencies]
redis = ["redis[hiredis]>=5.0"]
postgres = ["asyncpg>=0.29"]
dashboard = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"websockets>=12.0",
]
all = [
"redis[hiredis]>=5.0",
"asyncpg>=0.29",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"websockets>=12.0",
]
dev = [
"baqueue[all]",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"fakeredis>=2.21",
"build>=1.0",
"twine>=5.0",
]
[project.urls]
Homepage = "https://github.com/basalam/baqueue"
Repository = "https://github.com/basalam/baqueue"
Issues = "https://github.com/basalam/baqueue/issues"
Changelog = "https://github.com/basalam/baqueue/releases"
[project.scripts]
baqueue = "baqueue.cli:cli"
[tool.setuptools.dynamic]
version = {attr = "baqueue.__version__"}
[tool.setuptools.packages.find]
include = ["baqueue*"]
[tool.setuptools.package-data]
"baqueue.dashboard" = ["static/**/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"ignore::DeprecationWarning:websockets",
"ignore::DeprecationWarning:uvicorn",
]
markers = [
"slow: marks tests as slow (deselect with -m 'not slow')",
"integration: marks tests that exercise the full driver+worker+supervisor stack",
"dashboard: marks tests that touch the dashboard server",
"sqlite: marks tests parameterized for the SQLite driver",
]