certbot in edge requires py3-urllib version older than current
As of 4/29 in edge, ‘py3-urllib3’ is at version 1.25.1. The package ‘certbot’ requires a urllib3 version >= 1.21.1 and < 1.25, which means this update has broken certbot.
= OUTPUT
:~$ sudo apk add certbot
(1/33) Installing py3-setuptools (40.8.0-r1)
(2/33) Installing py3-cparser (2.19-r2)
(3/33) Installing py3-cffi (1.11.5-r4)
(4/33) Installing py3-idna (2.8-r1)
(5/33) Installing py3-asn1crypto (0.24.0-r1)
(6/33) Installing py3-six (1.12.0-r1)
(7/33) Installing py3-cryptography (2.6.1-r1)
(8/33) Installing py3-pbr (5.2.0-r0)
(9/33) Installing py3-mock (2.0.0-r4)
(10/33) Installing py3-openssl (19.0.0-r0)
(11/33) Installing py3-josepy (1.1.0-r1)
(12/33) Installing py3-tz (2018.9-r1)
(13/33) Installing py3-rfc3339 (1.1-r1)
(14/33) Installing py-requests (2.21.0-r2)
(15/33) Installing py3-chardet (3.0.4-r1)
(16/33) Installing py3-certifi (2019.3.9-r0)
(17/33) Installing py3-urllib3 (1.25.1-r0)
(18/33) Installing py3-requests (2.21.0-r2)
(19/33) Installing py3-requests-toolbelt (0.8.0-r1)
(20/33) Installing py3-acme (0.33.1-r1)
(21/33) Installing py3-argparse (1.4.0-r3)
(22/33) Installing py3-configargparse (0.14.0-r1)
(23/33) Installing py3-configobj (5.0.6-r4)
(24/33) Installing py3-future (0.17.1-r0)
(25/33) Installing py3-parsedatetime (2.4-r4)
(26/33) Installing py3-zope-interface (4.6.0-r1)
(27/33) Installing py3-zope-proxy (4.3.1-r1)
(28/33) Installing py3-zope-deferredimport (4.3-r1)
(29/33) Installing py3-zope-deprecation (4.4.0-r1)
(30/33) Installing py3-zope-event (4.4-r1)
(31/33) Installing py3-zope-hookable (4.2.0-r1)
(32/33) Installing py3-zope-component (4.5-r2)
(33/33) Installing certbot (0.33.1-r1)
Executing busybox-1.30.1-r1.trigger
OK: 204 MiB in 116 packages
:~$ sudo certbot
Traceback (most recent call last):
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
583, in _build_master
ws.require(requires)
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
900, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (urllib3 1.25.1
(/usr/lib/python3.7/site-packages),
Requirement.parse(‘urllib3<1.25,>=1.21.1’), {’requests’})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 6, in
from pkg_resources import load_entry_point
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
3191, in
@_call_aside
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
3175, in _call_aside
f(args,*kwargs)
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
585, in _build_master
return cls.build_from_requirements(requires_)
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File “/usr/lib/python3.7/site-packages/pkg_resources/init.py”, line
786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘urllib3<1.25,>=1.21.1’
distribution was not found and is required by requests
(from redmine: issue id 10378, created on 2019-04-29, closed on 2019-06-19)
- Changesets:
- Revision acca60d0 by prs pkt on 2019-05-01T06:43:11Z:
main/py-requests: upgrade support for urllib3 1.25
Fixes #10378