Skip to content

Upgrade to Django 3.2 LTS

Tim Orling yocto-toaster 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7toaster-requirements.txt: Django 3.2 LTSbitbake/toaster-requirements.txt+1 -10 replies
2/7toaster: Update docs links in templatesbitbake/lib/toaster/toastergui/templates/base.html bitbake/lib/toaster/toastergui/templates/configvars.html bitbake/lib/toaster/toastergui/templates/landing.html +3 more+11 -110 replies
3/7toaster: orm/models -- drop django.utils.sixbitbake/lib/toaster/orm/models.py+0 -10 replies
4/7toaster: set DEFAULT_AUTO_FIELDbitbake/lib/toaster/toastermain/settings.py+3 -00 replies
5/7toaster: migratation for models.BigAutoFieldbitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py bitbake/lib/toaster/orm/migrations/0020_models_bigautofield.py+221 -00 replies
6/7bitbake: buildinfohelper.py fix for Django 3.2bitbake/lib/bb/ui/buildinfohelper.py+5 -110 replies
7/7toaster: drop landing_not_managed templatebitbake/lib/toaster/toastergui/templates/landing_not_managed.html+0 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Upgrade to Django 3.2 LTS

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
Signature · 1 line
2.30.2