Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756967 - dev-python/aiohttp-3.7.1: should depend on >=dev-python/typing-extensions-3.6.5
Summary: dev-python/aiohttp-3.7.1: should depend on >=dev-python/typing-extensions-3.6.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-26 22:07 UTC by Alfred Wingate
Modified: 2020-11-26 23:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,6.18 KB, text/plain)
2020-11-26 22:07 UTC, Alfred Wingate
Details
Error message from mirage (mirage-error.txt,3.50 KB, text/plain)
2020-11-26 22:09 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2020-11-26 22:07:47 UTC
Created attachment 675199 [details]
emerge --info

dev-python/aiohttp is missing a dependency dev-python/typing-extension. Upstreams setup.py lists it as a dependency and it imports it in helpers.py, locks.py, streams.py, tracing.py and web_urldispatcher.py.

This should affect versions 3.6.2 and 3.7.2 as well, as their setup.py lists typing_extensions as well.

install_requires = [
    "attrs>=17.3.0",
    "chardet>=2.0,<4.0",
    "multidict>=4.5,<7.0",
    "async_timeout>=3.0,<4.0",
    "yarl>=1.0,<2.0",
    'idna-ssl>=1.0; python_version<"3.7"',
    "typing_extensions>=3.6.5",
]

https://github.com/aio-libs/aiohttp/blob/3.7/setup.py

This came up as an issue in a program called mirage, but it was fixed by installing the missing dependency.
Comment 1 Alfred Wingate 2020-11-26 22:09:12 UTC
Created attachment 675202 [details]
Error message from mirage
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-11-26 22:29:29 UTC
Indeed that's not the only wrong dep in the ebuild.  I'm working on it.
Comment 3 Larry the Git Cow gentoo-dev 2020-11-26 23:48:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c99242834fc0cc0dd9734446e2db112ee7c659

commit b3c99242834fc0cc0dd9734446e2db112ee7c659
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-26 23:33:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-26 23:48:36 +0000

    dev-python/aiohttp: Fix deps, tests and modernize
    
    Closes: https://bugs.gentoo.org/756967
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/aiohttp/aiohttp-3.7.1.ebuild | 27 +++++++++++++++------------
 dev-python/aiohttp/aiohttp-3.7.2.ebuild | 27 +++++++++++++++------------
 2 files changed, 30 insertions(+), 24 deletions(-)