Files
PX4-Autopilot/Tools/bench_test/pyproject.toml
T
Ramon Roche 5dc6742bfa fix(bench): require pymavlink >= 2.4.42 for the mavftp module
log_transfer crashed with a raw ImportError on setups whose pymavlink
predates the mavftp module (#27840). mavftp first shipped in pymavlink
2.4.42, so raise the floor in pyproject.toml, Tools/setup/requirements.txt
and the README, and guard the import in px4bench.ftp so an old install
reports a clear upgrade hint instead of a traceback. Both mavftp
consumers now import it through the guard.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-09-28 11:47:52 -07:00

27 lines
643 B
TOML

[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "px4bench"
version = "0.1.0"
description = "PX4 bench-test suite: hang-visible release qualification on real NuttX hardware"
readme = "README.md"
license = { text = "BSD-3-Clause" }
requires-python = ">=3.8"
dependencies = [
# 2.4.42 is the first release that ships pymavlink.mavftp (log_transfer,
# flight_mission log download)
"pymavlink>=2.4.42",
"pyserial",
]
[project.optional-dependencies]
ulog = ["pyulog"]
[project.urls]
Homepage = "https://github.com/PX4/PX4-Autopilot"
[tool.setuptools]
packages = ["px4bench"]