Bug 255034 - security/py-certbot-dns-rfc2136: change dependency from dns/py-dnspython to dns/py-dnspython2
Summary: security/py-certbot-dns-rfc2136: change dependency from dns/py-dnspython to d...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-04-13 12:54 UTC by Ralf van der Enden
Modified: 2021-04-13 23:58 UTC (History)
4 users (show)

See Also:
dbaio: maintainer-feedback? (python)


Attachments
Update dnspython dependency to dns/py-dnspython2 (898 bytes, patch)
2021-04-13 12:54 UTC, Ralf van der Enden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2021-04-13 12:54:43 UTC
Created attachment 224081 [details]
Update dnspython dependency to dns/py-dnspython2

After upgrading my python from 3.8 to 3.9(.4), certbot (with the dns-rfc2136 plugin) failed to run. This was caused by the fact that dnspython 1.3.6 uses some deprecated functions, which are removed in python 3.9+

Since version 2.0.0 of dnspython (which lives under dns/py-dnspython2) it is fully compatible with python 3.6+ and fixes the issue.
Comment 1 Danilo G. Baio freebsd_committer 2021-04-13 23:58:48 UTC
Thanks for the patch.

We can have many conflicts here.

dns/py-dnspython is currently needed for:
  databases/py-mysql-connector-python
  deskutils/calibre
  dns/dnsrecon
  dns/dnsviz
  dns/knock
  dns/py-easyzone
  dns/py-localzone
  dns/py-namebench
  finance/electrum
  mail/mailman
  mail/mailman-exim4
  mail/mailman-postfix
  mail/mailman3
  mail/py-authheaders
  mail/py-dkimpy
  mail/py-email-validator
  mail/py-pyspf
  net/py-eventlet
  net/samba411
  net/samba412
  net/samba413
  net-mgmt/py-ciscoconfparse
  net-mgmt/py-dnsdiag
  ports-mgmt/fastest_pkg
  security/py-certbot-dns-rfc2136
  sysutils/iocage
  sysutils/iocage-devel

dns/py-dnspython2 is currently needed for:
  devel/py-aioice
  mail/py-mailsuite
  www/web2ldap

My suggestion is investigate all consumers if they work with dns/py-dnspython2 and update all together.