Bug 1294335

Summary: Missing dependency on python*-monotonic
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: python-fastenersAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: mrunge, rosser.bjr
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-fasteners-0.14.1-6.fc24 python-fasteners-0.14.1-6.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-15 18:41:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Use time.monotonic if available (Python3 > 3.2) none

Description Ville Skyttä 2015-12-27 09:07:46 UTC
Created attachment 1109787 [details]
Use time.monotonic if available (Python3 > 3.2)

$ rpm -q python3-fasteners
python3-fasteners-0.12.0-1.fc23.noarch

$ python3 -c "import fasteners"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.4/site-packages/fasteners/__init__.py", line 23, in <module>
    from fasteners.lock import locked  # noqa
  File "/usr/lib/python3.4/site-packages/fasteners/lock.py", line 24, in <module>
    from fasteners import _utils
  File "/usr/lib/python3.4/site-packages/fasteners/_utils.py", line 22, in <module>
    from monotonic import monotonic as now  # noqa
ImportError: No module named 'monotonic'

So, either a dependency on python-monotonic/python3-monotonic is needed. For python 3, given that no active Fedora versions have Python3 < 3.3, the attached patch would suffice (no need for the python3-monotonic dependency with it).

Rawhide is also affected.

Comment 1 Ben Rosser 2016-08-28 20:32:37 UTC
This appears to still be an issue, any chance of a fix?

Comment 2 Fedora Update System 2016-08-29 07:10:29 UTC
python-fasteners-0.14.1-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3688c196e1

Comment 3 Matthias Runge 2016-08-29 07:11:19 UTC
Oops. I'm sorry here. Just submitted an update

Comment 4 Fedora Update System 2016-08-29 22:53:12 UTC
python-fasteners-0.14.1-6.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3688c196e1

Comment 5 Fedora Update System 2016-09-06 06:51:13 UTC
python-fasteners-0.14.1-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba80f301a5

Comment 6 Fedora Update System 2016-09-06 22:23:28 UTC
python-fasteners-0.14.1-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-09-07 03:21:37 UTC
python-fasteners-0.14.1-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba80f301a5

Comment 8 Fedora Update System 2016-09-15 18:41:09 UTC
python-fasteners-0.14.1-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.