From patchwork Tue Jun 4 11:47:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 1109801 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.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 45J9F00fp0z9s4Y for ; Tue, 4 Jun 2019 21:49:08 +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="fR/2bqC3"; 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 45J9Dz6v6QzDq5t for ; Tue, 4 Jun 2019 21:49:07 +1000 (AEST) 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=172.82.139.140; helo=qrelay140.mxroute.com; 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="fR/2bqC3"; dkim-atps=neutral Received: from qrelay140.mxroute.com (qrelay140.mxroute.com [172.82.139.140]) (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 45J9By2mh0zDq5t for ; Tue, 4 Jun 2019 21:47:22 +1000 (AEST) Received: from filter002.mxroute.com (unknown [94.130.183.33]) by qrelay140.mxroute.com (Postfix) with ESMTP id 8B01F12093C for ; Tue, 4 Jun 2019 07:47:19 -0400 (EDT) Received: from one.mxroute.com (one.mxroute.com [195.201.59.211]) by filter002.mxroute.com (Postfix) with ESMTPS id E9D7E3F026 for ; Tue, 4 Jun 2019 11:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dLkZip+zxuj7vGVzja/A1n4GIqbpceI4qMOPlNZJnzw=; b=fR/2bqC3psDJWWBlanSTFhZN1o uLodqhnpX496cGonUg31eLTlMnjTSzFfi/KAF90xePaRqSGATPwV5bvUK97X+Iu4dz7307gNh4/Wn nWNO06uSItaURAz/S/nwcf4lu90WYKdcowUgjdIRoe72haf/5G2bao/KkxevZfcLBlB3lLRD9Orzd +y7R7s33lmmIyyfn+gj6A2l/9Zn6notCtn20BY1xjUcBsoZRXxj6IqeImESe1YLLLZmaf3ov5P1mO qIEKCFr97UMOArR6bIYKea8G10qdDQPCTq2PwvMMli5bFcHExa87vWtvNzWB7FGuEkJQ1xrw+azCj qlwBnGyw==; From: Stephen Finucane To: patchwork@lists.ozlabs.org Subject: [PATCH v2 0/3] Integrate tox-docker Date: Tue, 4 Jun 2019 12:47:05 +0100 Message-Id: <20190604114708.12317-1-stephen@that.guru> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-AuthUser: stephen@that.guru 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" Testing Patchwork is still way more difficult than it should be. Docker has massively simplified things but we're still unable to do things like run 'tox -e py27' like we can most other Python projects. Take another step towards this by integrating 'tox-docker' so we can do e.g. 'tox -e py27-django11-mysql' Changes since v1: - Don't switch to PyMySQL since performance is worse Stephen Finucane (3): forms: Don't attempt to evaluate State at startup tox: Integrate tox-docker docker-compose: Massively simplify docs/development/contributing.rst | 28 +++++--------------- docs/development/installation.rst | 6 ----- patchwork/forms.py | 3 ++- patchwork/settings/dev.py | 12 +++++++++ requirements-dev.txt | 2 ++ requirements-test.txt | 2 -- tools/docker/Dockerfile | 23 ++--------------- tools/docker/entrypoint.sh | 4 +-- tools/docker/trusty-ports.list | 3 --- tools/docker/trusty.list | 3 --- tools/docker/xenial-ports.list | 3 --- tools/docker/xenial.list | 3 --- tox.ini | 43 +++++++++++++++++++++++++++++-- 13 files changed, 68 insertions(+), 67 deletions(-) delete mode 100644 tools/docker/trusty-ports.list delete mode 100644 tools/docker/trusty.list delete mode 100644 tools/docker/xenial-ports.list delete mode 100644 tools/docker/xenial.list