Bug 262226 - www/py-django-happenings-update: Deprecate and set to expire
Summary: www/py-django-happenings-update: Deprecate and set to expire
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL: https://github.com/imposeren/django-h...
Keywords:
Depends on:
Blocks: 261313
  Show dependency treegraph
 
Reported: 2022-02-27 11:42 UTC by Kai Knoblich
Modified: 2022-03-05 08:41 UTC (History)
1 user (show)

See Also:
ports: maintainer-feedback+


Attachments
deprecate-py-django-happenings-update.patch (674 bytes, patch)
2022-02-27 11:42 UTC, Kai Knoblich
ports: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2022-02-27 11:42:55 UTC
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 1 Kevin Golding 2022-02-28 08:10:24 UTC
Comment on attachment 232136 [details]
deprecate-py-django-happenings-update.patch

Makes sense - thanks
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-05 08:36:28 UTC
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(+)
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2022-03-05 08:41:04 UTC
(In reply to Kevin Golding from comment #1)

Committed, thank you for your quick review and approval!