mbox

[layerindex,v2,00/18] Upgrade to Django 3.2 LTS and Celery 5

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

Pull-request

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

Message

Tim Orling Jan. 14, 2022, 5:54 a.m. UTC
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