interesting dependency problem
Hi, I ran into a fun dependency problem while preparing an update for syslog-ng. Version 4.0 of syslog-ng includes a few Python scripts to work with Kubernetes log messages. First I prepared syslog-ng 4.0 packages in my home project and there python3-charset-normalizer seem to be available in all still supported distros: https://build.opensuse.org/package/show/home:czanik:syslog-ng-githead/syslog... Then I branched syslog-ng from Base:System and prepared an updated spec file. However, python3-charset-normalizer seems to be missing here for Leap / SLES, only available for Factory / Tumbleweed: https://build.opensuse.org/package/show/home:czanik:branches:Base:System/sys... When searching for it on my Leap 15.4 desktop, it seems to be available: leap154b:~/home:czanik:branches:Base:System/syslog-ng # zypper se python3-charset-normalizer Loading repository data... Reading installed packages... S | Name | Summary | Type --+----------------------------+-----------------------------------+-------- | python3-charset-normalizer | Python Universal Charset detector | package Obviously, my goal is to have syslog-ng 4.0 available in the next openSUSE Leap release. Will I be able to do that? Or python3-charset-normalizer is really missing from Leap? Peter
hi Petr, On Wed, 2023-01-11 at 13:50 +0100, Peter Czanik wrote:
Hi,
I ran into a fun dependency problem while preparing an update for syslog-ng. Version 4.0 of syslog-ng includes a few Python scripts to work with Kubernetes log messages. First I prepared syslog-ng 4.0 packages in my home project and there python3-charset-normalizer seem to be available in all still supported distros: https://build.opensuse.org/package/show/home:czanik:syslog-ng-githead/syslog...
Then I branched syslog-ng from Base:System and prepared an updated spec file. However, python3-charset-normalizer seems to be missing here for Leap / SLES, only available for Factory / Tumbleweed: https://build.opensuse.org/package/show/home:czanik:branches:Base:System/sys...
In short: Base:System is only (somewhat) reliable as an openSUSE:Factory (Tumbleweed) target. And even for this usecase it's a mess. The description of the project contains: """ This is the Base:System devel project. Its main purpose is to serve as development project for packages around the topic of the system base in the openSUSE:Factory distribution. If you want to participate you can contact us individually or use our mailinglist opensuse-factory@opensuse.org. Please report bugs to the respective bugowners as set. Warning: This is not a backports project! Installing the packages here on an old distribution may cause severe breakage! DO NOT ENABLE BUILDING FOR OLD DISTROS! """
When searching for it on my Leap 15.4 desktop, it seems to be available:
leap154b:~/home:czanik:branches:Base:System/syslog-ng # zypper se python3-charset-normalizer Loading repository data... Reading installed packages...
S | Name | Summary | Type --+----------------------------+-----------------------------------+-------- | python3-charset-normalizer | Python Universal Charset detector | package
Obviously, my goal is to have syslog-ng 4.0 available in the next openSUSE Leap release. Will I be able to do that? Or python3-charset-normalizer is really missing from Leap?
A bit more detailed than above: Base:System 'only' builds against SLE-15-SPx, not the 'actual' Leap 15.4 (or SLE + PackageHub) and as such is very limited in what it provides. openSUSE:Backports:SLE-15-SP5 (aka PackageHub 15SP5 contains python- charset-normalizer. As Leap 15.5 will be an aggregation of SLE15SP5 and PackageHub (Backports) 15SP5, you can safelyu assume that this will be present in Leap 15.5. Hope this helps, Dominique
participants (2)
-
Dominique Leuenberger / DimStar
-
Peter Czanik