[Bug 1195316] New: matrix-synapse 1.50.2-1.1 does not start because of missing python38-prometheus-client dep
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 Bug ID: 1195316 Summary: matrix-synapse 1.50.2-1.1 does not start because of missing python38-prometheus-client dep Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: opensuse@arnavion.dev QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- With matrix-synapse from tumbleweed OSS repo, trying to start it results in: ERROR:root:Needed prometheus_client>=0.4.0 but it was not installed Missing Requirements: "prometheus_client>=0.4.0" To install run: pip install --upgrade --force "prometheus_client>=0.4.0" Package python38-prometheus-client was not installed because it's not in the required deps: $ zypper info --requires matrix-synapse ... Requires : [44] /bin/bash /usr/bin/python3 /usr/bin/perl python(abi) = 3.8 python38-base = 3.8.12 python38-Pillow = 8.4.0 python38-lxml = 4.7.1 python38-Authlib = 0.15.5 python38-Jinja2 = 3.0.3 python38-PyJWT = 2.3.0 python38-PyNaCl = 1.5.0 python38-PyYAML = 6.0 python38-Pympler = 1.0 python38-Twisted = 21.7.0 python38-attrs = 21.4.0 python38-bcrypt = 3.2.0 python38-bleach = 3.3.0 python38-canonicaljson = 1.5.0 python38-cryptography = 36.0.1 python38-frozendict = 2.1.3 python38-idna = 3.3 python38-ijson = 3.1.4 python38-jsonschema = 3.2.0 python38-matrix_common = 1.0.0 python38-msgpack = 1.0.3 python38-netaddr = 0.8.0 python38-phonenumbers = 8.12.40 python38-psutil = 5.9.0 python38-psycopg2 = 2.9.3 python38-pyOpenSSL = 21.0.0 python38-pyasn1 = 0.4.8 python38-pyasn1-modules = 0.2.8 python38-pymacaroons = 0.13.0 python38-pysaml2 = 7.0.1 python38-service_identity = 18.1.0 python38-signedjson = 1.1.1 python38-six = 1.16.0 python38-sortedcontainers = 2.4.0 python38-systemd = 234 python38-treq = 21.1.0 python38-typing_extensions = 3.10.0.2 python38-unpaddedbase64 = 1.1.0 /bin/sh sysuser-shadow >= 3.1 This is because the specfile references %{use_python}-prometheus_client (underscore instead of hyphen). I verified that changing to hyphen fixed it for me in TW, and I sent https://build.opensuse.org/request/show/949812 for it. It looks like this package went back-and-forth between underscores and hyphens. Factory currently has hyphen, 15.3 has underscore, and 15.2 has both (?!) So like I noted in the request, I'm not sure if Factory's specfile can just use hyphen always, or if it needs to do something like this: %if 0%{?suse_version} >= 1550 BuildRequires: %{use_python}-prometheus-client >= 0.4.0 %requires_eq %{use_python}-prometheus-client %else BuildRequires: %{use_python}-prometheus_client >= 0.4.0 %requires_eq %{use_python}-prometheus_client %endif -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 Arnav Singh <opensuse@arnavion.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asarai@suse.com, | |mrueckert@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c1 Marcus R�ckert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opensuse@arnavion.dev Flags| |needinfo?(opensuse@arnavion | |.dev) --- Comment #1 from Marcus R�ckert <mrueckert@suse.com> --- TBH the clean solution is to have a provides for the other version of the name in the package both both work. and that provides does already exist. rpm -qp --provides python38-prometheus-client-0.13.0-1.1.noarch.rpm python3-prometheus-client = 0.13.0-1.1 python3-prometheus_client = 0.13.0-1.1 python3.8dist(prometheus-client) = 0.13 python38-prometheus-client = 0.13.0-1.1 python38-prometheus_client = 0.13.0-1.1 python3dist(prometheus-client) = 0.13 so my question would be rather: why does your zypper not see this provides and installs the package? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c2 Marcus R�ckert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(opensuse@arnavion | |.dev) | --- Comment #2 from Marcus R�ckert <mrueckert@suse.com> --- aha ... problem is that %requires_eq does not see it because it is not a matching package name. *sigh* we only need that %if around the %requires_eq part. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c3 Marcus R�ckert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Marcus R�ckert <mrueckert@suse.com> --- https://build.opensuse.org/request/show/950937 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c4 Arnav Singh <opensuse@arnavion.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Arnav Singh <opensuse@arnavion.dev> --- The request with the fix hasn't been merged for almost a week now, so let's keep this open until it's merged. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c5 Arnav Singh <opensuse@arnavion.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Arnav Singh <opensuse@arnavion.dev> --- Now merged. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195316 http://bugzilla.opensuse.org/show_bug.cgi?id=1195316#c6 --- Comment #6 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1195316) was mentioned in https://build.opensuse.org/request/show/1037916 Backports:SLE-15-SP4 / matrix-synapse -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com