pan-net-security / certbot-dns-powerdns

PowerDNS DNS Authenticator plugin for Certbot
25 stars 16 forks source link

Plugin can not be installed due to deprecated dependencies #25

Open k0ka opened 1 year ago

k0ka commented 1 year ago

Here is output from pip install certbot-dns-powerdns:

``` Collecting certbot-dns-powerdns Downloading certbot-dns-powerdns-0.2.1.tar.gz (5.3 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: acme>=0.31.0 in ./src/acme (from certbot-dns-powerdns) (2.6.0) Requirement already satisfied: certbot>=0.31.0 in ./src/certbot (from certbot-dns-powerdns) (2.6.0) Collecting dns-lexicon<=3.5.6,>=3.2.4 Downloading dns_lexicon-3.5.6-py3-none-any.whl (259 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 260.0/260.0 kB 2.4 MB/s eta 0:00:00 Collecting dnspython Downloading dnspython-2.4.2-py3-none-any.whl (300 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.4/300.4 kB 4.3 MB/s eta 0:00:00 Collecting mock Downloading mock-5.1.0-py3-none-any.whl (30 kB) Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from certbot-dns-powerdns) (67.4.0) Collecting zope.interface Downloading zope.interface-6.0.tar.gz (246 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.3/246.3 kB 5.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from certbot-dns-powerdns) (2.28.2) Requirement already satisfied: cryptography>=3.2.1 in /usr/local/lib/python3.10/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (40.0.1) Requirement already satisfied: josepy>=1.13.0 in /usr/local/lib/python3.10/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/local/lib/python3.10/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (23.1.1) Requirement already satisfied: pyrfc3339 in /usr/local/lib/python3.10/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (1.1) Requirement already satisfied: pytz>=2019.3 in /usr/local/lib/python3.10/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (2023.3) Requirement already satisfied: ConfigArgParse>=0.9.3 in /usr/local/lib/python3.10/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.5.3) Requirement already satisfied: configobj>=5.0.6 in /usr/local/lib/python3.10/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (5.0.8) Requirement already satisfied: distro>=1.0.1 in /usr/local/lib/python3.10/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.8.0) Requirement already satisfied: parsedatetime>=2.4 in /usr/local/lib/python3.10/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (2.6) Collecting beautifulsoup4<5,>=4 Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 1.9 MB/s eta 0:00:00 Collecting tldextract<4,>=2 Downloading tldextract-3.4.4-py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 1.2 MB/s eta 0:00:00 Collecting pyyaml<6,>=5 Downloading PyYAML-5.4.1.tar.gz (175 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 1.7 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [62 lines of output] /tmp/pip-build-env-ktjrq3ol/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! ```

There is a fork which has dependencies updated. Could you merge it here? https://github.com/DaAllexx/certbot-dns-powerdns/commit/0a2fc1223d1fe4e523151fa7c71cb5dcd6de5e96

dblanque commented 1 year ago

I can corroborate I had this same issue. Solved it temporarily by using/pre-installing PyYAML 5.3.1 instead.