Any update? Just tested 5.8.1 and looks like issue still is not resolved. Additionally pytest shows many warnings + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pbr-5.8.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pbr-5.8.1-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/pbr-5.8.1 collected 129 items pbr/tests/test_commands.py .... [ 3%] pbr/tests/test_core.py F..... [ 7%] pbr/tests/test_files.py ....... [ 13%] pbr/tests/test_hooks.py s. [ 14%] pbr/tests/test_integration.py ssss [ 17%] pbr/tests/test_packaging.py .....F.F..FFF....F........F......................FF... [ 59%] pbr/tests/test_pbr_json.py . [ 60%] pbr/tests/test_setup.py s.FF.FF.. [ 67%] pbr/tests/test_util.py .F.FF.F. [ 73%] pbr/tests/test_version.py ............................... [ 97%] pbr/tests/test_wsgi.py FFF [100%] ================================================================================= FAILURES ================================================================================= ___________________________________________________________________ TestCore.test_console_script_develop ___________________________________________________________________ 'NoneType' object is not iterable During handling of the above exception, another exception occurred: NOTE: Incompatible Exception Representation, displaying natively: testtools.testresult.real._StringException: Empty attachments: pythonlogging:'' pythonlogging:'pbr' Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/pbr-5.8.1/pbr/tests/test_core.py", line 133, in test_console_script_develop self.check_script_install(stdout) File "/home/tkloczko/rpmbuild/BUILD/pbr-5.8.1/pbr/tests/test_core.py", line 59, in check_script_install self.assertIn(install_txt, install_stdout) File "/usr/lib/python3.8/site-packages/testtools/testcase.py", line 399, in assertIn self.assertThat(haystack, Contains(needle), message) File "/usr/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 'Installing pbr_test_cmd script to /tmp/tmp4xp6ubm5/tmpbd_no6rx' not in "running develop\nrunning egg_info\ncreating pbr_testpackage.egg-info\nwriting pbr_testpackage.egg-info/PKG-INFO\nwriting dependency_links to pbr_testpackage.egg-info/dependency_links.txt\nwriting entry points to pbr_testpackage.egg-info/entry_points.txt\nwriting requirements to pbr_testpackage.egg-info/requires.txt\nwriting top-level names to pbr_testpackage.egg-info/top_level.txt\n[pbr] Processing SOURCES.txt\nwriting manifest file 'pbr_testpackage.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nadding license file 'LICENSE.txt'\nwriting manifest file 'pbr_testpackage.egg-info/SOURCES.txt'\nrunning build_ext\nbuilding 'pbr_testpackage.testext' extension\ncreating build\ncreating build/temp.linux-x86_64-3.8\ncreating build/temp.linux-x86_64-3.8/src\n/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I/usr/include/python3.8 -c src/testext.c -o build/temp.linux-x86_64-3.8/src/testext.o" --------------------------------------------------------------------------- Captured stdout call --------------------------------------------------------------------------- Running /usr/bin/python3 setup.py develop --install-dir=/tmp/tmp4xp6ubm5/tmpbd_no6rx STDOUT: running develop running egg_info creating pbr_testpackage.egg-info writing pbr_testpackage.egg-info/PKG-INFO writing dependency_links to pbr_testpackage.egg-info/dependency_links.txt writing entry points to pbr_testpackage.egg-info/entry_points.txt writing requirements to pbr_testpackage.egg-info/requires.txt writing top-level names to pbr_testpackage.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file 'pbr_testpackage.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'pbr_testpackage.egg-info/SOURCES.txt' running build_ext building 'pbr_testpackage.testext' extension creating build creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I/usr/include/python3.8 -c src/testext.c -o build/temp.linux-x86_64-3.8/src/testext.o STDERR: /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead warnings.warn( /usr/lib/python3.8/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: 1.17.1-unknown is an invalid version and will not be supported in a future release warnings.warn( /usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:160: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:738: UserWarning: Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/command/egg_info.py:623: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'. Please extend command classes from setuptools instead of distutils. warnings.warn( warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution src/testext.c:1:10: fatal error: Python.h: No such file or directory 1 | #include | ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 ______________________________________________________ TestPackagingInGitRepoWithCommit.test_install_writes_changelog ______________________________________________________ 'NoneType' object is not iterable During handling of the above exception, another exception occurred: NOTE: Incompatible Exception Representation, displaying natively: testtools.testresult.real._StringException: Empty attachments: pythonlogging:'' pythonlogging:'pbr' Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/pbr-5.8.1/pbr/tests/test_packaging.py", line 327, in test_install_writes_changelog stdout, _, _ = self.run_setup( File "/home/tkloczko/rpmbuild/BUILD/pbr-5.8.1/pbr/tests/base.py", line 135, in run_setup return self._run_cmd(sys.executable, ('setup.py',) + args, **kwargs) File "/home/tkloczko/rpmbuild/BUILD/pbr-5.8.1/pbr/tests/base.py", line 150, in _run_cmd raise Exception("Command failed retcode=%s" % result[2]) Exception: Command failed retcode=1 --------------------------------------------------------------------------- Captured stdout call --------------------------------------------------------------------------- Running git init . STDOUT: Initialized empty Git repository in /tmp/tmpnrj1z8b7/tmpz5mgb2ky/testpackage/.git/ STDERR: hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Running git config --global user.email