Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1716500
Summary: | python-gfm fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-gfm | Assignee: | Thomas Moschny <thomas.moschny> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | thomas.moschny |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-gfm/ | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-08 22:08:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1750908, 1750909, 1686977 |
Description
Miro Hrončok
2019-06-03 14:38:24 UTC
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.14Vh2s + umask 022 + cd /builddir/build/BUILD + cd py-gfm-0.1.3 + /usr/bin/python3 setup.py test gfm (unittest.loader._FailedTest) ... ERROR mdx_gfm (unittest.loader._FailedTest) ... ERROR mdx_partial_gfm (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: gfm (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: gfm Traceback (most recent call last): File "/usr/lib64/python3.8/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.8/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/py-gfm-0.1.3/gfm/__init__.py", line 15, in <module> from gfm import spaced_link File "/builddir/build/BUILD/py-gfm-0.1.3/gfm/spaced_link.py", line 38, in <module> BRK = markdown.inlinepatterns.BRK AttributeError: module 'markdown.inlinepatterns' has no attribute 'BRK' ====================================================================== ERROR: mdx_gfm (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: mdx_gfm Traceback (most recent call last): File "/usr/lib64/python3.8/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.8/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/py-gfm-0.1.3/mdx_gfm/__init__.py", line 27, in <module> from mdx_partial_gfm import PartialGithubFlavoredMarkdownExtension File "/builddir/build/BUILD/py-gfm-0.1.3/mdx_partial_gfm/__init__.py", line 30, in <module> from markdown.extensions.smart_strong import SmartEmphasisExtension ModuleNotFoundError: No module named 'markdown.extensions.smart_strong' ====================================================================== ERROR: mdx_partial_gfm (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: mdx_partial_gfm Traceback (most recent call last): File "/usr/lib64/python3.8/unittest/loader.py", line 470, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.8/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/py-gfm-0.1.3/mdx_partial_gfm/__init__.py", line 30, in <module> from markdown.extensions.smart_strong import SmartEmphasisExtension ModuleNotFoundError: No module named 'markdown.extensions.smart_strong' ---------------------------------------------------------------------- Ran 3 tests in 0.002s FAILED (errors=3) This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag. If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead: on branch master: $ fedpkg build --target=f32-python To wait for a build to show up in the side tag, do: $ koji wait-repo f32-python --build=<nvr> Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32. An updated mock config is posted at: http://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away. Thanks. Let us know if you need up to date info, or if you have any questions. PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual: on branch f31: $ fedpkg build The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged: $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32 If your built already started in f32-python, after it is finished, please tag it to rawhide with: $ koji tag-build f32-pending <nvr> For example: $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32 Thanks! (This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.) (Python 3.8 has landed in the rawhide buildroot.) This issue is blocking the Python 3.8 rebuilds. If this package won't build with 3.8, it won't be installable, along with all its dependent packages, in Fedora 32. Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well. Could you please look into this? This is not a Python 3.8 issue, but an incompatibility with Markdown >= 3.0, see https://github.com/Zopieux/py-gfm/issues/13 , "fixed" in py-gfm by pinning the Markdown dependency to <3.0. I'm not aware of a fix making it compatible with Markdown >= 3.0. If this package won't build with 3.8, it won't be installable. Closing this bug would not make it so. It isn't important whether the problem si actually caused by Python 3.8 or not. There are only 2 options here: - fix/workaround this somehow - retire the package Ok, but it doesn't make sense to have two bugs. One of bug 1736499 or bug 1716500 should be closed as duplicate of the other. OK. Note that if that bug remains in NEW the package will be orphaned. *** This bug has been marked as a duplicate of bug 1736499 *** |