-
Notifications
You must be signed in to change notification settings - Fork 723
/
Copy pathpyproject.toml
135 lines (121 loc) · 3.7 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
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 6.4"
]
build-backend = "setuptools.build_meta"
[project]
name = "APScheduler"
description = "In-process task scheduler with Cron-like capabilities"
readme = "README.rst"
authors = [{name = "Alex Grönholm", email = "[email protected]"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = ["scheduling", "cron"]
license = "MIT"
requires-python = ">= 3.9"
dependencies = [
"anyio ~= 4.0",
"attrs >= 22.1",
"tenacity >= 8.0, < 10.0",
"tzlocal >= 3.0",
"typing_extensions >= 4.0; python_version < '3.11'"
]
dynamic = ["version"]
[project.urls]
Documentation = "https://apscheduler.readthedocs.io/en/master/"
Changelog = "https://apscheduler.readthedocs.io/en/master/versionhistory.html"
"Source code" = "https://github.com/agronholm/apscheduler"
"Issue tracker" = "https://github.com/agronholm/apscheduler/issues"
[project.optional-dependencies]
asyncpg = ["asyncpg >= 0.20"]
cbor = ["cbor2 >= 5.0"]
mongodb = ["pymongo >= 4"]
mqtt = ["paho-mqtt >= 2.0"]
redis = ["redis >= 5.0.1"]
sqlalchemy = ["sqlalchemy[asyncio] >= 2.0.24"]
test = [
"APScheduler[cbor,mongodb,mqtt,redis,sqlalchemy]",
"asyncpg >= 0.20; python_implementation == 'CPython' and python_version < '3.13'",
"aiosqlite >= 0.19",
"anyio[trio]",
"asyncmy >= 0.2.5; python_implementation == 'CPython'",
"coverage >= 7",
"psycopg[binary]",
"pymongo >= 4",
"pymysql[rsa]",
"PySide6 >= 6.6; python_implementation == 'CPython' and python_version < '3.13'",
"pytest >= 7.4",
"pytest-lazy-fixtures",
"pytest-mock",
"time-machine >= 2.13.0; python_implementation == 'CPython'",
"""\
uwsgi <= 2.0.26; python_implementation == 'CPython' and platform_system == 'Linux'\
and python_version < '3.13'\
""",
]
doc = [
"sphinx",
"sphinx-autodoc-typehints >= 2.2.3",
"sphinx-rtd-theme >= 1.3.0",
"sphinx-tabs >= 3.3.1",
]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.pytest.ini_options]
addopts = "-rsx --tb=short"
testpaths = "tests"
filterwarnings = "always"
markers = [
"external_service: marks tests as requiring some external service",
]
[tool.coverage.run]
source = ["apscheduler"]
[tool.coverage.report]
show_missing = true
[tool.ruff.lint]
extend-select = [
"ASYNC", # flake8-async
"G", # flake8-logging-format
"I", # isort
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"RUF", # ruff specific rules
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"RUF001",
"RUF002",
]
[tool.ruff.lint.isort]
known-first-party = ["apscheduler"]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
disable_error_code = "type-abstract"
[tool.tox]
env_list = ["py39", "py310", "py311", "py312", "py313", "py314", "pypy3"]
skip_missing_interpreters = true
[tool.tox.env_run_base]
commands = [["pytest", { replace = "posargs", extend = true }]]
package = "editable"
extras = ["test"]
[tool.tox.env.pyright]
commands = [["pyright", "--verifytypes", "apscheduler"]]
deps = ["pyright"]
[tool.tox.env.docs]
commands = [["sphinx-build", "-W", "-n", "docs", "build/sphinx"]]
extras = ["doc"]