Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703166 - net-misc/youtube-dl-2019.11.28 - add PYTHON_COMPAT=python3_8
Summary: net-misc/youtube-dl-2019.11.28 - add PYTHON_COMPAT=python3_8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python3.8-compat
  Show dependency tree
 
Reported: 2019-12-17 03:08 UTC by Jason Chan
Modified: 2019-12-28 14:44 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 Jason Chan 2019-12-17 03:08:25 UTC
Issue: net-misc/youtube-dl-2019.11.28 supports Python 3.8 but it is not included in the ebuild.

 - Solution: Add python3_8 to PYTHON_COMPAT.

Source: https://pypi.org/project/youtube_dl/

Python 3.8 works fine with youtube-dl and according to their PyPi repo page it is confirmed. I've accidentally passed the....tests and it is working for me.


```
--- a/youtube-dl-2019.11.28-r1.ebuild
+++ b/youtube-dl-2019.11.28-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7})
+PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7,3_8})
 inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
 
 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
```

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-28 12:11:54 UTC
commit 34a7529338bb3463fff8bf846c74e29cdff3e68a
Author: Jeroen Roovers <jer@gentoo.org>
Date:   Wed Dec 25 12:37:17 2019 +0100

    net-misc/youtube-dl: Version 2019.12.25

    Package-Manager: Portage-2.3.83, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/703168
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>