Skip to content

Upgrade to Django 3.2 LTS and Celery 5

Tim Orling yocto 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 0 repliesNew
  2. v115 patches 1 replySuperseded

Changes in v2 from the cover letter

- update email address
- add fixes for rrs
- re-introduce python2
- update all requirements.txt

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18dockersetup.py: fix EMAIL_USE_SSL/TLSdockersetup.py+2 -20 replies
2/18Dockerfile: cleanup, install python3-wheelDockerfile+1 -30 replies
3/18dockersetup.py: letsencrypt 2048 bit rsadockersetup.py+1 -10 replies
4/18layerindex/*: make all shebangs python3layerindex/bulkchange.py layerindex/recipedesc.py layerindex/tools/import_classic_wiki.py +4 more+7 -70 replies
5/18requirements.txt: bump to Django 3.0requirements.txt+1 -10 replies
6/18Updates for Django 3.0docker/settings.py layerindex/migrations/0045_layerbranch_classicrecipe.py requirements.txt +2 more+36 -150 replies
7/18requirements.txt: bump to Django 3.1requirements.txt+1 -10 replies
8/18docker-compose: bump mariadb to 10.3docker-compose.yml+1 -10 replies
9/18requirements.txt: update all to latestrequirements.txt+17 -170 replies
10/18requirements.txt: bump to Django 3.2 LTSrequirements.txt+1 -10 replies
11/18settings: set DEFAULT_AUTO_FIELDdocker/settings.py settings.py+6 -00 replies
12/18docker-compose: fix celerydocker-compose.yml+1 -10 replies
13/18README.devel: update versionsREADME.devel+3 -30 replies
14/18rrs/admin.py: drop curry importrrs/admin.py+0 -20 replies
15/18Dockerfile: fix warningsDockerfile+2 -10 replies
16/18rrs: add 0030_alter_recipeupgrade_maintainer.py miagrationrrs/migrations/0030_alter_recipeupgrade_maintainer.py+20 -00 replies
17/18Dockerfile: add back python2 dependenciesDockerfile+5 -00 replies
18/18requirements.txt: bump all to latestrequirements.txt+18 -180 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [layerindex][PATCH v2 00/18] Upgrade to Django 3.2 LTS and Celery 5

The current code base uses Django 2.2.x which will go out of extended support in April 2022, but also holds us back from updating a number of dependencies and is currently failing to update layers.

Update to the current Django 3.2.11 LTS and also the latest Celery 5.2.3. Celery 4 has not had any commits since 2020 and is unlikely to be getting much more attention from the developers.

While we are at it, upgrade all of our dependencies to the latest versions.

This series re-introduces python2 to the Dockerfile as we still have layers depending upon it and this is causing layer updates to fail.

This series includes fixes to the Recipe Reporting System (rrs app) and the layerindex app itself for newer components and latest Django 3.2.11

Each of these commits was tested sequentially over a period of time, so they should be considered a group of snapshots.

Changes in v2:
- update email address
- add fixes for rrs
- re-introduce python2
- update all requirements.txt

The following changes since commit ccc1fa775b0b5aa2f4760509c7696d3ea712a94d:

Report charset for text & CSV views (2021-10-20 11:07:46 +1300)

are available in the Git repository at:

git://github.com/moto-timo/layerindex-web timo/django-3.2.11
https://github.com/moto-timo/layerindex-web/tree/timo/django-3.2.11

Tim Orling (18):
dockersetup.py: fix EMAIL_USE_SSL/TLS
Dockerfile: cleanup, install python3-wheel dockersetup.py: letsencrypt 2048 bit rsa layerindex/*: make all shebangs python3 requirements.txt: bump to Django 3.0
Updates for Django 3.0
requirements.txt: bump to Django 3.1
docker-compose: bump mariadb to 10.3 requirements.txt: update all to latest requirements.txt: bump to Django 3.2 LTS
settings: set DEFAULT_AUTO_FIELD
docker-compose: fix celery
README.devel: update versions
rrs/admin.py: drop curry import
Dockerfile: fix warnings
rrs: add 0030_alter_recipeupgrade_maintainer.py miagration
Dockerfile: add back python2 dependencies requirements.txt: bump all to latest

 Dockerfile                                    | 12 +++--
 README.devel                                  |  6 +--
 docker-compose.yml                            |  4 +-
 docker/settings.py                            |  6 ++-
 dockersetup.py                                |  6 +--
 layerindex/bulkchange.py                      |  2 +-
 .../0045_layerbranch_classicrecipe.py         | 19 ++++++++
 layerindex/recipedesc.py                      |  2 +-
 layerindex/tools/import_classic_wiki.py       |  2 +-
 layerindex/tools/import_wiki_layers.py        |  2 +-
 layerindex/tools/site_name.py                 |  2 +-
 layerindex/tools/update_classic_status.py     |  2 +-
 layerindex/update_layer.py                    |  2 +-
 requirements.txt                              | 48 +++++++++----------
 rrs/admin.py                                  |  2 -
 .../0030_alter_recipeupgrade_maintainer.py    | 20 ++++++++
 settings.py                                   |  6 ++-
 templates/base.html                           |  2 +-
 18 files changed, 97 insertions(+), 48 deletions(-)
 create mode 100644 layerindex/migrations/0045_layerbranch_classicrecipe.py
 create mode 100644 rrs/migrations/0030_alter_recipeupgrade_maintainer.py
Signature · 1 line
2.30.2