Bug 1658247 - python2-mock is broken
Summary: python2-mock is broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mock
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Praveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-11 15:40 UTC by Simo Sorce
Modified: 2018-12-12 15:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-12 15:39:54 UTC


Attachments (Terms of Use)

Description Simo Sorce 2018-12-11 15:40:26 UTC
Description of problem:

$ python
>>> import mock
...
AttributeError: 'VersionInfo' object has no attribute 'semantic_version'


note that:
python3 mock works

VersionInfo comes from pbr.version, and it totally *has* semantic_version as a function, so I do not know what's going on in here ?

Comment 1 Simo Sorce 2018-12-12 15:39:54 UTC
Nevermind apparently at some point something pip installed in my $HOME/.local an old pbr package  :-(


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