* Re: [PR PATCH] [Merged]: python3-acme: remove mock as dependency.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20034@inbox.vuxu.org>
@ 2020-03-14 7:34 ` xtraeme
0 siblings, 0 replies; only message in thread
From: xtraeme @ 2020-03-14 7:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
There's a merged pull request on the void-packages repository
python3-acme: remove mock as dependency.
https://github.com/void-linux/void-packages/pull/20034
Description:
`certbot renew` failed for me with
```
Traceback (most recent call last):
File "/usr/bin/certbot", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mock' distribution was not found and is required by acme
```
this patch fixes that for me. another solution would be to add `python3-mock` as dependency but since it's also patched out in `certbot` (see #17915) i thought this might be the way to go.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-14 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20034@inbox.vuxu.org>
2020-03-14 7:34 ` [PR PATCH] [Merged]: python3-acme: remove mock as dependency xtraeme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).