a7bf1ef95d
Client.Python-001: dropped "scaffold" from the stale pyproject description. Client.Python-002 (re-triaged): stale finding — MxGatewayCommandError is already exported and in __all__; no change needed. Client.Python-004: removed the dead `closed` variable in _smoke; the CLI smoke now uses `async with session`. Client.Python-006: close() on both clients and Session had an unlocked check-then-set race; `_closed` is now set before the await. Client.Python-007: gateway stream iterators now share one helper that explicitly catches CancelledError and cancels the call. Client.Python-008: to_mx_value now rejects nan/inf; float/bytes mapping documented. Client.Python-010: removed the circular-import-workaround late imports in favour of TYPE_CHECKING / module-scope imports. Client.Python-011: ensure_mxaccess_success no longer treats a proto3-default success==0 with an unset category as a failure. Client.Python-012 (Won't Fix): invoke_raw deliberately skips MXAccess-failure detection for parity tests; documented the contract instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
655 B
TOML
34 lines
655 B
TOML
[build-system]
|
|
requires = ["setuptools>=69", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mxaccess-gateway-client"
|
|
version = "0.1.0"
|
|
description = "Async Python client for MXAccess Gateway."
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"click>=8.3,<9",
|
|
"grpcio>=1.80,<2",
|
|
"protobuf>=6.33,<7",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"grpcio-tools>=1.80,<2",
|
|
"pytest>=9,<10",
|
|
"pytest-asyncio>=1.3,<2",
|
|
]
|
|
|
|
[project.scripts]
|
|
mxgw-py = "mxgateway_cli.commands:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-ra"
|
|
pythonpath = ["src"]
|
|
testpaths = ["tests"]
|