Bug 1632054 - git-fame requires python:argopt but doesn't prereq it to ensure it's installed.
Summary: git-fame requires python:argopt but doesn't prereq it to ensure it's installed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-fame
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-23 22:58 UTC by Valdis Kletnieks
Modified: 2020-07-13 01:38 UTC (History)
2 users (show)

Fixed In Version: git-fame-1.12.0-1.fc32 git-fame-1.12.0-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 01:16:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Valdis Kletnieks 2018-09-23 22:58:43 UTC
Description of problem:
[~] git fame src/cm
Traceback (most recent call last):
  File "/usr/libexec/git-core/git-fame", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argopt>=0.3.5' distribution was not found and is required by git-fame

I suspect testing of this was done on a system where somebody had done a 'pip install argopt' so it was available already.


Version-Release number of selected component (if applicable):
git-fame-1.5.0-1.fc30.noarch

How reproducible:
dnf install git-fame
git fame <path to a git directory>

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Valdis Kletnieks 2018-09-26 05:00:40 UTC
dnf update git-fame
Last metadata expiration check: 0:00:12 ago on Wed 26 Sep 2018 12:54:57 AM EDT.
Dependencies resolved.

 Problem: cannot install the best update candidate for package git-fame-1.5.0-1.fc30.noarch
  - nothing provides python3.7dist(argopt) >= 0.3.5 needed by git-fame-1.5.0-2.fc30.noarch


Hmm... half the fix, anyhow. :)

Comment 2 Ben Cotton 2019-08-13 16:55:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 3 Ben Cotton 2019-08-13 19:43:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 4 Fedora Update System 2020-07-04 16:23:22 UTC
FEDORA-2020-9eb818328a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9eb818328a

Comment 5 Fedora Update System 2020-07-05 02:13:23 UTC
FEDORA-2020-9eb818328a has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9eb818328a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9eb818328a

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

Comment 6 Fedora Update System 2020-07-05 03:01:42 UTC
FEDORA-2020-004b1e1df5 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-004b1e1df5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-004b1e1df5

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

Comment 7 Fedora Update System 2020-07-13 01:16:09 UTC
FEDORA-2020-004b1e1df5 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-07-13 01:38:33 UTC
FEDORA-2020-9eb818328a has been pushed to the Fedora 31 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.