Bug 2467685

Summary: Dependency on pkg_resources
Product: [Fedora] Fedora Reporter: Stephen Finucane <stephenfin>
Component: git-reviewAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: davide, jcapitao, michel, zaitcev
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: git-review-2.5.0-2.el10_3 git-review-2.5.0-2.fc44 git-review-2.5.0-2.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-28 00:25:48 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:

Description Stephen Finucane 2026-05-07 11:03:31 UTC
The version of git-review packaged is quite old and does not include fixes to migrate from `pkg_resources` to `importlib.metadata`. Starting in Fedora 44, this causes warnings:

```
$ git review -d 123
/usr/lib/python3.14/site-packages/git_review/cmd.py:34: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
Downloading refs/changes/11/123/1 from gerrit
Switched to branch "review/foo/bar"
```

Reproducible: Always

Comment 1 Fedora Update System 2026-06-19 22:18:47 UTC
FEDORA-2026-df796e2684 (git-review-2.5.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-df796e2684

Comment 2 Fedora Update System 2026-06-19 22:18:47 UTC
FEDORA-2026-56def38072 (git-review-2.5.0-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-56def38072

Comment 3 Fedora Update System 2026-06-20 01:13:52 UTC
FEDORA-EPEL-2026-55ce0c54fc has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-55ce0c54fc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-06-20 01:16:21 UTC
FEDORA-2026-56def38072 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-56def38072`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-56def38072

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-06-20 01:39:43 UTC
FEDORA-2026-df796e2684 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-df796e2684`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-df796e2684

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-06-28 00:25:48 UTC
FEDORA-EPEL-2026-55ce0c54fc (git-review-2.5.0-2.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-06-28 00:57:56 UTC
FEDORA-2026-56def38072 (git-review-2.5.0-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-06-28 01:08:31 UTC
FEDORA-2026-df796e2684 (git-review-2.5.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.