Bug 245309 - [META] Deprecate/Expire Django 1.11 and switch to Django 2.2
Summary: [META] Deprecate/Expire Django 1.11 and switch to Django 2.2
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: https://wiki.freebsd.org/Ports/Django
Keywords:
Depends on: 247115 245234 245235 245261 245310 245311 245312 245313 245325 245357 245358 245359 245361 245365 245432 245434 245470 245522 245523 245547 245643 245644 245648 245659 245720 245843 245849 245850 245851 245873 245900 245901 245902 245905 246082 246083 246086 246171 246172 246176 246177 246422 246424 246715 246716 246757 247114 247116 247173 247206 247585 247587 247590 247591
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-03 07:33 UTC by Kai Knoblich
Modified: 2020-06-29 05:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer 2020-04-03 07:33:26 UTC
This is meta-bug to track the progress of the deprecation of www/py-django111 which has reached now its End-of-Life.

We need to switch consumers that depend on www/py-django111 to www/py-django22 which is the current LTS (= Long Term Support) release during the next weeks/months.
Comment 1 commit-hook freebsd_committer 2020-04-03 07:51:47 UTC
A commit references this bug:

Author: kai
Date: Fri Apr  3 07:44:43 UTC 2020
New revision: 530470
URL: https://svnweb.freebsd.org/changeset/ports/530470

Log:
  www/py-django111: Mark as DEPRECATED

  Django 1.11 has reached its End-of-Life so mark it as DEPRECATED.  Don't set
  an EXPIRATION_DATE yet as various consumers need to be switched to
  Django 2.2 beforehand, which will happen in the next weeks/months.

  When everything is complete there should be no py-dj22-* ports left and the
  Ports tree has a few Python 2.7 packages less because Django 2.2 only
  supports Python 3.5 or later.

  Adjust the description of Django 1.11 of the www/py-django meta-port
  accordingly.  Also fix a small typo in the Django 2.2 description while I'm
  here.

  PR:		245309
  Reviewed by:	koobs, wen (via private e-mail)
  Differential Revision:	https://reviews.freebsd.org/D24221

Changes:
  head/www/py-django/Makefile
  head/www/py-django111/Makefile
Comment 2 commit-hook freebsd_committer 2020-04-06 07:49:47 UTC
A commit references this bug:

Author: kai
Date: Mon Apr  6 07:49:21 UTC 2020
New revision: 530865
URL: https://svnweb.freebsd.org/changeset/ports/530865

Log:
  www/py-django-tables2: Assign to Django 2.2

  * Because Django 1.11 is End-of-Life since April 2020 thus switch over to
    Django 2.2 which is the current LTS release.

  * Set the minimum required Python version for Django 2.2 accordingly and
    bump PORTREVISION for changed dependencies.

  * Mark the repo-copied port www/py-dj22-django-tables2 as DEPRECATED because
    it's obsolete now.  Don't set an expiration date yet as it's still used by
    net-mgmt/netbox and a few more Django 1.11 ports need to be assigned to
    Django 2.2 first.

  * Also update the CONFLICTS_INSTALL entries as the repo-copied port
    py-dj21-django-tables no longer exists in the Ports tree.

  PR:		245309

Changes:
  head/www/py-dj22-django-tables2/Makefile
  head/www/py-django-tables2/Makefile
Comment 3 commit-hook freebsd_committer 2020-04-06 07:52:49 UTC
A commit references this bug:

Author: kai
Date: Mon Apr  6 07:52:06 UTC 2020
New revision: 530866
URL: https://svnweb.freebsd.org/changeset/ports/530866

Log:
  www/py-django-timezone-field: Update to 4.0

  * Also assign it to Django 2.2 (current LTS release) as Django 1.11 is
    End-of-Life since April 2020.

  * Set the repo-copied port www/py-dj22-django-timezone-field as DEPRECATED
    because it's obsolete now.  Don't set an expiration date yet as it's still
    used by net-mgmt/netbox and a few more Django 1.11 ports need to be
    assigned to Django 2.2 first.

  * Also update the CONFLICTS_INSTALL entries as the repo-copied port
    py-dj21-django-timezone-field no longer exists in the Ports tree.

  Changelog:

  * Add support for Django 3.0 and Python 3.8
  * Drop support for Django 1.11, 2.0, 2.1 and Python 2.7, 3.4

  PR:		245309

Changes:
  head/www/py-dj22-django-timezone-field/Makefile
  head/www/py-django-timezone-field/Makefile
  head/www/py-django-timezone-field/distinfo
Comment 4 commit-hook freebsd_committer 2020-05-10 09:01:07 UTC
A commit references this bug:

Author: kai
Date: Sun May 10 09:00:29 UTC 2020
New revision: 534835
URL: https://svnweb.freebsd.org/changeset/ports/534835

Log:
  www/py-django-taggit: Change RUN_DEPENDS

  * Switch to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life since April 2020.

  * Bump PORTREVISION due changed dependencies.

  * Also remove the repo-copied Django 2.1 port from CONFLICTS_INSTALL as it
    no longer exists in the Ports tree.

  PR:		245309

Changes:
  head/www/py-django-taggit/Makefile
Comment 5 commit-hook freebsd_committer 2020-05-14 12:48:55 UTC
A commit references this bug:

Author: kai
Date: Thu May 14 12:48:09 UTC 2020
New revision: 535230
URL: https://svnweb.freebsd.org/changeset/ports/535230

Log:
  www/py-django-{common-helpers,cron}: Change RUN_DEPENDS

  * Switch both ports to Django 2.2 (current LTS release) because Django 1.11
    is End-of-Life.

  * Bump PORTREVISION due changed dependencies.

  PR:		245309

Changes:
  head/www/py-django-common-helpers/Makefile
  head/www/py-django-cron/Makefile
Comment 6 commit-hook freebsd_committer 2020-05-25 10:01:01 UTC
A commit references this bug:

Author: kai
Date: Mon May 25 10:00:47 UTC 2020
New revision: 536453
URL: https://svnweb.freebsd.org/changeset/ports/536453

Log:
  www/py-django-sudo: Change RUN_DEPENDS

  * Assign the port to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life since April.

  * Bump PORTREVISION due changed dependencies.

  PR:		245309

Changes:
  head/www/py-django-sudo/Makefile
Comment 7 commit-hook freebsd_committer 2020-05-25 10:04:03 UTC
A commit references this bug:

Author: kai
Date: Mon May 25 10:03:11 UTC 2020
New revision: 536454
URL: https://svnweb.freebsd.org/changeset/ports/536454

Log:
  www/py-django-templatetag-sugar: Change RUN_DEPENDS

  * Switch the port to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life since April.

  * Make USES block separate from non-related variables.

  * Bump PORTREVISION due changed dependencies.

  PR:		245309

Changes:
  head/www/py-django-templatetag-sugar/Makefile
Comment 8 commit-hook freebsd_committer 2020-05-25 10:14:05 UTC
A commit references this bug:

Author: kai
Date: Mon May 25 10:13:07 UTC 2020
New revision: 536455
URL: https://svnweb.freebsd.org/changeset/ports/536455

Log:
  www/py-django-recaptcha: Update to 2.0.6

  * Also switch to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life.

  * Use GitHub for a while as PyPI provides no sdist for the latest release.

  Changelog:

  https://github.com/praekelt/django-recaptcha/blob/2.0.6/CHANGELOG.rst

  PR:		245309

Changes:
  head/www/py-django-recaptcha/Makefile
  head/www/py-django-recaptcha/distinfo
Comment 9 commit-hook freebsd_committer 2020-05-29 15:46:00 UTC
A commit references this bug:

Author: kai
Date: Fri May 29 15:45:20 UTC 2020
New revision: 536980
URL: https://svnweb.freebsd.org/changeset/ports/536980

Log:
  www/py-djangorestframework: Update to 3.11.0

  * Switch the port to Django 2.2 (current LTS release) as well because
    Django 1.11 is End-of-Life since April.  Do the same for www/py-drf-yasg.

  * Repo-copy www/py-djangorestframework to www/py-djangorestframework311
    which will be used as a transitional package by www/seahub until it gets
    support for Django 2.2+ in the next weeks/months.

  * Drop the Python 2.7 support of the remaining consumers to avoid breakage
    of "bulk -a".

  * Mark both repo-copied ports www/py-dj22-{djangorestframework,drf-yasg} as
    deprecated because they're obsolete now.

  PR:		245309
  Reviewed by:	sunpoet (earlier revision), ultima
  Differential Revision:	https://reviews.freebsd.org/D24850

Changes:
  head/devel/py-graphene-django/Makefile
  head/www/Makefile
  head/www/py-dj22-djangorestframework/Makefile
  head/www/py-dj22-drf-yasg/Makefile
  head/www/py-django-rest-swagger/Makefile
  head/www/py-djangorestframework/Makefile
  head/www/py-djangorestframework/distinfo
  head/www/py-djangorestframework311/
  head/www/py-djangorestframework311/Makefile
  head/www/py-djangorestframework311/distinfo
  head/www/py-drf-yasg/Makefile
  head/www/seahub/Makefile
Comment 10 commit-hook freebsd_committer 2020-06-29 05:21:23 UTC
A commit references this bug:

Author: kai
Date: Mon Jun 29 05:21:04 UTC 2020
New revision: 540748
URL: https://svnweb.freebsd.org/changeset/ports/540748

Log:
  www/py-django: Set DJANGO22 option as default

  * Switch to Django 2.2 (current LTS release) because Django 1.11 is
    End-of-Life.

  * Introduce a DJANGO30 option to make use of the Django 3.0 port and set the
    Python version accordingly for each option.

  * Keep the DJANGO111 option for now as long as Django 1.11 is still present
    in the Ports tree.

    Django 1.11 is still required for www/py-django-mezzanine, www/seahub and
    their dependencies.  There's is work in progress by upstream to make these
    ports compatible for Django 2.2+ .

  PR:		245309
  Submitted by:	wen (via private e-mail, based on)
  Reviewed by:	sunpoet
  Differential Revision:	https://reviews.freebsd.org/D25495

Changes:
  head/www/py-django/Makefile