forked from TrueCloudLab/frostfs-testlib
95 lines
No EOL
3.2 KiB
TOML
95 lines
No EOL
3.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=65.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "frostfs-testlib"
|
|
version = "2.0.1"
|
|
description = "Building blocks and utilities to facilitate development of automated tests for FrostFS system"
|
|
readme = "README.md"
|
|
authors = [{ name = "Yadro", email = "info@yadro.com" }]
|
|
license = { text = "GNU General Public License v3 (GPLv3)" }
|
|
classifiers = [
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
keywords = ["frostfs", "test"]
|
|
dependencies = [
|
|
"allure-python-commons>=2.13.2",
|
|
"docker>=4.4.0",
|
|
"pyyaml==6.0.1",
|
|
"neo-mamba==1.0.0",
|
|
"paramiko>=2.10.3",
|
|
"pexpect>=4.8.0",
|
|
"requests==2.28.1",
|
|
"docstring_parser>=0.15",
|
|
"testrail-api>=1.12.0",
|
|
"pytest==7.1.2",
|
|
"tenacity==8.0.1",
|
|
"boto3==1.16.33",
|
|
"boto3-stubs[essential]==1.16.33",
|
|
]
|
|
requires-python = ">=3.10"
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["black", "bumpver", "isort", "pre-commit"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.frostfs.info/TrueCloudLab/frostfs-testlib"
|
|
|
|
[project.entry-points."frostfs.testlib.reporter"]
|
|
allure = "frostfs_testlib.reporter.allure_handler:AllureHandler"
|
|
|
|
[project.entry-points."frostfs.testlib.hosting"]
|
|
docker = "frostfs_testlib.hosting.docker_host:DockerHost"
|
|
|
|
[project.entry-points."frostfs.testlib.healthcheck"]
|
|
basic = "frostfs_testlib.healthcheck.basic_healthcheck:BasicHealthcheck"
|
|
|
|
[project.entry-points."frostfs.testlib.csc_managers"]
|
|
config = "frostfs_testlib.storage.controllers.state_managers.config_state_manager:ConfigStateManager"
|
|
|
|
[project.entry-points."frostfs.testlib.services"]
|
|
frostfs-storage = "frostfs_testlib.storage.dataclasses.frostfs_services:StorageNode"
|
|
frostfs-s3 = "frostfs_testlib.storage.dataclasses.frostfs_services:S3Gate"
|
|
frostfs-http = "frostfs_testlib.storage.dataclasses.frostfs_services:HTTPGate"
|
|
neo-go = "frostfs_testlib.storage.dataclasses.frostfs_services:MorphChain"
|
|
frostfs-ir = "frostfs_testlib.storage.dataclasses.frostfs_services:InnerRing"
|
|
|
|
[project.entry-points."frostfs.testlib.credentials_providers"]
|
|
authmate = "frostfs_testlib.credentials.authmate_s3_provider:AuthmateS3CredentialsProvider"
|
|
wallet_factory = "frostfs_testlib.credentials.wallet_factory_provider:WalletFactoryProvider"
|
|
|
|
[project.entry-points."frostfs.testlib.bucket_cid_resolver"]
|
|
frostfs = "frostfs_testlib.s3.curl_bucket_resolver:CurlBucketContainerResolver"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
src_paths = ["src", "tests"]
|
|
line_length = 140
|
|
|
|
[tool.black]
|
|
line-length = 140
|
|
target-version = ["py310"]
|
|
|
|
[tool.bumpver]
|
|
current_version = "2.0.1"
|
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
commit_message = "Bump version {old_version} -> {new_version}"
|
|
commit = true
|
|
tag = false
|
|
push = false
|
|
|
|
[tool.bumpver.file_patterns]
|
|
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']
|
|
"src/frostfs_testlib/__init__.py" = ["{version}"]
|
|
|
|
[tool.pytest.ini_options]
|
|
filterwarnings = [
|
|
"ignore:Blowfish has been deprecated:cryptography.utils.CryptographyDeprecationWarning",
|
|
]
|
|
testpaths = ["tests"]
|
|
|
|
[project.entry-points.pytest11]
|
|
testlib = "frostfs_testlib" |