DescriptionOyvind Albrigtsen
2020-05-01 07:37:40 UTC
Description of problem:
In python3-3.8.2-2.fc33.x86_64 email.FeedParser has been renamed to email.feedparser making "import httplib2" fail.
04:56:39 Traceback (most recent call last):
04:56:39 File "gce/fence_gce", line 18, in <module>
04:56:39 import googleapiclient.discovery
04:56:39 File "/usr/lib/python3.8/site-packages/googleapiclient/discovery.py", line 52, in <module>
04:56:39 import httplib2
04:56:39 File "/usr/lib/python3.8/site-packages/httplib2/__init__.py", line 28, in <module>
04:56:39 import email.FeedParser
04:56:39 ModuleNotFoundError: No module named 'email.FeedParser'
# python3
Python 3.8.2 (default, Feb 28 2020, 00:00:00)
[GCC 10.0.1 20200216 (Red Hat 10.0.1-0.8)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import email.FeedParser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'email.FeedParser'
>>> import email.feedparser
>>>
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Run python3
2. import httplib2
3.
Actual results:
Fails
Expected results:
Succeeds
Additional info:
> Fixed with sed.
Gwyn, there has been no commit from you about this.
Side note: There has been no renaming, the module was always been called email.parser.FeedParser, but there was some internal import that exposed it trough email.FeedParser.
This blocks rebuilds for Python 3.9.