-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation with pipenv of certbot certbot-dns-powerdns failed #30
Comments
Same here on Fedora 39, but this trick worked for me: [root@certbot ~]# pip install certbot-dns-powerdns --no-build-isolation pyyaml==6.0
Collecting certbot-dns-powerdns
Using cached certbot-dns-powerdns-0.2.1.tar.gz (5.3 kB)
Preparing metadata (setup.py) ... done
Collecting pyyaml==6.0
Downloading PyYAML-6.0.tar.gz (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 3.5 MB/s eta 0:00:00
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: acme>=0.31.0 in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.9.0)
Requirement already satisfied: certbot>=0.31.0 in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.9.0)
Collecting dns-lexicon<=3.5.6,>=3.2.4 (from certbot-dns-powerdns)
Using cached dns_lexicon-3.5.6-py3-none-any.whl (259 kB)
Requirement already satisfied: dnspython in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.4.2)
Collecting mock (from certbot-dns-powerdns)
Obtaining dependency information for mock from https://files.pythonhosted.org/packages/6b/20/471f41173930550f279ccb65596a5ac19b9ac974a8d93679bcd3e0c31498/mock-5.1.0-py3-none-any.whl.metadata
Using cached mock-5.1.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (67.7.2)
Collecting zope.interface (from certbot-dns-powerdns)
Obtaining dependency information for zope.interface from https://files.pythonhosted.org/packages/6c/cc/6832d4d342169af64eae6d371fab47405a0d156247e95ed85fdb98cad762/zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (41 kB)
Requirement already satisfied: requests in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.28.2)
Requirement already satisfied: cryptography>=3.2.1 in /usr/lib64/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (41.0.7)
Requirement already satisfied: josepy>=1.13.0 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (1.13.0)
Requirement already satisfied: PyOpenSSL!=23.1.0,>=17.5.0 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (23.2.0)
Requirement already satisfied: pyrfc3339 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (1.1)
Requirement already satisfied: pytz>=2019.3 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (2024.1)
Requirement already satisfied: ConfigArgParse>=1.5.3 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.7)
Requirement already satisfied: configobj>=5.0.6 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (5.0.8)
Requirement already satisfied: distro>=1.0.1 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.8.0)
Requirement already satisfied: parsedatetime>=2.4 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (2.6)
Requirement already satisfied: beautifulsoup4<5,>=4 in /usr/lib/python3.12/site-packages (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (4.12.3)
Collecting cryptography>=3.2.1 (from acme>=0.31.0->certbot-dns-powerdns)
Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting future<1,>=0 (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns)
Using cached future-0.18.3.tar.gz (840 kB)
Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of dns-lexicon to determine which version is compatible with other requirements. This could take a while.
Collecting dns-lexicon<=3.5.6,>=3.2.4 (from certbot-dns-powerdns)
Downloading dns_lexicon-3.5.5-py3-none-any.whl (259 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 259.7/259.7 kB 13.9 MB/s eta 0:00:00
Downloading dns_lexicon-3.5.4-py3-none-any.whl (253 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.3/253.3 kB 30.9 MB/s eta 0:00:00
Downloading dns_lexicon-3.5.3-py3-none-any.whl (253 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.2/253.2 kB 32.3 MB/s eta 0:00:00
Downloading dns_lexicon-3.5.2-py3-none-any.whl (253 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.1/253.1 kB 32.1 MB/s eta 0:00:00
Downloading dns_lexicon-3.5.1-py3-none-any.whl (253 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.1/253.1 kB 28.6 MB/s eta 0:00:00
Downloading dns_lexicon-3.5.0-py3-none-any.whl (248 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.6/248.6 kB 26.5 MB/s eta 0:00:00
Downloading dns_lexicon-3.4.5-py3-none-any.whl (249 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.3/249.3 kB 26.2 MB/s eta 0:00:00
INFO: pip is still looking at multiple versions of dns-lexicon to determine which version is compatible with other requirements. This could take a while.
Downloading dns_lexicon-3.4.4-py3-none-any.whl (248 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.7/248.7 kB 30.1 MB/s eta 0:00:00
Downloading dns_lexicon-3.4.3-py3-none-any.whl (248 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.7/248.7 kB 30.8 MB/s eta 0:00:00
Downloading dns_lexicon-3.4.2-py3-none-any.whl (248 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.6/248.6 kB 27.7 MB/s eta 0:00:00
Collecting future (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns)
Obtaining dependency information for future from https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: tldextract in /usr/lib/python3.12/site-packages (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (3.5.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (1.26.18)
Requirement already satisfied: six in /usr/lib/python3.12/site-packages (from configobj>=5.0.6->certbot>=0.31.0->certbot-dns-powerdns) (1.16.0)
Requirement already satisfied: cffi>=1.12 in /usr/lib64/python3.12/site-packages (from cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (1.15.1)
Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.12/site-packages (from beautifulsoup4<5,>=4->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (2.5)
Requirement already satisfied: requests-file>=1.4 in /usr/lib/python3.12/site-packages (from tldextract->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (1.5.1)
Requirement already satisfied: filelock>=3.0.8 in /usr/lib/python3.12/site-packages (from tldextract->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (3.12.2)
Requirement already satisfied: pycparser in /usr/lib/python3.12/site-packages (from cffi>=1.12->cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.12/site-packages (from pycparser->cffi>=1.12->cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (3.11)
Downloading mock-5.1.0-py3-none-any.whl (30 kB)
Downloading zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.3/255.3 kB 8.9 MB/s eta 0:00:00
Downloading future-1.0.0-py3-none-any.whl (491 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 32.1 MB/s eta 0:00:00
Building wheels for collected packages: pyyaml, certbot-dns-powerdns
Building wheel for pyyaml (pyproject.toml) ... done
Created wheel for pyyaml: filename=PyYAML-6.0-cp312-cp312-linux_x86_64.whl size=45330 sha256=5adfefab41fd609678e16367e97d3e0e9061689a0343bd833d539686a68052f2
Stored in directory: /root/.cache/pip/wheels/95/98/10/7570ceeb5c16c08b2896dedd9bc27480063cdbdb4213d2915f
Building wheel for certbot-dns-powerdns (setup.py) ... done
Created wheel for certbot-dns-powerdns: filename=certbot_dns_powerdns-0.2.1-py2.py3-none-any.whl size=5831 sha256=21929f6488efb78573eabfe16a0fd79583be866973486c56fc2b461f7d859e99
Stored in directory: /root/.cache/pip/wheels/9b/6a/37/b9cb90edfee11f549d906944483f47ee7a3cc23175b929c604
Successfully built pyyaml certbot-dns-powerdns
Installing collected packages: zope.interface, pyyaml, mock, future, dns-lexicon, certbot-dns-powerdns
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
certbot-dns-ovh 2.9.0 requires dns-lexicon>=3.15.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-dnsimple 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-gehirn 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-sakuracloud 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-dnsmadeeasy 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-linode 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-luadns 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-nsone 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
Successfully installed certbot-dns-powerdns-0.2.1 dns-lexicon-3.4.2 future-1.0.0 mock-5.1.0 pyyaml-6.0 zope.interface-6.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [root@certbot ~]# pip list|grep cert
certbot 2.9.0
certbot-apache 2.9.0
certbot-dns-cloudflare 2.9.0
certbot-dns-digitalocean 2.9.0
certbot-dns-dnsimple 2.9.0
certbot-dns-dnsmadeeasy 2.9.0
certbot-dns-gehirn 2.9.0
certbot-dns-google 2.9.0
certbot-dns-linode 2.9.0
certbot-dns-luadns 2.9.0
certbot-dns-nsone 2.9.0
certbot-dns-ovh 2.9.0
certbot-dns-plesk 0.3.0
certbot-dns-powerdns 0.2.1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
certbot-dns-rfc2136 2.9.0
certbot-dns-route53 2.9.0
certbot-dns-sakuracloud 2.9.0
certbot-nginx 2.9.0 Omit python3 -s parameter, so python can find plugins installed from pip: $ diff /usr/bin/certbot /usr/bin/certbot.original
1c1
< #! /usr/bin/python3 -P
---
> #! /usr/bin/python3 -sP [root@certbot ~]# certbot plugins
* dns-powerdns
Description: Obtain certificates using a DNS TXT record (if you are using
PowerDNS for DNS.)
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='dns-powerdns',
value='certbot_dns_powerdns.dns_powerdns:Authenticator',
group='certbot.plugins')
```console
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using Python 3.11.4, I got an error while installing certbot-dns-powerdns.
The fix was to uninstall pyyaml-5.4.1 and install pyyaml-5.3.1 in the virtual environment.
The text was updated successfully, but these errors were encountered: