python-typing-extensions fails to build with Python 3.8.0b1. From the build log, it looks like some of the extensions were moved to Python's own typing module, invalidating the tests' expectations: ====================================================================== FAIL: test_typing_extensions_defers_when_possible (__main__.AllTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "src_py3/test_typing_extensions.py", line 1384, in test_typing_extensions_defers_when_possible self.assertIs( AssertionError: <function final at 0x7fd16783f280> is not <function final at 0x7fd167c929d0> ====================================================================== FAIL: test_repr (__main__.LiteralTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "src_py3/test_typing_extensions.py", line 237, in test_repr self.assertEqual(repr(Literal[1]), "typing_extensions.Literal[1]") AssertionError: 'typing.Literal[1]' != 'typing_extensions.Literal[1]' - typing.Literal[1] + typing_extensions.Literal[1] ? +++++++++++ ---------------------------------------------------------------------- For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00927854-python-typing-extensions/ For all our attempts to build python-typing-extensions with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-typing-extensions/ 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.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
This have been fixed by upstream in master
Could you please backport the fix?
(In reply to Miro Hrončok from comment #2) > Could you please backport the fix? I will not backport the fix, but I welcome others to apply the patch and test. It is possible to use the newer version?
> It is possible to use the newer version? Possible how?
(In reply to Miro Hrončok from comment #4) > > It is possible to use the newer version? > > Possible how? You asked to backport the fix. Why not update to the latest version? I see that I have not built for rawhide, doing it now. Just let me know if you want to push updates to f30 (and f29)
> You asked to backport the fix. Why not update to the latest version? You've said this have been fixed by upstream in master. I assumed the fix is not yet in a released version. If it is, update should work as well. > Just let me know if you want to push updates to f30 (and f29) Not needed. Thanks.
Great, just some misunderstandings. Can you test against the latest build in rawhide? https://koji.fedoraproject.org/koji/buildinfo?buildID=1312400
Thanks, builds.