Bug 2101749
| Summary: | F37FailsToInstall: python3-onionbalance | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-onionbalance | Assignee: | Marcel Haerry <mh> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jortialc, mh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-30 20:06:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2045109 | ||
|
Description
Miro Hrončok
2022-06-28 10:01:23 UTC
That happens because this commit https://src.fedoraproject.org/rpms/python-stem/c/ff4bd9cac50f4ad9ee46f99db65e56c026c68523?branch=rawhide downgraded from 1.8 to 1.8dev0 and in Python 1.8dev0 < 1.8. This could be fixed by either relaxing the dependency in onionbalance to be >= 1.8dev0 or by changing stem from 1.8dev0 to 1.8postX or 1.8.0.1dev0. Hi Miro, I've used a caret '^' in stem as indicated in the guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots The snapshot version is ordered after version 1.8: $ rpmdev-vercmp 1.8 1.8.0^20220627git4e3917c 1.8 < 1.8.0^20220627git4e3917c But I'm not sure why it generates this provides: python3.11dist(stem) = 1.8~~dev0 Is that expected? (In reply to Juan Orti from comment #2) > Hi Miro, > > I've used a caret '^' in stem as indicated in the guidelines: > https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/ > #_snapshots > > The snapshot version is ordered after version 1.8: > > $ rpmdev-vercmp 1.8 1.8.0^20220627git4e3917c > 1.8 < 1.8.0^20220627git4e3917c That is all well done, thanks. > But I'm not sure why it generates this provides: > > python3.11dist(stem) = 1.8~~dev0 > > Is that expected? This is generated from upstream metadata and is not at all determined by the RPM %{version} tag. It comes from here: https://github.com/torproject/stem/blob/4e3917c8651e87e78e7e1ae9fcd9bb5367dee360/setup.py#L153 i.e. from here: https://github.com/torproject/stem/blob/4e3917c8651e87e78e7e1ae9fcd9bb5367dee360/stem/__init__.py#L521 1.8.0-dev is nromalized to 1.8dev0 (i-e- it means the same thing in Python) and both are strictly lower than 1.8. This was a de-facto downgrade: https://github.com/torproject/stem/commit/4fd458d4debf2444023de9f745ce726f84da79cf Consider talking to upstream to use 1.8.1-dev instead -- the development version of not yet released 1.8.1. In upstream terms: If you install from their git HEAD and then pip upgrade, you'll get the higher but older version from PyPI. Got it, thanks for the explanation. I've asked upstream to bump up the version number: https://github.com/torproject/stem/issues/123 Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37. Thanks for taking care of it! |