- Package:
- src:python-pymavlink
- Source:
- src:python-pymavlink
- Submitter:
- Santiago Vila
- Date:
- 2026-09-21 21:11:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202609/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-pymavlink, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] /usr/lib/python3.14/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_wp.py:9: in <module> import pkg_resources E ModuleNotFoundError: No module named 'pkg_resources' =========================== short test summary info ============================ ERROR tests/test_mavlogdump.py ERROR tests/test_mavxml.py ERROR tests/test_trim.py ERROR tests/test_wp.py !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 4 errors in 0.67s =============================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pymavlink/build; python3.14 -m pytest --snapshot-update tests rm -fr -- /tmp/dh-xdg-rundir-ts_Q5n4Q dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
user debian-python@lists.debian.org usertags 1147907 python3.15 tags 1147907 patch thanks Hi! While rebuilding the python related packages against the Python 3.15rc2 version I ran into this FTBFS [1]. To solve the issue, I applied an upstream patch to migrate away from pkg_resources, commit 87745be [2] tests: use importlib in place of pkg_resources I've applied these fixes in the sandbox [3] to verify that it builds successfully, these should be applied in Debian to get the package back to a healthy state. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4690237/ [2]: https://github.com/ArduPilot/pymavlink/commit/87745be09b1a82703a35848b34e71aeffe7dcb84 [3]: https://debusine.debian.net/debian/r-python-python3.15/
We believe that the bug you reported is fixed in the latest version of python-pymavlink, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1147907@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Tianyu Chen <billchenchina2001@gmail.com> (supplier of updated python-pymavlink package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 22 Sep 2026 04:53:26 +0800 Source: python-pymavlink Architecture: source Version: 2.4.49-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <team+python@tracker.debian.org> Changed-By: Tianyu Chen <billchenchina2001@gmail.com> Closes: 1147907 Changes: python-pymavlink (2.4.49-2) unstable; urgency=medium . * Team upload. * Migrate away from pkg_resources (Closes: #1147907) * Removed Rules-Requires-Root Checksums-Sha1: 4e0c769cf99699b058d61fcdb842c2cf754626d9 2810 python-pymavlink_2.4.49-2.dsc b6b16962babed971a993a7c7672083ab139523af 9016 python-pymavlink_2.4.49-2.debian.tar.xz 85f7bd021b7a0ca748bf7f1d9bca2117821bc4b5 11816 python-pymavlink_2.4.49-2_source.buildinfo Checksums-Sha256: e004dc057051648eaf515fd1a450ff274f69ebb8bc645e89a2a8881304f7be59 2810 python-pymavlink_2.4.49-2.dsc 197023bd1e57d6f3f18aca908640a7c3cfb31e7eac3e8d54e4ce24358c73c129 9016 python-pymavlink_2.4.49-2.debian.tar.xz dc1c242da157633a3d659aec535a56f890c96de051af85a3f0c19941e13aebea 11816 python-pymavlink_2.4.49-2_source.buildinfo Files: c7d00cae71100bbca4c29f7a92ab29c7 2810 python optional python-pymavlink_2.4.49-2.dsc a0bf0cefd42e65c7e41114ab3cbc2b3f 9016 python optional python-pymavlink_2.4.49-2.debian.tar.xz c6e517cb9f49abaad49de269753cb3ba 11816 python optional python-pymavlink_2.4.49-2_source.buildinfo -----BEGIN PGP SIGNATURE----- wsG7BAEBCgBvBYJqsZliCRBUayRbWUkmnUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcmfcrI46QZD/yTOrSUHS5BEX15A9rJvtArnHorLlBCIf hRYhBDHYlR0RXbfz/vWZlVRrJFtZSSadAADNIxAAv+3D0tGPVMuhpdtQ/UEfm9pc JdsjC84ek96ecuoDTAgFNBt7iQB6GJJQfYpW+1CG1NAy/jnjWeuq8HOGjWJuc09L E7A/HLt9mDXc873xOIJuszpmpopBirrX9oUyLN/6fRJdT5Ijj38zmHDbFu5ohzFZ vCcD0YczowNbHotl9fwywlNd6UZWJoSBlpRjIhXLR0OTJBgXAOgZE/2eHkVCiBOS X1r0wZw0bUtL26lKqzOijFqLHzJjxiGCqDTQpbhKE4+ayvy4BVY1doQxUjam2Re0 lvToaMWCCEfEV13P18jcfEZYeo4d7lD5J0zXYd5dkfllDyNvwl0/xta7k/40HBvo 7ib9C/WqzOs8JORaWa9gJRyeUlmdw2yM/Vsske/WGbqU6+BBUgHTYBtgtTnrLMPd 5sC2VTqR+pZyt9CTlgl2wXwsTsfoLOGTwXquo+7bZE6hEg+cxrCc35ucrGBMcZjB bTN2jejMvRCnwhFr1Kw0kbuVhXhy+XGRhjPotKff3n8lDorlsb1wbgcyAXcBmU2G rwFtYXG7kFOp9uY6ZyzoA/ZMWTS6+Ko43fl04okcalEQTcsGEmq8YWrfq196Pnmn iPXhTVztUSSaZlJszw0XXklbYuN71pady99mQmcA9yA/YLMeKhio4CzHuuEX8EfF OuUFjykWCdv0ZnyLduo= =oSlL -----END PGP SIGNATURE-----