python-sphinx-intl failed to build from source in Fedora rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=28225097 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Please fix python-sphinx-intl at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, python-sphinx-intl will be orphaned. Before branching of Fedora 30, python-sphinx-intl will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1466859 [details] build.log
Created attachment 1466860 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1466861 [details] state.log
(This is a mass bug update. Forgive me if things are not 100% accurate for this one.) At this moment, your package still requires Python 3.6. This will cause broken upgrades to Fedora 29. Please prioritize this rebuild. Let me know if you need help from the Python maintenance team figuring out why the package FTBFS. Consider orphaning the package if you don't have time for it. Consider retiring the package if upstream is dead and nothing depends on it in Fedora. If you are blocked by other packages (I've recently tried to set the Bugzilla metadata to reflect that), consider helping there as well. Thank you.
Tests are failing for a strange reason (full failure is attached): TypeError: 'path' object is not callable It looks really weird to me and if someone in the Python maintenance team has an idea, that would be great.
conftest.py is setting magic __dir__ variable and that confuses pytest. Reanme it and the test run: diff --git a/tests/conftest.py b/tests/conftest.py index 9248693..dfff83c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,7 +14,7 @@ import pytest from path import path -__dir__ = path(os.path.dirname(os.path.abspath(__file__))) +_dir = path(os.path.dirname(os.path.abspath(__file__))) @pytest.fixture(scope="function") @@ -22,7 +22,7 @@ def temp(request, tmpdir): template_dir = 'root' tmpdir = path(tmpdir) - (__dir__ / template_dir).copytree(tmpdir / template_dir) + (_dir / template_dir).copytree(tmpdir / template_dir) cwd = os.getcwd() temp = tmpdir / template_dir os.chdir(temp)
The cause: https://www.python.org/dev/peps/pep-0562/
PR: https://src.fedoraproject.org/rpms/python-sphinx-intl/pull-request/2
Thanks. Package rebuilt.
Patch submitted upstream: https://github.com/sphinx-doc/sphinx-intl/pull/25 Thanks again Miro!