Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750536 - media-video/yle-dl-20201019 should depend on Python 3.8 or higher
Summary: media-video/yle-dl-20201019 should depend on Python 3.8 or higher
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 09:29 UTC by Risto A. Paju
Modified: 2020-10-23 05:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Risto A. Paju 2020-10-21 09:29:31 UTC
media-video/yle-dl-20201019 fails with the following error:

AttributeError: module 'shlex' has no attribute 'join'

I have

PYTHON_SINGLE_TARGET="python3_7"
PYTHON_TARGETS="python2_7 python3_6 python3_7"

so this runs with Python 3.7 for me. However, the shlex module only has the join function starting with Python 3.8.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-22 07:15:55 UTC
The bug has been closed via the following commit(s):

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

commit eae0efb2d9d00f69e79b13d57e190c0fc543b7a4
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-10-22 06:37:21 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-10-22 07:15:47 +0000

    media-video/yle-dl: reverse shlex.join on 2020-10-19
    
     - shlex.join only works in >=python-3.8 and since our profile stable is still
       3.7, the program may crash during runtime on stable users.
    
    Closes: https://bugs.gentoo.org/750536
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/yle-dl-20201019-reverse-shlex.join.patch   | 20 ++++++++++++++++++++
 ...-dl-20201019.ebuild => yle-dl-20201019-r1.ebuild} |  2 ++
 2 files changed, 22 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2020-10-23 05:19:33 UTC
The bug has been referenced in the following commit(s):

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

commit 1a8b337c12c27456e8e01cef0cd7adf9391413fc
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-10-23 05:10:25 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-10-23 05:19:24 +0000

    media-video/yle-dl: bump to 2020-10-22
    
    Bug: https://bugs.gentoo.org/750536
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-video/yle-dl/Manifest               |  1 +
 media-video/yle-dl/yle-dl-20201022.ebuild | 55 +++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)