The setuptools upstream version 72.0.0 removed support for the "test" command expecting users to migrate to a different test runner [1].
The python-svg.path package is one of the affected packages. The reported autopkgtest failure may be seen here [2]. This could be fixed
on the lines of [3].