From patchwork Sat Mar 12 20:31:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 5147 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A343C433F5 for ; Sat, 12 Mar 2022 20:31:41 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web10.8829.1647117100630767662 for ; Sat, 12 Mar 2022 12:31:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MTEhEN32; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id e3so10934455pjm.5 for ; Sat, 12 Mar 2022 12:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LC5z5S8FiLt5lg8pNIRuGfQ4fpliWfS4YBnV11ukZxQ=; b=MTEhEN32oOJsl8jyeV9d1snVVfgoXZ8VEKKxKOODvOTGISmJ4/dhN8f1ed11j8VpWb 3Kye8DIN4ndDqDogg+tF2Zlbe8Tr7tYpdaPZ10YyRoEgF13nKMLhvCQQ6yb+z3d3f01s Bw9GbSpljVEEip99W/DPMlar8irYV1UwpVJcZNXozIRrX/DjPJvRhM6FkRAoXZo8ub+T GyHVt/Zj1gp+khKfnnKDfFpQYHsoaCrq8Rjhi+ukZIfxC37WPkEihnan72sioyWs4qjd ZKYdjN3+x2sGP2bLMAqLc/gLa6SpQq9VhgjJRQCfovsvTeryItqGuGXAK7Ye4h/BO3c3 IUkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LC5z5S8FiLt5lg8pNIRuGfQ4fpliWfS4YBnV11ukZxQ=; b=sGJx+M0zsm8u/yExVkE3nzlw5OXRhyr83KVpXw52Pr0P5kXLe0ayCBM31pynmGuQjG ew8nTEM7EAMJ/GTQ2gT/YNPknIi6YXuLK5iCdc2mJGtxO8fclaUBE1LBhUClQazTpyK/ VAsuCnkEBqd1ty9ZRzVIpvjFDFd/nhV5Epl6+zI1DIRjLbR2/b5H+gP0WUjJGell+Ina tqG2s7MjPnF2WIuEugL4JCGNUBY6dF9335tUY8ysGVfY6w7PAqExeOoFw4n4vQUwbg2S HVjhFUu1KkG8TIE99VniTT1Q1cUdDgtVl2zMUTQTjSyd3RK9hpM6900tVTqrhloMGLZi UkZA== X-Gm-Message-State: AOAM533Jk6aLA0OBL/7nubT9IZ3ZIqaVx5std+TsyYs2fHfVOAkJWenb v4/y13CvSmjFpXQUfVzevWsdX8zdq+A= X-Google-Smtp-Source: ABdhPJzT/vlGcLlBMLO7bp2bY8JGChz20Lh0Syr2w+vbPFBDmnr8Gko50IRXC/+gbzD6Q+70kSKwLQ== X-Received: by 2002:a17:902:9308:b0:14e:def5:e6b5 with SMTP id bc8-20020a170902930800b0014edef5e6b5mr16597595plb.73.1647117099369; Sat, 12 Mar 2022 12:31:39 -0800 (PST) Received: from nereus.local ([2601:1c0:6000:1b20:a9d2:e45f:26bc:3c95]) by smtp.gmail.com with ESMTPSA id f194-20020a6238cb000000b004f6ce898c61sm14479378pfa.77.2022.03.12.12.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 12:31:38 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: toaster@lists.yoctoproject.org Cc: David.Reyna@windriver.com Subject: [PATCH 0/7] Upgrade to Django 3.2 LTS Date: Sat, 12 Mar 2022 12:31:21 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 12 Mar 2022 20:31:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5772 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