-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (59 loc) · 1.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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "inmanta-dev-dependencies"
version = "2.142.0"
requires-python = ">=3.9"
description = "Package collecting all common dev dependencies of inmanta modules and extensions to synchronize dependency versions."
authors = [
{name = "Inmanta", email = "code@inmanta.com"},
]
dependencies = [
"black==24.10.0",
"flake8==7.1.1",
"flake8-copyright==0.2.4",
"flake8-black==0.3.6",
"flake8-isort==6.1.1",
"isort==5.13.2",
"lxml==5.3.0",
"mypy==1.13.0",
"pep8-naming==0.14.1",
"pytest==8.3.3",
"pyupgrade==3.19.0",
"mypy-baseline==0.7.2",
]
[tool.setuptools]
packages = { find = { include = ["inmanta_dev_dependencies*"], where = ["src"] } }
# Optional dependencies
[project.optional-dependencies]
module = ["pytest-inmanta"]
core = [
"asyncpg>=0.21.0,<1.0.0",
"pytest-env==1.1.5",
"pytest-postgresql==6.1.1",
"psycopg==3.2.3",
"tornado>=6.1,<7.0"
]
extension = [
# depend on inmanta-core with the extra rather than plain pytest-inmanta-extensions to aid pip in finding candidate
# versions if constraints on inmanta-core are added externally (e.g. via inmanta-service-orchestrator)
# (see https://github.com/inmanta/infra-tickets/issues/180#issuecomment-1715587389)
"inmanta-core[pytest-inmanta-extensions]",
"asyncpg>=0.21.0,<1.0.0",
"pytest-env==1.1.5",
"pytest-postgresql==6.1.1",
"psycopg==3.2.3",
"tornado>=6.1,<7.0"
]
async = [
"pytest-asyncio==0.24.0",
"pytest-timeout==2.3.1"
]
pytest = [
"pytest-env==1.1.5",
"pytest-cover==3.0.0",
"pytest-randomly==3.16.0",
"pytest-sugar==1.0.0",
"pytest-instafail==0.5.0"
]