mbox

[0/7] Upgrade to Django 3.2 LTS

Message ID cover.1647116564.git.tim.orling@konsulko.com
State New
Headers show

Pull-request

git://git.yoctoproject.org/git/poky-contrib timo/toaster-updates

Message

Tim Orling March 12, 2022, 8:31 p.m. UTC
Django 2.2 LTS will go EOL in April 2022.

Upgrade to Django 3.2 LTS which is supported through April 2024.

https://www.djangoproject.com/download/

The tests in bitbake/lib/toaster/tests need updating to at least
Selenium 3.141.0 (which is what the crops/toaster-container uses for
tests). For now this is out of scope of this patch series as it is not
clear the tests are working now (the tests/browser/README is very out of
date).

The following changes since commit b31eb2156d273fe70bc0b49c1549c07f6521b936:

  bitbake: toaster: automation to generate fixture files (2022-03-12 13:27:59 +0000)

are available in the Git repository at:

  git://git.yoctoproject.org/git/poky-contrib timo/toaster-updates
  http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/toaster-updates

Tim Orling (7):
  toaster-requirements.txt: Django 3.2 LTS
  toaster: Update docs links in templates
  toaster: orm/models -- drop django.utils.six
  toaster: set DEFAULT_AUTO_FIELD
  toaster: migratation for models.BigAutoField
  bitbake: buildinfohelper.py fix for Django 3.2
  toaster: drop landing_not_managed template

 bitbake/lib/bb/ui/buildinfohelper.py          |  16 +-
 .../migrations/0008_models_bigautofield.py    |  48 +++++
 .../migrations/0020_models_bigautofield.py    | 173 ++++++++++++++++++
 bitbake/lib/toaster/orm/models.py             |   1 -
 .../toaster/toastergui/templates/base.html    |   2 +-
 .../toastergui/templates/configvars.html      |   2 +-
 .../toaster/toastergui/templates/landing.html |   6 +-
 .../templates/landing_not_managed.html        |  34 ----
 .../toaster/toastergui/templates/project.html |   2 +-
 .../templates/project_specific.html           |   2 +-
 .../toastergui/templates/projectconf.html     |   8 +-
 bitbake/lib/toaster/toastermain/settings.py   |   3 +
 bitbake/toaster-requirements.txt              |   2 +-
 13 files changed, 241 insertions(+), 58 deletions(-)
 create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
 create mode 100644 bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py
 delete mode 100644 bitbake/lib/toaster/toastergui/templates/landing_not_managed.html