forked from nornir-automation/nornir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (72 loc) · 2.68 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
[build-system]
requires = ["poetry==1.0.10"]
build-backend = "poetry.masonry.api"
[tool.poetry.plugins."nornir.plugins.runners"]
"serial" = "nornir.plugins.runners:SerialRunner"
"threaded" = "nornir.plugins.runners:ThreadedRunner"
[tool.poetry.plugins."nornir.plugins.inventory"]
"SimpleInventory" = "nornir.plugins.inventory.simple:SimpleInventory"
[tool.poetry]
name = "nornir"
version = "3.3.0"
description = "Pluggable multi-threaded framework with inventory management to help operate collections of devices"
authors = ["David Barroso <dbarrosop@dravetech.com>"]
license = "Apache 2.0"
readme = "README.md"
repository = "https://github.com/nornir-automation/nornir"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
"ruamel.yaml" = ">=0.17"
mypy_extensions = "^0.4.1"
typing_extensions = "^4.1"
# The following dependencies are used for docs generation when installed as extras
# (e.g. pip install nornir[docs])
# Currently they have to be specified as non-dev dependencies with optional = true
# Refer to: https://github.com/sdispater/poetry/issues/129
sphinx = { version = "^4", optional = true }
sphinx_rtd_theme = { version = "^1.0", optional = true }
sphinxcontrib-napoleon = { version = "^0.7", optional = true }
jupyter = { version = "^1", optional = true }
nbsphinx = { version = "^0.8", optional = true }
pygments = { version = "^2", optional = true }
sphinx-issues = { version = "^3.0", optional = true }
# importlib.metadata has a API change in 3.10 and is no longer provisional
importlib-metadata = { version = "^4", python = "<3.10" }
[tool.poetry.dev-dependencies]
decorator = "*"
nbval = "*"
pytest = "*"
pytest-cov = "*"
pylama = "*"
requests-mock = "*"
black = "^22.1.0"
mypy = "*"
# The following dependencies are used for docs generation when run locally or in Docker
# (e.g. poetry install)
sphinx = "^4"
sphinx_rtd_theme = "^1.0"
sphinxcontrib_napoleon = "^0.7"
jupyter = "^1"
nbsphinx = "^0.8"
pygments = "^2"
sphinx-issues = "^3.0"
# for docs only
nornir-jinja2 = "0.2.0"
nornir-utils = "0.1.2"
nornir-napalm = "0.1.2"
# Fix for Python 3.10
junos-eznc = "^2.6.0"
textfsm = "^1.1.2"
types-Jinja2 = "^2.11.2"
types-pkg-resources = "^0.1.3"
[tool.poetry.extras]
# The following section is required to install docs dependencies
# until RTD fully supports poetry: https://github.com/rtfd/readthedocs.org/issues/4912
docs = ["sphinx", "sphinx_rtd_theme", "sphinxcontrib-napoleon", "jupyter", "nbsphinx", "pygments", "sphinx-issues"]