From patchwork Sun Jun 24 19:55:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 933977 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41DNRK47Tzz9ry1 for ; Mon, 25 Jun 2018 05:58:53 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=that.guru Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=that.guru header.i=@that.guru header.b="NGCR1UgG"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41DNRK2cBxzF14g for ; Mon, 25 Jun 2018 05:58:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=that.guru Authentication-Results: lists.ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=that.guru header.i=@that.guru header.b="NGCR1UgG"; dkim-atps=neutral X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=that.guru (client-ip=23.83.214.39; helo=coral.maple.relay.mailchannels.net; envelope-from=stephen@that.guru; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=that.guru Authentication-Results: lists.ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=that.guru header.i=@that.guru header.b="NGCR1UgG"; dkim-atps=neutral Received: from coral.maple.relay.mailchannels.net (coral.maple.relay.mailchannels.net [23.83.214.39]) (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 41DNNJ6mMGzF16W for ; Mon, 25 Jun 2018 05:56:16 +1000 (AEST) X-Sender-Id: 5xi41l16bi|x-authuser|stephen@that.guru Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1286D12235B for ; Sun, 24 Jun 2018 19:56:14 +0000 (UTC) Received: from one.mxroute.com (unknown [100.96.18.110]) (Authenticated sender: 5xi41l16bi) by relay.mailchannels.net (Postfix) with ESMTPA id 8F8421222AF for ; Sun, 24 Jun 2018 19:56:13 +0000 (UTC) X-Sender-Id: 5xi41l16bi|x-authuser|stephen@that.guru Received: from one.mxroute.com (one-outgoing.mxroute.com [172.18.58.245]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.15.2); Sun, 24 Jun 2018 19:56:14 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: 5xi41l16bi|x-authuser|stephen@that.guru X-MailChannels-Auth-Id: 5xi41l16bi X-Hysterical-Oafish: 7715b92a04a22f1d_1529870173781_2060119369 X-MC-Loop-Signature: 1529870173781:1986730986 X-MC-Ingress-Time: 1529870173781 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TQRqB5+VBayitqmdBCzxq8vEpQdZTuG/XTjTIuLhfmo=; b=NGCR1UgG4wtWYcib8o1du+NdVb QG4orPJ8CZj18Xuddt1QRJ0AxGYdGFM6HDAcby/+UsEypY895/W+VVHAtu4sE3wKF5air8t77ImeC t+K12dqkJaDmpwICeLcIyU1CtWCjmAIhLX8k8pehZ+oWo+gGqrlD1cANP/EJlK50cQ/ED3/WzQSPZ Zsjghzr32fsx0Nzs5/94vyFrdddGvQN3LQ2XXBXp5PJOYWB+TrH3R7HtQKQlz2lw1TeNbxaXv8ipO /ptMaeRBvOYkzabuPxzRpeKCwLqdHg8hsviMl2rogN9WCvVXH1lvoQmrUdEQEgp/v9wUbeMms6bpa Rk+TMWMw==; From: Stephen Finucane To: patchwork@lists.ozlabs.org Subject: [PATCH 10/11] tox: Rework warning infrastructure Date: Sun, 24 Jun 2018 20:55:56 +0100 Message-Id: <20180624195557.19909-10-stephen@that.guru> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180624195557.19909-1-stephen@that.guru> References: <20180624195557.19909-1-stephen@that.guru> X-AuthUser: stephen@that.guru X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Python 3.5 and 3.5 introduce raise some warnings for libraries included in stdlib. Silence these to keep the output clean. Signed-off-by: Stephen Finucane --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4eef4c44..a190fa6f 100644 --- a/tox.ini +++ b/tox.ini @@ -16,12 +16,14 @@ setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev PYTHONDONTWRITEBYTECODE = 1 DJANGO_LIVE_TEST_SERVER_ADDRESS = localhost:9000-9200 + py27: PYTHONWARNINGS = once,ignore::DeprecationWarning:distutils,ignore::PendingDeprecationWarning:distutils,ignore::ImportWarning:backports + py{34,35,36}:PYTHONWARNINGS = once,ignore::ResourceWarning:unittest.suite,ignore::DeprecationWarning:distutils,ignore::PendingDeprecationWarning:distutils,ignore::ImportWarning:backports passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST PW_TEST_DB_PORT commands = - python -Wonce {toxinidir}/manage.py test --noinput '{posargs:patchwork}' + python {toxinidir}/manage.py test --noinput '{posargs:patchwork}' [testenv:bashate] deps = bashate>=0.5,<0.6