From patchwork Fri May 3 22:21:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 1095063 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 44wmnq2t00z9sD4 for ; Sat, 4 May 2019 08:21:51 +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="RMcHtOsp"; 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 44wmnq1zqVzDqYj for ; Sat, 4 May 2019 08:21:51 +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=199.181.239.133; helo=relay0133.mxlogin.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="RMcHtOsp"; dkim-atps=neutral Received: from relay0133.mxlogin.com (relay0133.mxlogin.com [199.181.239.133]) (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 44wmnk0gGdzDqY2 for ; Sat, 4 May 2019 08:21:45 +1000 (AEST) Received: from filter002.mxroute.com (unknown [94.130.183.33]) by relay0133.mxlogin.com (Postfix) with ESMTP id AAF28CC2030F; Fri, 3 May 2019 17:21:17 -0500 (CDT) Received: from one.mxroute.com (one.mxroute.com [195.201.59.211]) by filter002.mxroute.com (Postfix) with ESMTPS id B17AF3F0D0; Fri, 3 May 2019 22:21:16 +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=XwyFqU5IxKr/ayV78RJenT2Hg9MizhOqmztSsBBYLiE=; b=RMcHtOspgICsjnraMVhMziYpNi P6bCQx4WmJwjQJdhjyMdOCxEdQw5JH2TNXhFfqJSzr4iO5n/kq4YqkZXZlvQ0Iw31cd/tKO34XSbZ hV/LMJfhj82tBzsIWxSgxbcsIRVxMjd+VHnSJHO02ifYjVkh+XYXN6mIMAdNvlQXd7SdUTZzbVwUA mudlkWChGP7wSBmdHkIAvDhVz9nhXoB0HtKDDKMxn7zJ1Fd/J2E6KJaJPdnQ93QQK1Rx587KeHyK/ AWT1h4cZJtCYm4sPXTfYu9SRq8uXeGy28QWl3sgbeU16yxhhsDBueTdUs5kTHagOA+wgUmsgub9TC q3OXYPFA==; From: Stephen Finucane To: patchwork@lists.ozlabs.org Subject: [PATCH 0/4] Integrate tox-docker Date: Fri, 3 May 2019 16:21:06 -0600 Message-Id: <20190503222110.562-1-stephen@that.guru> X-Mailer: git-send-email 2.20.1 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' Stephen Finucane (4): forms: Don't attempt to evaluate State at startup tox: Integrate tox-docker requirements: Switch to PyMySQL docker-compose: Massively simplify docs/development/contributing.rst | 28 ++++++--------------- docs/development/installation.rst | 6 ----- manage.py | 12 +++++++-- patchwork/forms.py | 3 ++- patchwork/settings/dev.py | 12 +++++++++ requirements-dev.txt | 2 ++ requirements-test.txt | 2 -- tools/docker/Dockerfile | 22 ++-------------- 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 | 42 +++++++++++++++++++++++++++++-- 14 files changed, 77 insertions(+), 68 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