Adding upstream version 1.3.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-17 07:33:45 +01:00
parent 6fd6eb426a
commit dc7df702ea
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
337 changed files with 16571 additions and 4891 deletions

View file

@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "anta"
version = "v1.2.0"
version = "v1.3.0"
readme = "docs/README.md"
authors = [{ name = "Arista Networks ANTA maintainers", email = "anta-dev@arista.com" }]
maintainers = [
@ -19,7 +19,6 @@ maintainers = [
description = "Arista Network Test Automation (ANTA) Framework"
license = { file = "LICENSE" }
dependencies = [
"aiocache>=0.12.2",
"asyncssh>=2.16",
"cvprac>=1.3.1",
"eval-type-backport>=0.1.3", # Support newer typing features in older Python versions (required until Python 3.9 support is removed)
@ -29,7 +28,8 @@ dependencies = [
"pydantic-extra-types>=2.3.0",
"PyYAML>=6.0",
"requests>=2.31.0",
"rich>=13.5.2,<14"
"rich>=13.5.2,<14",
"typing_extensions>=4.12" # required for deprecated before Python 3.13
]
keywords = ["test", "anta", "Arista", "network", "automation", "networking", "devops", "netdevops"]
classifiers = [
@ -60,7 +60,7 @@ cli = [
]
dev = [
"bumpver>=2023.1129",
"codespell>=2.2.6,<2.4.0",
"codespell>=2.2.6,<2.5.0",
"mypy-extensions~=1.0",
"mypy~=1.10",
"pre-commit>=3.3.3",
@ -75,7 +75,7 @@ dev = [
"pytest-metadata>=3.0.0",
"pytest>=7.4.0",
"respx>=0.22.0",
"ruff>=0.5.4,<0.9.0",
"ruff>=0.5.4,<0.11.0",
"tox>=4.10.0,<5.0.0",
"types-PyYAML",
"types-pyOpenSSL",
@ -86,6 +86,7 @@ dev = [
doc = [
"fontawesome_markdown>=0.2.6",
"griffe >=1.2.0",
"griffe-warnings-deprecated>=1.1.0",
"mike==2.1.3",
"mkdocs>=1.6.1",
"mkdocs-autorefs>=1.2.0",
@ -120,7 +121,7 @@ namespaces = false
# Version
################################
[tool.bumpver]
current_version = "1.2.0"
current_version = "1.3.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump: Version {old_version} -> {new_version}"
commit = true
@ -143,7 +144,7 @@ plugins = [
]
# Comment below for better type checking
#follow_imports = "skip"
# Make it false if we implement stubs using stubgen from mypy for aio-eapi, aiocache and cvprac
# Make it false if we implement stubs using stubgen from mypy for asynceapi, cvprac
# and configure mypy_path to generated stubs e.g.: mypy_path = "./out"
ignore_missing_imports = true
warn_redundant_casts = true
@ -270,12 +271,14 @@ commands =
ruff format . --check
pylint anta
pylint tests
pylint asynceapi
[testenv:type]
description = Check typing
commands =
mypy --config-file=pyproject.toml anta
mypy --config-file=pyproject.toml tests
mypy --config-file=pyproject.toml asynceapi
[testenv:clean]
description = Erase previous coverage reports
@ -428,6 +431,12 @@ runtime-evaluated-base-classes = ["pydantic.BaseModel", "anta.models.AntaTest.In
"C901", # TODO: test function is too complex, needs a refactor
"PLR0912" # Too many branches (15/12) (too-many-branches), needs a refactor
]
"anta/tests/logging.py" = [
"A005", # TODO: Module `logging` shadows a Python standard-library module
]
"anta/input_models/logging.py" = [
"A005", # TODO: Module `logging` shadows a Python standard-library module
]
"anta/decorators.py" = [
"ANN401", # Ok to use Any type hint in our decorators
]