Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31BF9C433DB for ; Wed, 17 Feb 2021 03:01:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E21C64DA8 for ; Wed, 17 Feb 2021 03:01:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E21C64DA8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCD5S-0007rj-HY for qemu-devel@archiver.kernel.org; Tue, 16 Feb 2021 22:01:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCD4E-0007Oe-FH for qemu-devel@nongnu.org; Tue, 16 Feb 2021 21:59:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:53940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lCD4C-0007EF-CH for qemu-devel@nongnu.org; Tue, 16 Feb 2021 21:59:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613530790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2R5s4wuI1UlSIvPCZPH6OEAKMyqHg2wkhECzm0C0yxo=; b=dOp9dUsmZZN3wKokNrRg7iNU63grvRVcqTIKLqVV5nZkqQ2bOkaQmli99ynMqemqQfAGGm zwvk2XIlL6DUVOGwj4kdY9r6Ssw7Bz36Otqsmq+qw8PxSygh36DFNiL908Ky9e+qv9ZrnO qRK7CzO/EpXmJKNRv4CF+FoOuzAwmBU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-90-lx2rkph5NXqDdKyPrSZu8A-1; Tue, 16 Feb 2021 21:59:48 -0500 X-MC-Unique: lx2rkph5NXqDdKyPrSZu8A-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0FCC4107ACC7; Wed, 17 Feb 2021 02:59:47 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-29.rdu2.redhat.com [10.10.112.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0461010016F7; Wed, 17 Feb 2021 02:59:41 +0000 (UTC) Date: Tue, 16 Feb 2021 21:59:40 -0500 From: Cleber Rosa To: John Snow Subject: Re: [PATCH v4 08/24] python: Add pipenv support Message-ID: References: <20210211185856.3975616-1-jsnow@redhat.com> <20210211185856.3975616-9-jsnow@redhat.com> MIME-Version: 1.0 In-Reply-To: <20210211185856.3975616-9-jsnow@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZzfKvV/XxhK+B4pR" Content-Disposition: inline Received-SPF: pass client-ip=63.128.21.124; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Kevin Wolf , Thomas Huth , Eduardo Habkost , qemu-block@nongnu.org, Alex =?iso-8859-1?Q?Benn=E9e?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , Max Reitz , Willian Rampazzo , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Beraldo Leal Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --ZzfKvV/XxhK+B4pR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 11, 2021 at 01:58:40PM -0500, John Snow wrote: > pipenv is a tool used for managing virtual environments with pinned, > explicit dependencies. It is used for precisely recreating python > virtual environments. >=20 > pipenv uses two files to do this: >=20 > (1) Pipfile, which is similar in purpose and scope to what setup.py > lists. It specifies the requisite minimum to get a functional > environment for using this package. >=20 > (2) Pipfile.lock, which is similar in purpose to `pip freeze > > requirements.txt`. It specifies a canonical virtual environment used for > deployment or testing. This ensures that all users have repeatable > results. >=20 > The primary benefit of using this tool is to ensure repeatable CI > results with a known set of packages. Although I endeavor to support as > many versions as I can, the fluid nature of the Python toolchain often > means tailoring code for fairly specific versions. >=20 > Note that pipenv is *not* required to install or use this module; this is > purely for the sake of repeatable testing by CI or developers. >=20 > Here, a "blank" pipfile is added with no dependencies, but specifies > Python 3.6 for the virtual environment. >=20 > Pipfile will specify our version minimums, while Pipfile.lock specifies > an exact loudout of packages that were known to operate correctly. This Layout? Loadout? > latter file provides the real value for easy setup of container images > and CI environments. >=20 > Signed-off-by: John Snow > --- > python/Pipfile | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 python/Pipfile > Other than that, Reviewed-by: Cleber Rosa --ZzfKvV/XxhK+B4pR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeruW64tGuU1eD+m7ZX6NM6XyCfMFAmAshpkACgkQZX6NM6Xy CfNsLA/+KWNBWSpjjBX+JsonXxB8gwr92ugz3LIM0XskrNhnaHniwqvDGSBaMsT5 CcUhHO/Vn30InbSdR14QDNUONsvSgUUTaAi4U7bJbWStxpvgMFtEfdSn2NE7XHyi npTd8n94bNb8n556a1/XI7PcM1GtPSCzZUfCZy61q5oufl0YvPtMiyZBmVz9kAxh tjnE9lNG+aDPNNioPY6hNJqDdl+quK5/qT6+sDeMUJtqfboqDe+pS6PUyHp5OSem jZ9NcBLcIC0vkHfrFPcJ05Oqm+NqeAtofEUwszZTOK0BCwl47auMTJCqMHVVV984 imqcrUGGUPa0XHa41WlYIsE1IId2k4jVCsr2gbD3EPdPv3VUsUUw3nruUlYmoth6 PH+0VTSKlyckLqZ1d94aae+3EkyTiSNUSMzj7SbA8D+tN4fxXS9JRKd8Ek1saV+0 5Z/Y72TiOvnKOBwfkRHQGoXKVa51aezU7ox43Sj+HvQmj/7DF2eZDaczb6Z3Cp1K 2bdYIqm8+8beQdPJuR0VMtaVyc/Zh76UitJ6fEMEOcCS/rO6uLpL5l3KCpQu5YvJ z63BHKlWZIx3/vPDDOHv9Ym+valnUAsFOeUYv8wVtdD8ighbyEMOpxX/SBFddvYT hXe8Uq2sTihjQgbt8yMRYGGMAadUCPK0A56xAlIHBGKltbzmT/w= =+SjB -----END PGP SIGNATURE----- --ZzfKvV/XxhK+B4pR--