From patchwork Thu Oct 24 03:26:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Donnellan X-Patchwork-Id: 1182612 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46zCNH273cz9sPF for ; Thu, 24 Oct 2019 14:27:11 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46zCNH18HCzDqRH for ; Thu, 24 Oct 2019 14:27:11 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=ajd@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46zCN94kKWzDqQH for ; Thu, 24 Oct 2019 14:27:03 +1100 (AEDT) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9O3M8MM080939 for ; Wed, 23 Oct 2019 23:27:01 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2vu3kh8pk7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 23 Oct 2019 23:27:01 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 24 Oct 2019 04:26:59 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 24 Oct 2019 04:26:56 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9O3Qt1m34144332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 24 Oct 2019 03:26:56 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BA4EDA4053 for ; Thu, 24 Oct 2019 03:26:54 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 744E8A406D for ; Thu, 24 Oct 2019 03:26:54 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Thu, 24 Oct 2019 03:26:54 +0000 (GMT) Received: from intelligence.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 13773A0262 for ; Thu, 24 Oct 2019 14:26:52 +1100 (AEDT) From: Andrew Donnellan To: patchwork@lists.ozlabs.org Subject: [PATCH v2 2/2] [PW3] Add Django 3.0 support Date: Thu, 24 Oct 2019 14:26:39 +1100 X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024032639.14707-1-ajd@linux.ibm.com> References: <20191024032639.14707-1-ajd@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 19102403-0012-0000-0000-0000035C7BDD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19102403-0013-0000-0000-00002197AC78 Message-Id: <20191024032639.14707-2-ajd@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-10-24_02:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910240028 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Now that we've dropped Python 2, we can get ready for Django 3.0, which is still in beta. Add Django 3.0b1 as a tox environment. Add a release note for Django 3.0 support, as it will be released by the time Patchwork 3.0 is out. Closes: #311 ("Django 3.0 support") Signed-off-by: Andrew Donnellan --- v1->v2: - rebase on top of python 3.8 patch [github.com/ajdlinux/patchwork, django3 branch] - add release note as suggested by dja Not adding upper bounds on the version numbers until 3.0 actually drops. I'm considering this as closing the issue for Django 3.0 support, as now that Django 3.0 is in beta it's unlikely to get further breaking changes and we'll catch anything as we test it. --- releasenotes/notes/django-3-0-support-763b5c7b5aab0010.yaml | 5 +++++ tox.ini | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/django-3-0-support-763b5c7b5aab0010.yaml diff --git a/releasenotes/notes/django-3-0-support-763b5c7b5aab0010.yaml b/releasenotes/notes/django-3-0-support-763b5c7b5aab0010.yaml new file mode 100644 index 000000000000..a21c70540404 --- /dev/null +++ b/releasenotes/notes/django-3-0-support-763b5c7b5aab0010.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + `Django 3.0 `_ is now + supported. This requires Python 3.6 or higher. diff --git a/tox.ini b/tox.ini index 6be8141e7c66..693d02de3c40 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = pep8,docs,py{36,37,38}-django{20,21,22} +envlist = pep8,docs,py{36,37,38}-django{20,21,22,30b1} skipsdist = True [testenv] @@ -13,6 +13,9 @@ deps = django22: django>=2.2,<2.3 django22: djangorestframework>=3.10,<3.11 django22: django-filter>=2.1,<3.0 + django30b1: django==3.0b1 + django30b1: djangorestframework>=3.10 + django30b1: django-filter>=2.2 setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev PYTHONDONTWRITEBYTECODE = 1