python-colcon-ros fails to build with the latest setuptools version. This report is automated and not very verbose, but we'll try to get back here with details. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/cstratak/setuptools-67.5.1/fedora-rawhide-x86_64/05722719-python-colcon-ros/ For all our attempts to build python-colcon-ros with the latest setuptools, see: https://copr.fedorainfracloud.org/coprs/cstratak/setuptools-67.5.1/package/python-colcon-ros/ Let us know here if you have any questions.
PR: https://src.fedoraproject.org/rpms/python-colcon-ros/pull-request/1
The actual error: + /usr/bin/python3 -m pytest --ignore=test/test_spell_check.py --ignore=test/test_flake8.py ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.2.2, pluggy-1.0.0 rootdir: /builddir/build/BUILD/colcon-ros-0.3.23, configfile: setup.cfg plugins: colcon-core-0.11.0 collected 1 item / 2 errors ==================================== ERRORS ==================================== ____________ ERROR collecting test/test_ament_index_augmentation.py ____________ test/test_ament_index_augmentation.py:8: in <module> from colcon_ros.package_augmentation.ros_ament_index \ colcon_ros/package_augmentation/ros_ament_index.py:5: in <module> from colcon_core.package_augmentation \ <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/package_augmentation/__init__.py:10: in <module> from colcon_core.plugin_system import instantiate_extensions <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/plugin_system.py:7: in <module> from colcon_core.entry_point import load_entry_points <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/entry_point.py:12: in <module> from pkg_resources import iter_entry_points /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in <module> warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API ______________ ERROR collecting test/test_dependency_metadata.py _______________ test/test_dependency_metadata.py:6: in <module> from colcon_ros.package_identification.ros import _create_metadata colcon_ros/package_identification/ros.py:7: in <module> from colcon_core.package_augmentation import PackageAugmentationExtensionPoint <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/package_augmentation/__init__.py:10: in <module> from colcon_core.plugin_system import instantiate_extensions <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/plugin_system.py:7: in <module> from colcon_core.entry_point import load_entry_points <frozen importlib._bootstrap>:1178: in _find_and_load ??? <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) /usr/lib/python3.11/site-packages/colcon_core/entry_point.py:12: in <module> from pkg_resources import iter_entry_points /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: in <module> warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) E DeprecationWarning: pkg_resources is deprecated as an API =========================== short test summary info ============================ ERROR test/test_ament_index_augmentation.py - DeprecationWarning: pkg_resourc... ERROR test/test_dependency_metadata.py - DeprecationWarning: pkg_resources is... !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
I've pushed the workaround. Keeping this bug open, as while this has been worked around and the package will not fail to build, the issue is still there.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
FEDORA-2024-98e23e52e8 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-98e23e52e8
FEDORA-2024-b9b60dd054 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b9b60dd054
FEDORA-EPEL-2024-90a0477b15 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-90a0477b15
FEDORA-EPEL-2024-1ffe38b11b has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1ffe38b11b
FEDORA-EPEL-2024-8464293a37 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-8464293a37
FEDORA-2024-98e23e52e8 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-98e23e52e8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-98e23e52e8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-1ffe38b11b has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1ffe38b11b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-8464293a37 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-8464293a37 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-90a0477b15 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-90a0477b15 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-b9b60dd054 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b9b60dd054` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b9b60dd054 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-b9b60dd054 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-1ffe38b11b has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-98e23e52e8 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-90a0477b15 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-8464293a37 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.