forked from AnalogJ/lexicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (109 loc) · 3.63 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "dns-lexicon"
version = "3.16.1"
description = "Manipulate DNS records on various DNS providers in a standardized/agnostic way"
license = "MIT"
keywords = [
"dns", "lexicon", "dns-lexicon", "dehydrated", "letsencrypt",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
authors = [
"Jason Kulatunga <[email protected]>",
"Adrien Ferrand <[email protected]>",
]
readme = "README.rst"
repository = "https://github.com/AnalogJ/lexicon"
packages = [
{ include = "lexicon", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.8"
tldextract = ">=2"
cryptography = ">=2"
pyyaml = ">=3"
requests = ">=2"
beautifulsoup4 = ">=4"
pyotp = ">=2"
importlib-metadata = { version = ">=4.6", python = "<3.10" }
# Optional dependencies required by some providers
boto3 = { version = ">=1.28", optional = true } # route53
localzone = { version = ">=0.9.8", optional = true } # localzone
softlayer = {version = ">=5", optional = true} # softlayer
zeep = { version = ">=3", optional = true } # gransy
dnspython = { version = ">=2", optional = true } # ddns, duckdns
oci = {version = ">=2", optional = true} # oci
[tool.poetry.extras]
route53 = ["boto3"]
localzone = ["localzone"]
softlayer = ["softlayer"]
gransy = ["zeep"]
ddns = ["dnspython"]
duckdns = ["dnspython"]
oci = ["oci"]
# Extra "full" list must contain all other extras
full = ["boto3", "localzone", "softlayer", "zeep", "dnspython", "oci"]
[tool.poetry.group.dev.dependencies]
esbonio = "*"
packaging = "*"
pytest = "*"
pytest-cov = "*"
pytest-xdist = "*"
vcrpy = "*"
# We add flake8 conditionally to recent Python version to get modern versions
# of flake8 cleaned of several issues. It just means that linting cannot be done
# on the initial release of Python 3.8 (version 3.8.0). This is a decent constraint.
flake8 = { version = "*", python = ">=3.8.1" }
isort = "*"
tox = ">=4"
black = "*"
mypy = "*"
toml = "*"
types-PyYAML = "*"
types-pytz = "*"
types-requests = "*"
types-toml = "*"
[tool.poetry.group.docs.dependencies]
sphinx = "*"
sphinx_rtd_theme = "*"
toml = "*"
[tool.poetry.scripts]
lexicon = "lexicon._private.cli:main"
[tool.pytest.ini_options]
junit_family = "xunit2"
filterwarnings = [
# Fail for any warning, except...
"error",
# CGI, a transitive dependency for zeep (used by Gransy provider)
# is deprecated. Let zeep manage that by Python 3.13.
"ignore:'cgi' is deprecated:DeprecationWarning",
# Ignore our own deprecation warnings.
"ignore:Method execute\\(\\) is deprecated:DeprecationWarning",
# Ignore deprecation warnings from datetime used by our third-party libraries.
"ignore:.*datetime\\.utcnow\\(\\) is deprecated:DeprecationWarning",
"ignore:.*datetime\\.utcfromtimestamp\\(\\) is deprecated:DeprecationWarning",
# Ignore deprecation usages of urllib3 in boto
"ignore:The 'strict' parameter is no longer needed on Python 3+:DeprecationWarning",
]
[tool.mypy]
show_error_codes = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.isort]
profile = "black"