Bug 1830947 - python-wsgi_intercept fails to build: Incorrect import in httplib2
Summary: python-wsgi_intercept fails to build: Incorrect import in httplib2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-wsgi_intercept
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chandan Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1830222
Blocks: PYTHON39 F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-05-04 11:59 UTC by Miro Hrončok
Modified: 2020-05-04 15:39 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-04 15:39:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-05-04 11:59:23 UTC
python-wsgi_intercept fails to build with Python 3.9.0a6 (and 3.8.3).

ERROR: test_wsgi_compliance (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_wsgi_compliance
Traceback (most recent call last):
  File "/usr/lib64/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/builddir/build/BUILD/wsgi_intercept-1.9.2/wsgi_intercept/tests/test_wsgi_compliance.py", line 7, in <module>
    from wsgi_intercept import httplib2_intercept
  File "/builddir/build/BUILD/wsgi_intercept-1.9.2/wsgi_intercept/httplib2_intercept.py", line 7, in <module>
    from httplib2 import (SCHEME_TO_CONNECTION, HTTPConnectionWithTimeout,
  File "/usr/lib/python3.9/site-packages/httplib2/__init__.py", line 28, in <module>
    import email.FeedParser
ModuleNotFoundError: No module named 'email.FeedParser'

This is caused by bz1830222.

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365627-python-wsgi_intercept/

For all our attempts to build python-wsgi_intercept with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-wsgi_intercept/

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.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
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.

Comment 1 Miro Hrončok 2020-05-04 15:39:06 UTC
httplib2 was fixed and hence this is no longer an issue.


Note You need to log in before you can comment on or make changes to this bug.