Install this version:
emerge -a =dev-python/smp-4.1.0
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Simple Management Protocol (SMP) for remotely managing MCU firmware"
HOMEPAGE="https://github.com/JPHutchins/smp https://pypi.org/project/smp/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/cbor2-5.5.1[${PYTHON_USEDEP}]
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.6[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
>=dev-python/cbor2-5.5.1[] >=dev-python/crcmod-1.7[] >=dev-python/pydantic-2.6[]