Overview

Request 1120155 accepted

- Rework Python build procedure [boo#1216467]

Loading...

Dominique Leuenberger's avatar

https://build.opensuse.org/projects/network:utilities/packages/yt-dlp/repositories/openSUSE_Factory/binaries/i586/python39-yt-dlp-2023.10.13-75.1.noarch.rpm

Careful there: the python39 package has a dependency on python3-* which in turn is python311;


Jan Engelhardt's avatar
author reviewer source maintainer

Well that's not nice of the python macros to just snatch deps from (main) and use it for %python_subpackage. How do I address that?


Luigi Baldoni's avatar

I don't suppose adding a mere Provides: python3-yt-dlp somewhere would help?


Dominique Leuenberger's avatar

No - python311-* by defintiion provides python3-* (as long as python3.11 is the default - the py3 symbol will move over time)

@danigm @mcepl - maybe you have a hint on how to avoid this cross-dependency between py-versions?


Daniel Garcia's avatar

Maybe this change will help here with the package: https://build.opensuse.org/request/show/1120736

With this change, the ffmpeg and python suggests are just part of the python3XX-yt-dlp packages, and the yt-dlp package just requires python3-yt-dlp that's provided by python311-yt-dlp.

The usage of the macro python_subpackage_only is documented here: https://github.com/openSUSE/python-rpm-macros#macros


Arnaud Mez's avatar

With latest update to snapshot 20231025 the issue with yt-dlp is fixed on my side, but I will look and check if there some stuffs causing problems and will update here!

Request History
Jan Engelhardt's avatar

jengelh created request

- Rework Python build procedure [boo#1216467]


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:21 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:21"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:21"


Wolfgang Engel's avatar

bigironman accepted review

Accepted review for by_group opensuse-review-team request 1120155 from user staging-bot


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:21 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:21 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:21 got accepted.

openSUSE Build Service is sponsored by