- Add GPU fields (model, memory, count, CUDA version, price, region) to MarketplaceOffer model - Create new marketplace_gpu router for GPU-specific operations - Update offer sync to populate GPU fields from miner capabilities - Move GPU attributes from generic attributes dict to dedicated fields - Update MarketplaceOfferView schema with GPU fields - Expand CLI README with comprehensive documentation and
85 lines
2.0 KiB
TOML
85 lines
2.0 KiB
TOML
[tool.pytest.ini_options]
|
|
addopts = "-ra --tb=short"
|
|
testpaths = [
|
|
"apps/coordinator-api/tests",
|
|
"apps/miner-node/tests",
|
|
"tests"
|
|
]
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
pythonpath = [
|
|
".",
|
|
"packages/py/aitbc-core/src",
|
|
"packages/py/aitbc-crypto/src",
|
|
"packages/py/aitbc-p2p/src",
|
|
"packages/py/aitbc-sdk/src",
|
|
"apps/coordinator-api/src",
|
|
"apps/wallet-daemon/src",
|
|
"apps/blockchain-node/src"
|
|
]
|
|
import_mode = "append"
|
|
markers = [
|
|
"unit: Unit tests (fast, isolated)",
|
|
"integration: Integration tests (require external services)",
|
|
"e2e: End-to-end tests (full system)",
|
|
"performance: Performance tests (measure speed/memory)",
|
|
"security: Security tests (vulnerability scanning)",
|
|
"slow: Slow tests (run separately)",
|
|
"gpu: Tests requiring GPU resources",
|
|
"confidential: Tests for confidential transactions",
|
|
"multitenant: Multi-tenancy specific tests"
|
|
]
|
|
|
|
[project]
|
|
name = "aitbc-cli"
|
|
version = "0.1.0"
|
|
description = "AITBC Command Line Interface Tools"
|
|
authors = [
|
|
{name = "AITBC Team", email = "team@aitbc.net"}
|
|
]
|
|
readme = "cli/README.md"
|
|
license = "MIT"
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"click>=8.0.0",
|
|
"httpx>=0.24.0",
|
|
"pydantic>=1.10.0",
|
|
"pyyaml>=6.0",
|
|
"rich>=13.0.0",
|
|
"keyring>=23.0.0",
|
|
"cryptography>=3.4.8",
|
|
"click-completion>=0.5.2",
|
|
"tabulate>=0.9.0",
|
|
"colorama>=0.4.4",
|
|
"python-dotenv>=0.19.0"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"pytest-mock>=3.10.0",
|
|
"black>=22.0.0",
|
|
"isort>=5.10.0",
|
|
"flake8>=5.0.0"
|
|
]
|
|
|
|
[project.scripts]
|
|
aitbc = "aitbc_cli.main:cli"
|
|
|
|
[project.urls]
|
|
Homepage = "https://aitbc.net"
|
|
Repository = "https://github.com/aitbc/aitbc"
|
|
Documentation = "https://docs.aitbc.net"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["cli"]
|
|
include = ["aitbc_cli*"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"aitbc_cli" = "cli/aitbc_cli"
|