Bug 2467685 - Dependency on pkg_resources
Summary: Dependency on pkg_resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-review
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Davide Cavalca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-07 11:03 UTC by Stephen Finucane
Modified: 2026-06-28 01:08 UTC (History)
4 users (show)

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
Clone Of:
Environment:
Last Closed: 2026-06-28 00:25:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.