Bug 1391287

Summary: python3-aiohttp requires async_timeout
Product: [Fedora] Fedora Reporter: Andrea Oliveri <oliveriandrea>
Component: python-aiohttpAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: a.badger, athmanem, dcallagh, mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-aiohttp-1.0.5-3.fc25 python-aiohttp-1.0.5-3.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 20:23:16 UTC Type: Bug
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: 1394250    
Bug Blocks:    

Description Andrea Oliveri 2016-11-02 23:30:22 UTC
If you install python3-aiohttp.-1.0.5-1.fc25 as dependency of GNS3, and you start GNS you obtain the following error


systemctl status GNS3

gns3server[12081]:   File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 635, in _build_master
gns3server[12081]:     ws.require(__requires__)
gns3server[12081]:   File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 943, in require
gns3server[12081]:     needed = self.resolve(parse_requirements(requirements))
gns3server[12081]:   File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 829, in resolve
gns3server[12081]:     raise DistributionNotFound(req, requirers)
gns3server[12081]: pkg_resources.DistributionNotFound: The 'async_timeout' distribution was not found and is required by aiohttp
systemd[1]: gns3.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: gns3.service: Unit entered failed state.
systemd[1]: gns3.service: Failed with result 'exit-code'.


Please fix it... Aiohttp suffers also of https://bugzilla.redhat.com/show_bug.cgi?id=1381750, so GNS3 is impossible to use.....

Comment 1 Toshio Ernie Kuratomi 2016-11-06 22:00:08 UTC
This prevents other usage of aiohttp as well, not just usage by packages which use pkg_resources:

In [1]: import aiohttp
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-6b0f4dd1af9d> in <module>()
----> 1 import aiohttp

/usr/lib64/python3.5/site-packages/aiohttp/__init__.py in <module>()
      8 from multidict import *  # noqa
      9 from . import hdrs  # noqa
---> 10 from .protocol import *  # noqa
     11 from .connector import *  # noqa
     12 from .client import *  # noqa

/usr/lib64/python3.5/site-packages/aiohttp/protocol.py in <module>()
     16 
     17 from . import errors, hdrs
---> 18 from .helpers import reify
     19 from .log import internal_logger
     20 

/usr/lib64/python3.5/site-packages/aiohttp/helpers.py in <module>()
     14 from urllib.parse import quote, urlencode
     15 
---> 16 from async_timeout import timeout
     17 from multidict import MultiDict, MultiDictProxy
     18 

ImportError: No module named 'async_timeout'

Comment 2 Othman Madjoudj 2016-11-11 13:32:47 UTC
Please review the missing dep RHBZ#1394250.

Comment 3 Fedora Update System 2017-01-01 15:30:41 UTC
python-aiohttp-1.0.5-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7a025928fb

Comment 4 Fedora Update System 2017-01-01 15:30:50 UTC
python-aiohttp-1.0.5-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff2b21f70a

Comment 5 Fedora Update System 2017-01-02 01:20:28 UTC
python-aiohttp-1.0.5-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ff2b21f70a

Comment 6 Fedora Update System 2017-01-02 01:51:02 UTC
python-aiohttp-1.0.5-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7a025928fb

Comment 7 Fedora Update System 2017-01-03 20:23:16 UTC
python-aiohttp-1.0.5-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-01-10 08:19:15 UTC
python-aiohttp-1.0.5-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.