-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 3.21 KB
/
pyproject.toml
File metadata and controls
118 lines (107 loc) · 3.21 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
[project]
name = "ably"
version = "3.1.0"
description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
readme = "LONG_DESCRIPTION.rst"
requires-python = ">=3.7"
license = { text = "Apache-2.0" }
authors = [
{ name = "Ably", email = "support@ably.com" }
]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"msgpack>=1.0.0,<2.0.0",
"httpx>=0.24.1,<1.0; python_version=='3.7'",
"httpx>=0.25.0,<1.0; python_version>='3.8'",
"h2>=4.1.0,<5.0.0",
"websockets>=10.0,<12.0; python_version=='3.7'",
"websockets>=12.0,<15.0; python_version=='3.8'",
"websockets>=15.0,<16.0; python_version>='3.9'",
"pyee>=9.0.4,<10.0.0; python_version=='3.7'",
"pyee>=11.1.0,<14.0.0; python_version>='3.8'",
]
[project.optional-dependencies]
oldcrypto = ["pycrypto>=2.6.1,<3.0.0"]
crypto = ["pycryptodome"]
vcdiff = ["vcdiff-decoder>=0.1.0,<0.2.0"]
dev = [
"pytest>=7.1,<8.0",
"pytest-asyncio>=0.21.0,<0.23.0; python_version=='3.7'",
"pytest-asyncio>=0.23.0,<1.0.0; python_version>='3.8'",
"mock>=4.0.3,<5.0.0",
"pytest-cov>=2.4,<3.0",
"ruff>=0.14.0,<1.0.0",
"pytest-xdist>=1.15,<2.0",
"respx>=0.20.0,<0.21.0; python_version=='3.7'",
"respx>=0.22.0,<0.23.0; python_version>='3.8'",
"importlib-metadata>=4.12,<5.0",
"pytest-timeout>=2.1.0,<3.0.0",
"async-case>=10.1.0,<11.0.0; python_version=='3.7'",
"tokenize_rt",
"vcdiff-decoder>=0.1.0a1",
]
[project.scripts]
unasync = "ably.scripts.unasync:run"
[project.urls]
Homepage = "https://ably.com"
Repository = "https://github.com/ably/ably-python"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
ignore-vcs = true
include = [
"/ably",
"/COPYRIGHT",
"/README.md",
"/LICENSE",
"/LONG_DESCRIPTION.rst",
"/images",
"/setup.cfg",
"/pyproject.toml"
]
exclude = [
"**/*.pyc",
"**/__pycache__"
]
[tool.hatch.build.targets.wheel]
ignore-vcs = true
packages = ["ably"]
[tool.pytest.ini_options]
timeout = 30
asyncio_mode = "auto"
[[tool.uv.index]]
name = "experimental"
url = "https://test.pypi.org/simple/"
explicit = true
[tool.ruff]
line-length = 115
extend-exclude = [
"ably/sync",
"test/ably/sync",
]
[tool.ruff.lint]
# Enable Pyflakes (F), pycodestyle (E, W), pep8-naming (N), isort (I), pyupgrade (UP), bugbear (B) and comprehensions (C4)
select = ["E", "W", "F", "N", "I", "UP", "B", "C4"]
ignore = [
"N818", # exception name should end in 'Error'
"UP026", # mock -> unittest.mock (need mock package for Python 3.7 AsyncMock support)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # imported but unused