public inbox for [email protected]
help / color / mirror / Atom feedFrom: Denis Laxalde <[email protected]>
Subject: [PATCH 1/2] Add urllib3 and dns dependencies to python-etcd
Date: Wed, 16 Sep 2020 11:36:27 +0200
The package, installed without patroni, does not work because of missing
dependencies:
$ /usr/bin/python3.6 -m pydoc etcd
problem in etcd - ModuleNotFoundError: No module named 'dns'
then installing python36-dns:
$ /usr/bin/python3.6 -m pydoc etcd
problem in etcd - ModuleNotFoundError: No module named 'urllib3'
Looking upstream, python-etcd directly requires urllib3 and dns:
https://github.com/jplana/python-etcd/blob/0.4.5/setup.py#L11
---
rpm/redhat/master/common/python-etcd/master/python-etcd.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rpm/redhat/master/common/python-etcd/master/python-etcd.spec b/rpm/redhat/master/common/python-etcd/master/python-etcd.spec
index c24f688ab..b3e6aa270 100644
--- a/rpm/redhat/master/common/python-etcd/master/python-etcd.spec
+++ b/rpm/redhat/master/common/python-etcd/master/python-etcd.spec
@@ -22,10 +22,12 @@ ExclusiveArch: noarch %{ix86} x86_64 %{arm} aarch64 ppc64le s390x
BuildRequires: python36-mock
BuildRequires: python36-nose
BuildRequires: python36-pyOpenSSL
+Requires: python36-dns python36-urllib3
%else
BuildRequires: python3-mock
BuildRequires: python3-nose
BuildRequires: python3-pyOpenSSL
+Requires: python3-dns python3-urllib3
%endif
%description
--
2.20.1
--6kye3ydg5ivuysiz
Content-Type: text/x-patch;
name="0002-Move-urllib3-dependencies-to-patroni-base-package.patch";
charset=UTF-8
Content-Disposition: attachment;
filename="0002-Move-urllib3-dependencies-to-patroni-base-package.patch"
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [PATCH 1/2] Add urllib3 and dns dependencies to python-etcd
In-Reply-To: <no-message-id-704@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox