Bug 262403 - www/py-django-bulk-update: Deprecate and set to expire
Summary: www/py-django-bulk-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:
Keywords:
Depends on:
Blocks: 261313
  Show dependency treegraph
 
Reported: 2022-03-07 17:59 UTC by Kai Knoblich
Modified: 2022-03-08 06:57 UTC (History)
1 user (show)

See Also:
sunpoet: maintainer-feedback+


Attachments
deprecate-py-django-bulk-update.patch (514 bytes, patch)
2022-03-07 17:59 UTC, Kai Knoblich
kai: 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-03-07 17:59:20 UTC
Created attachment 232305 [details]
deprecate-py-django-bulk-update.patch

Hi Sunpoet,

attached is the patch that deprecates www/py-django-bulk-update and sets an expiration date for it.

The test suite fails (Django 2.2 and 3.2) with:

>   File "/wrkdirs/usr/ports/www/py-django-bulk-update/work-py38/django-bulk-update-2.2.0/tests/models.py", line 13, in <module>
>     class Person(models.Model):
>   File "/wrkdirs/usr/ports/www/py-django-bulk-update/work-py38/django-bulk-update-2.2.0/tests/models.py", line 17, in Person
>     role = models.ForeignKey(Role, null=True)
> TypeError: __init__() missing 1 required positional argument: 'on_delete'

The project also seems abandoned by upstream because the last commit was in 2018.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-03-07 18:51:36 UTC
Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-08 06:54:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d825f2a7c0447476881a68a7703ef00bd43ddb31

commit d825f2a7c0447476881a68a7703ef00bd43ddb31
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-03-08 06:48:26 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-08 06:48:26 +0000

    www/py-django-bulk-update: Deprecate and set to expire

    * The project seems to be abandoned by upstream and isn't compatible
      with newer versions of Django.

    PR:             262403
    Approved by:    sunpoet (maintainer)

 www/py-django-bulk-update/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2022-03-08 06:57:25 UTC
Comment on attachment 232305 [details]
deprecate-py-django-bulk-update.patch

^Triage: Setting maintainer-approval flag to '+' as approval was given via comment #1.
Comment 4 Kai Knoblich freebsd_committer freebsd_triage 2022-03-08 06:57:54 UTC
(In reply to Po-Chuan Hsieh from comment #1)

Committed, thanks!