-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (100 loc) · 2.62 KB
/
pyproject.toml
File metadata and controls
112 lines (100 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[project]
name = "python-opsi"
version = "4.3.19.0"
description = "python-opsi"
readme = "README.md"
requires-python = ">=3.13"
license = "AGPL-3.0-only"
dependencies = [
"aiofiles>=25.1.0",
"blake3>=1.0.8",
"colorlog>=6.10.1",
"configupdater>=3.2",
"cryptography>=46.0.5",
"distro>=1.9.0",
"dnspython>=2.7.0",
"dotenv>=0.9.9",
"lz4>=4.4.5",
"msgpack>=1.0; platform_system == 'Windows'",
"hivex>=1.3; platform_system == 'Linux'",
"msgspec>=0.19; platform_system != 'Windows'",
"netifaces>=0.11.0",
"packaging>=24.1,<25.0", # TODO: LegacyVersion no longer working with packaging >= 25.0
"psutil>=7.2.2",
"ptyprocess>=0.7",
"pydantic>=2.12.5",
"pywin32>=308; platform_system == 'Windows'",
"pywinpty>=2.0,<3.0; platform_system == 'Windows'", # pywinpty 3.0 is 64bit only
"pyzsync>=1.0",
"requests>=2.32.5",
"rich>=14.3.3",
"stamina>=25.2.0",
"tomlkit>=0.14.0",
"websocket-client>=1.9.0",
"wmi>=1.5; platform_system == 'Windows'",
"zstandard>=0.21",
"pycryptodome>=3.23.0",
"bcrypt>=5.0.0",
"crypt-r>=3.13.1; platform_system == 'Linux'",
"argon2-cffi>=25.1.0",
]
[[project.authors]]
name = "uib GmbH"
email = "info@uib.de"
[[project.maintainers]]
name = "uib GmbH"
email = "info@uib.de"
[project.urls]
Homepage = "https://www.opsi.org"
[dependency-groups]
dev = [
"hypothesis>=6.151.9",
"pproxy>=2.7",
"pytest-asyncio>=1.3.0",
"pytest-coverage>=0.0",
"pytest>=9.0",
"ruff>=0.9",
"ty>=0.0.18",
"types-toml>=0.10",
"types-aiofiles>=24.1",
"types-netifaces>=0.11.0.20241025",
"types-orjson>=3.6",
"types-psutil>=6.0",
"types-requests>=2.32",
]
[tool.uv]
extra-index-url = [ "https://pypi.uib.gmbh/simple",]
index-strategy = "unsafe-best-match"
package = true
[tool.ty.environment]
python = ".venv/bin/python"
[tool.ruff]
line-length = 140
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
follow_imports = "silent"
[tool.ruff.format]
indent-style = "tab"
[tool.pytest.ini_options]
markers = [
"windows: mark test to run only on windows.",
"linux: mark test to run only on linux.",
"macos: mark test to run only on macos.",
"posix: mark test to run only on posix.",
"admin_permissions: mark test to run only if user has admin permissions.",
"not_in_docker: mark test to run only if not running in docker",
"storage_utils: mark test to run only if storage utilities are installed"
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"ignore::urllib3.exceptions.InsecureRequestWarning",
"ignore:.*use of forkpty.* may lead to deadlocks in the child*:DeprecationWarning"
]
[tool.setuptools.packages.find]
include = [
"opsi",
"opsi.*"
]