Fedora Account System
Red Hat Associate
Red Hat Customer
python-six fails to build with Python 3.13.0a1. _________________________ test_move_items[tkinter_tix] _________________________ item_name = 'tkinter_tix' @pytest.mark.parametrize("item_name", [item.name for item in six._moved_attributes]) def test_move_items(item_name): """Ensure that everything loads correctly.""" try: > item = getattr(six.moves, item_name) test_six.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ six.py:97: in __get__ result = self._resolve() six.py:120: in _resolve return _import_module(self.mod) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'tkinter.tix' def _import_module(name): """Import module, returning the module after the last dot.""" > __import__(name) E ModuleNotFoundError: No module named 'tkinter.tix' six.py:87: ModuleNotFoundError =========================== short test summary info ============================ FAILED test_six.py::test_move_items[tkinter_tix] - ModuleNotFoundError: No mo... ================== 1 failed, 199 passed, 2 warnings in 0.34s =================== According to https://docs.python.org/3.13/whatsnew/3.13.html: Remove the tkinter.tix module, deprecated in Python 3.6. The third-party Tix library which the module wrapped is unmaintained. (Contributed by Zachary Ware in gh-75552.) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06558494-python-six/ For all our attempts to build python-six with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-six/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
I've fixed this upstream: https://github.com/benjaminp/six/pull/377
A PR: https://src.fedoraproject.org/rpms/python-six/pull-request/19