Date: Fri, 15 Jul 2022 15:37:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265237] mail/pyzor: Crash on iteritems() on Python 3.9 Message-ID: <bug-265237-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265237 Bug ID: 265237 Summary: mail/pyzor: Crash on iteritems() on Python 3.9 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dbaio@freebsd.org Reporter: swig.morning0d@icloud.com Assignee: dbaio@freebsd.org Flags: maintainer-feedback?(dbaio@freebsd.org) The pyzor command in the py39-pyzor-1.0.0_1 package crashes because dicts no longer have an iteritems() method: % pyzor ping Traceback (most recent call last): File "/usr/local/bin/pyzor", line 432, in <module> main() File "/usr/local/bin/pyzor", line 131, in main config, options, args =3D load_configuration() File "/usr/local/bin/pyzor", line 113, in load_configuration for key, value in defaults.iteritems(): AttributeError: 'dict' object has no attribute 'iteritems' I can see they fixed this Python 2/3 problem in 2016 upstream: =20=20=20 https://github.com/SpamExperts/pyzor/commit/7afe0aedc320dd2689bfbf45e97fdb0= 9adb89686 I understand that upstream hasn't released anything since 2014, and there's= not much you can do about that. I just wanted to let you know that the port is broken as is. I'm testing this in a jail on TrueNAS, but I don't believe that is related. % uname -a FreeBSD mail.home.2pi.dk 13.1-RELEASE FreeBSD 13.1-RELEASE n245376-eba770b3= 0ff TRUENAS amd64 % python3.9 -V Python 3.9.13 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265237-7788>