python-colcon-core FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide). ______________________________ test_build_package ______________________________ def test_build_package(): event_loop = new_event_loop() asyncio.set_event_loop(event_loop) try: with TemporaryDirectory(prefix='test_colcon_') as tmp_path_str: tmp_path = Path(tmp_path_str) python_build_task = PythonBuildTask() package = PackageDescriptor(tmp_path / 'src') package.name = 'test_package' package.type = 'python' context = TaskContext( pkg=package, args=SimpleNamespace( path=str(tmp_path / 'src'), build_base=str(tmp_path / 'build'), install_base=str(tmp_path / 'install'), symlink_install=False, ), dependencies={} ) python_build_task.set_context(context=context) pkg = python_build_task.context.pkg pkg.path.mkdir() (pkg.path / 'setup.py').write_text( 'from setuptools import setup\n' 'setup(\n' ' name="test_package",\n' ' packages=["my_module"],\n' ')\n' ) (pkg.path / 'my_module').mkdir() (pkg.path / 'my_module' / '__init__.py').touch() src_base = Path(python_build_task.context.args.path) source_files_before = set(src_base.rglob('*')) rc = event_loop.run_until_complete(python_build_task.build()) assert not rc source_files_after = set(src_base.rglob('*')) assert source_files_before == source_files_after build_base = Path(python_build_task.context.args.build_base) assert 1 == len(list(build_base.rglob('my_module/__init__.py'))) install_base = Path(python_build_task.context.args.install_base) assert 1 == len(list(install_base.rglob('my_module/__init__.py'))) pkg_info, = install_base.rglob('PKG-INFO') > assert 'Name: test-package' in pkg_info.read_text().splitlines() E AssertionError: assert 'Name: test-package' in ['Metadata-Version: 2.1', 'Name: test_package', 'Version: 0.0.0'] E + where ['Metadata-Version: 2.1', 'Name: test_package', 'Version: 0.0.0'] = <built-in method splitlines of str object at 0x7f3083b62aa0>() E + where <built-in method splitlines of str object at 0x7f3083b62aa0> = 'Metadata-Version: 2.1\nName: test_package\nVersion: 0.0.0\n'.splitlines E + where 'Metadata-Version: 2.1\nName: test_package\nVersion: 0.0.0\n' = <bound method Path.read_text of PosixPath('/tmp/test_colcon_gbxgy_nc/install/lib/python3.12/site-packages/test_package-0.0.0-py3.12.egg-info/PKG-INFO')>() E + where <bound method Path.read_text of PosixPath('/tmp/test_colcon_gbxgy_nc/install/lib/python3.12/site-packages/test_package-0.0.0-py3.12.egg-info/PKG-INFO')> = PosixPath('/tmp/test_colcon_gbxgy_nc/install/lib/python3.12/site-packages/test_package-0.0.0-py3.12.egg-info/PKG-INFO').read_text test/test_build_python.py:99: AssertionError =========================== short test summary info ============================ FAILED test/test_build_python.py::test_build_package - AssertionError: assert... Build log: https://download.copr.fedorainfracloud.org/results/ksurma/setuptools-69.0.3:custom:isolated/fedora-rawhide-x86_64/06901519-python-colcon-core/builder-live.log.gz All build attempts: https://copr.fedorainfracloud.org/coprs/ksurma/setuptools-69.0.3/package/python-colcon-core/
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-8464293a37 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-8464293a37
FEDORA-EPEL-2024-1ffe38b11b has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1ffe38b11b
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.