Created attachment 232136 [details] deprecate-py-django-happenings-update.patch Hi, attached is the patch that deprecates www/py-django-happenings-update and set an expiration date for it. Django 2.2 will become EoL in April 2022 and the port isn't compatible with newer versions of Django. If one tries to load the package with Django 3.2 the following error is emitted: > File "/usr/local/lib/python3.8/site-packages/happenings/models.py", line 15, in <module> > from django.utils.encoding import python_2_unicode_compatible > ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/usr/local> /lib/python3.8/site-packages/django/utils/encoding.py) The upstream repository also seems to be abandoned as there has been no update since 2018.
Comment on attachment 232136 [details] deprecate-py-django-happenings-update.patch Makes sense - thanks
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b6724a9de622ca4e67273a88ac022636c1e5ac9 commit 8b6724a9de622ca4e67273a88ac022636c1e5ac9 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-03-05 08:33:36 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-03-05 08:33:36 +0000 www/py-django-happenings-update: Deprecate and set to expire * Django 2.2 will become EoL in April 2022 and the port isn't compatible with newer versions of Django. * The upstream repository also seems to be abandoned as there has been no update since 2018. PR: 262226 Approved by: Kevin Golding (maintainer) www/py-django-happenings-update/Makefile | 3 +++ 1 file changed, 3 insertions(+)
(In reply to Kevin Golding from comment #1) Committed, thank you for your quick review and approval!