#1542 Replace urllib.request with requests library
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue1530  into  master

Download 1542.patch

Update of #294
Depends on #1185 (request-mock inclusion)

:thumbsup:

ping @breilly @julian8628

rebased onto 5b9ef98428597d49fc2701936012cfda319fd271

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

:thumbsup:

Do we already include requests as a dependency in setup.py and the rpm spec?

Yes, it is in both.

:thumbsup:

Commit f2774d50 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

context manager:

with request.get(url) as resp:
    pass

is not supported on EL7
- RHEL7: 2.6.0
- EPEL7: 2.3.0

See also https://pagure.io/releng/issue/9226

Metadata