Bug 1622418

Summary: python-dns-lexicon should require python-cryptography
Product: [Fedora] Fedora EPEL Reporter: Daniel B <dani-rh>
Component: python-dns-lexiconAssignee: Eli Young <elyscape>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: elyscape
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-dns-lexicon-2.7.0-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-13 16:33:56 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:
Embargoed:

Description Daniel B 2018-08-27 07:09:26 UTC
Description of problem:

Since dns-lexicon 2.7.0, ff python-cryptography is not installed, execution failes with this error:

Traceback (most recent call last):
  File "/bin/lexicon", line 9, in <module>
    load_entry_point('dns-lexicon==2.7.0', 'console_scripts', 'lexicon')()
  File "/usr/lib/python2.7/site-packages/lexicon/__main__.py", line 123, in main
    parsed_args = MainParser().parse_args()
  File "/usr/lib/python2.7/site-packages/lexicon/__main__.py", line 58, in MainParser
    provider_module = importlib.import_module('lexicon.providers.' + provider)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/site-packages/lexicon/providers/googleclouddns.py", line 9, in <module>
    from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends

Even if we don't use the googleclouddns backend (I was using the gandi backend)

Version-Release number of selected component (if applicable):

CentOS 7 fully updated
python2-dns-lexicon-2.7.0-1

How reproducible:
Always

Steps to Reproduce:
1. Install python-dns-lexicon
2. Check python-cryptography is not installed (it's not pulled as dependency)
3. Try to run lexicon

Comment 1 Fedora Update System 2018-08-27 17:29:17 UTC
python-dns-lexicon-2.7.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-7e1a6e235a

Comment 2 Fedora Update System 2018-08-27 17:29:56 UTC
python-dns-lexicon-2.7.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-327e93f5d2

Comment 3 Fedora Update System 2018-08-27 17:30:41 UTC
python-dns-lexicon-2.7.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0574efb8ca

Comment 4 Fedora Update System 2018-08-28 10:51:24 UTC
python-dns-lexicon-2.7.0-2.fc28 has been pushed to the Fedora 28 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-2018-0574efb8ca

Comment 5 Fedora Update System 2018-08-28 11:15:23 UTC
python-dns-lexicon-2.7.0-2.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2018-7e1a6e235a

Comment 6 Fedora Update System 2018-08-28 11:39:20 UTC
python-dns-lexicon-2.7.0-2.fc27 has been pushed to the Fedora 27 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-2018-327e93f5d2

Comment 7 Fedora Update System 2018-09-06 02:31:35 UTC
python-dns-lexicon-2.7.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-09-06 03:09:59 UTC
python-dns-lexicon-2.7.0-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-09-13 16:33:56 UTC
python-dns-lexicon-2.7.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.