Files
aitbc/pyproject.toml
oib f6ee77f497 refactor: consolidate logging to shared aitbc-core package and upgrade database dependencies
- Upgrade SQLAlchemy to 2.0.47 with asyncio extras in blockchain-node and coordinator-api
- Add asyncpg >=0.29.0 for PostgreSQL async support
- Remove uvloop as optional dependency, make it required >=0.22.0
- Delete duplicate logger.py from blockchain-node (117 lines)
- Refactor coordinator-api logging to use shared aitbc.logging from aitbc-core package
- Add aitbc-core package dependency to coordinator
2026-02-28 21:09:14 +01:00

102 lines
2.5 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.13"
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",
"asyncpg (>=0.29.0)"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
]
[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"
[dependency-groups]
dev = [
"mypy (>=1.19.1,<2.0.0)"
]