From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH] gnu: Add python-flask-restx Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 May 2020 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159016002717870 (code B ref -1); Fri, 22 May 2020 15:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 May 2020 15:07:07 +0000 Received: from localhost ([127.0.0.1]:60026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc9GN-0004eA-GF for submit@debbugs.gnu.org; Fri, 22 May 2020 11:07:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:44806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc9GM-0004e3-GF for submit@debbugs.gnu.org; Fri, 22 May 2020 11:07:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc9GM-0004Oz-Ca for guix-patches@gnu.org; Fri, 22 May 2020 11:07:06 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jc9GL-0000Pb-45 for guix-patches@gnu.org; Fri, 22 May 2020 11:07:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590160021; cv=none; d=zohomail.com; s=zohoarc; b=XObx0PV0wdZwVJyOFYHf5TfpWvdqEpTIyz8NGLskV7X2yMRd7R4miyHEi06ftIe+0tP1/Zi3Hf4AcXCLb3010TxmDI6Hut4GwGrZx1tE7aYzAkN2zvAgD9/Wld0+rBsg7ul/+QPBCpU67upchqJusfsyJ0BPAgIJyurO2MXH9w0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590160021; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=W31u2OhslB0rypFS8hDS/SdN1gme6GJQcprwwHDXq6E=; b=Uxc29XV1AxLtAa/aitYs4LXTsWKCVmae9Ev3325RKVjTPurzBZ7ySE2HnmOVwoC84AoO/grDRa8BfgCbws5FbEz/FquE6//6mVq16h+AiUEqgY+rb5BuBm94zfsAw+poiEr3HE0CaGawbpXyKWlw56Ve6bFQSKWiGvLw2fbV4vk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590160021; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; bh=W31u2OhslB0rypFS8hDS/SdN1gme6GJQcprwwHDXq6E=; b=XRs0KHx6EEuTXCSDJhxLP16mg/0+lEHECZAl8iCJGYW0msGwdY1mA5dBDtmKhZfW o0Ay/EnYyi1obk0z247uBOCroSFSOakqjEERrHgZ//4pSE3Vx1Axg6HlmNeLUOK2EmW XPgyVVZVb2RSGPyZfVSPBjhhNuTwa1HiChzFVruQ= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1590160019554511.87243971265775; Fri, 22 May 2020 08:06:59 -0700 (PDT) User-agent: mu4e 1.4.6; emacs 26.3 From: Edouard Klein Message-ID: <87a720au0g.fsf@alice.lan> Date: Fri, 22 May 2020 17:06:55 +0200 MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 09:10:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/python-web.scm (python-flask-restx): New variable. * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. * gnu/packages/python-check.scm (python-pytest-flask): New variable. * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. --- gnu/packages/python-check.scm | 49 +++++++++++++++++++++++++++++++++++ gnu/packages/python-web.scm | 49 +++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 20 ++++++++++++++ 3 files changed, 118 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 50911673b2..70db8445ee 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -362,6 +362,55 @@ framework.") framework.") (license license:expat))) +(define-public python-pytest-benchmark + (package + (name "python-pytest-benchmark") + (version "3.2.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-benchmark" version)) + (sha256 + (base32 + "0a4mpb4j73dsyk47hd1prrjpfk4r458s102cn80rf253jg818hxd")))) + (build-system python-build-system) + (native-inputs + `(("python-pathlib2" ,python-pathlib2) + ("python-py-cpuinfo" ,python-py-cpuinfo) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/ionelmc/pytest-benchmark") + (synopsis + "Pytest fixture for benchmarking code") + (description + "This pytest fixture will group the tests into rounds that are calibrated to +the chosen timer.") + (license license:bsd-2))) + +(define-public python-pytest-flask + (package + (name "python-pytest-flask") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-flask" version)) + (sha256 + (base32 + "1hln7mwgdzfi5ma0kqfsi768l7p24jhkw8l0imhifwy08nh7hmjd")))) + (build-system python-build-system) + (native-inputs + `(("python-flask" ,python-flask) + ("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-werkzeug" ,python-werkzeug))) + (home-page + "https://github.com/pytest-dev/pytest-flask") + (synopsis + "Pytest fixtures to test Flask applications") + (description + "This pytest plugin provides some fixtures to simplify app testing.") + (license license:expat))) + (define-public python-codacy-coverage (package (name "python-codacy-coverage") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 00caf7f229..c1658052d8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4024,3 +4024,52 @@ request/response web apps to larger, grown applications.") than 326,000 known user-agents. Users can pick a random one, or select one based on filters.") (license license:expat))) + +(define-public python-flask-restx + (package + (name "python-flask-restx") + (version "0.2.0") + (source + ;; We fetch from the Git repo because there are no tests in the PyPI + ;; archive. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-restx/flask-restx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aniso8601" ,python-aniso8601) + ("python-flask" ,python-flask) + ("python-jsonschema" ,python-jsonschema) + ("python-pytz" ,python-pytz))) + (native-inputs + `(("python-blinker" ,python-blinker) + ("python-faker" ,python-faker) + ("python-pytest" ,python-pytest) + ("python-pytest-benchmark" + ,python-pytest-benchmark) + ("python-pytest-flask" ,python-pytest-flask) + ("python-pytest-mock" ,python-pytest-mock))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "--benchmark-skip" "-k" + ;; Those tests need internet access + "not test_check and not test_valid_value_check")))))) + (home-page + "https://github.com/python-restx/flask-restx") + (synopsis + "Framework for fast, easy and documented API development with Flask") + (description + "Flask-RESTX is an extension for Flask that adds support for quickly building +REST APIs. Flask-RESTX encourages best practices with minimal setup. If you are familiar + with Flask, Flask-RESTX should be easy to pick up. It provides a coherent collection of +decorators and tools to describe your API and expose its documentation properly using +Swagger.") + (license license:bsd-3))) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b32e7e2a8..d8552276fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20076,6 +20076,26 @@ It builds upon tmux's target and formats to create an object mapping to traverse using multi-select lists, confirmations, free text prompts, completion, etc.") (license license:expat))) +(define-public python-py-cpuinfo + (package + (name "python-py-cpuinfo") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "py-cpuinfo" version)) + (sha256 + (base32 + "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic")))) + (build-system python-build-system) + (home-page + "https://github.com/workhorsy/py-cpuinfo") + (synopsis "Get CPU info with pure Python 2 & 3") + (description + "This module returns the CPU info by using the best sources of information for + your OS.") + (license license:expat))) + (define-public python-daemux (package (name "python-daemux") -- 2.26.2 From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH] gnu: Add python-flask-restx Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 May 2020 13:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Edouard Klein , 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.15908438722990 (code B ref 41459); Sat, 30 May 2020 13:05:02 +0000 Received: (at 41459) by debbugs.gnu.org; 30 May 2020 13:04:32 +0000 Received: from localhost ([127.0.0.1]:57138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf1A8-0000m8-Ch for submit@debbugs.gnu.org; Sat, 30 May 2020 09:04:32 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf1A6-0000lw-IC for 41459@debbugs.gnu.org; Sat, 30 May 2020 09:04:31 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4CAF05C006B; Sat, 30 May 2020 09:04:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 30 May 2020 09:04:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=pjHT0brhwpoSEVkyShhOrb5yyu ZNYFY5NVkcyHoJgT8=; b=EFnIbc9yOe6EmOQNNbnQa3k7UQ8NcE/FiVkWNpnJjj jQ7zEtT3+LXJNoXV/nHGY2sXOTbnBk1QE2k7MsBaQ02IiANke7JG1Zpo5fRAuKF8 F7jT+gu+oT38HCxte0Sq7902c2pAO0vMVFFEXOKh0lww0VA9TaKjKbD+u9O4zP1s HUW1iMEER3THQu57YlBNU+FhmEWgtzy3dWHTSqDd+uqXoXkW1K7S5LEih+wJQ+mV 65XbpK5rbQHhgx3FErFPVo9LMzsdGT3Kx1ESQEHCq6ecjiaOddLiBSxEah1of/9D Is4/6jbISEHnMjQO16O0mAVq8mLCzJfT541FRKR/llow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=pjHT0b rhwpoSEVkyShhOrb5yyuZNYFY5NVkcyHoJgT8=; b=RdL2GpKlByAiYD6Y6t9r69 XnLgCEyToVUf8xKtmftiWY8UO/+E6NLs+H31sgY74bt0jgZb+qXpv+ESyef6cv5J zwWkeSiW937sNQejY6bGOAJsfGVVXIvpwQSmbgbyN9jBxfUSQYC3Gs0LsLh2shW5 OPv/IXS4Fifb5my2KELR+xvhVe/qBS8p/M0DZvvZVVHkthnhZ+VisHBWLdtKUYWD bZkgs+oZPGw/8g8ktyP83HMkTSqelwlZqwVXRKA9ixib1ljoTzzZZfZiQ3NkOe3/ 2UFLOE/WF9kZl9+JWQcWb0KeKuJnm2Tv0HVomsKWh6cs6sBlg+CmG+Rp3g//FFoA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeftddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesghdtreertddttdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth htvghrnhepueevvdeugefghfekfffgjeefgfdvieevvdetudeuhffgkeeiueejgeejuddt iedunecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepkeegrddvtddvrdeike drjeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhgsrghkkhgvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id B12F03060F09; Sat, 30 May 2020 09:04:24 -0400 (EDT) From: Marius Bakke In-Reply-To: <87a720au0g.fsf@alice.lan> References: <87a720au0g.fsf@alice.lan> Date: Sat, 30 May 2020 15:04:23 +0200 Message-ID: <87mu5p1smg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Edouard Klein writes: > * gnu/packages/python-web.scm (python-flask-restx): New variable. > * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. > * gnu/packages/python-check.scm (python-pytest-flask): New variable. > * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. Can you split this into four different patches? Please also fix the indentation on each package. > diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm > index 50911673b2..70db8445ee 100644 > --- a/gnu/packages/python-check.scm > +++ b/gnu/packages/python-check.scm > @@ -362,6 +362,55 @@ framework.") > framework.") > (license license:expat))) >=20=20 > +(define-public python-pytest-benchmark > + (package > + (name "python-pytest-benchmark") > + (version "3.2.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pytest-benchmark" version)) > + (sha256 > + (base32 > + "0a4mpb4j73dsyk47hd1prrjpfk4r458s102cn80rf253jg818hxd")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-pathlib2" ,python-pathlib2) > + ("python-py-cpuinfo" ,python-py-cpuinfo) > + ("python-pytest" ,python-pytest))) py-cpuinfo should probably be propagated according to setup.py. > + (home-page "https://github.com/ionelmc/pytest-benchmark") > + (synopsis > + "Pytest fixture for benchmarking code") This line break is unnecessary. [...] > +(define-public python-pytest-flask > + (package > + (name "python-pytest-flask") > + (version "1.0.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pytest-flask" version)) > + (sha256 > + (base32 > + "1hln7mwgdzfi5ma0kqfsi768l7p24jhkw8l0imhifwy08nh7hmjd")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-flask" ,python-flask) > + ("python-pytest" ,python-pytest) > + ("python-setuptools-scm" ,python-setuptools-scm) > + ("python-werkzeug" ,python-werkzeug))) > + (home-page > + "https://github.com/pytest-dev/pytest-flask") > + (synopsis > + "Pytest fixtures to test Flask applications") These line breaks are unncessary. > +(define-public python-flask-restx > + (package > + (name "python-flask-restx") > + (version "0.2.0") > + (source > + ;; We fetch from the Git repo because there are no tests in the PyPI > + ;; archive. > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/python-restx/flask-restx") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7")))) > + (build-system python-build-system) > + (propagated-inputs > + `(("python-aniso8601" ,python-aniso8601) > + ("python-flask" ,python-flask) > + ("python-jsonschema" ,python-jsonschema) > + ("python-pytz" ,python-pytz))) > + (native-inputs > + `(("python-blinker" ,python-blinker) > + ("python-faker" ,python-faker) > + ("python-pytest" ,python-pytest) > + ("python-pytest-benchmark" > + ,python-pytest-benchmark) > + ("python-pytest-flask" ,python-pytest-flask) > + ("python-pytest-mock" ,python-pytest-mock))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda _ > + (invoke "pytest" "--benchmark-skip" "-k" > + ;; Those tests need internet access > + "not test_check and not test_valid_value_check")))))) > + (home-page > + "https://github.com/python-restx/flask-restx") This line break is unnecessary. > +(define-public python-py-cpuinfo > + (package > + (name "python-py-cpuinfo") > + (version "5.0.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "py-cpuinfo" version)) > + (sha256 > + (base32 > + "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic")))) > + (build-system python-build-system) > + (home-page > + "https://github.com/workhorsy/py-cpuinfo") This line break is unnecessary. > + (synopsis "Get CPU info with pure Python 2 & 3") Maybe just "Get CPU info with Python" > + (description > + "This module returns the CPU info by using the best sources of infor= mation for > + your OS.") s/OS/operating system/ Can you send updated patches? Please also make sure they are in the correct order, i.e. this last package must come before 'python-pytest-benchmark'. Thanks in advance! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7SWdcACgkQoqBt8qM6 VPpOUwf+OnayXWnOq+2/NKkocRHaML9VNQH9JCwbbO+bFkdihL6UBYx2yu+X7kID qrIxGG+Ki2FjhhBsOvGpVlfeCPQXlCUQ06tS4+oStkA2rrKBZdT85O2DRoPnBHL3 2fuY05xNW8/a39EypOpF9xycQ35gBwN+bHhACUP8xzlUENo2ug76PCa8jcUZfT4d 9Zh/HxTkld5MxRsssnS0K4QdEowsDdAzEEzj8w/pGVKD4NBXTuQRLc3UCrhxb76e 10STPvEwF22RDyAkkALUnmgR5gKmWZsnk7QnWjHLGuxYa82bJq3B3u1o4su9+FVe bCIE0zDvWBbs0neAYk1htweKlX0vOQ== =F/a1 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo References: <87a720au0g.fsf@alice.lan> In-Reply-To: <87a720au0g.fsf@alice.lan> Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159109089011729 (code B ref 41459); Tue, 02 Jun 2020 09:42:01 +0000 Received: (at 41459) by debbugs.gnu.org; 2 Jun 2020 09:41:30 +0000 Received: from localhost ([127.0.0.1]:37927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3QI-000337-3R for submit@debbugs.gnu.org; Tue, 02 Jun 2020 05:41:30 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3QF-00032y-TW for 41459@debbugs.gnu.org; Tue, 02 Jun 2020 05:41:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1591090884; cv=none; d=zohomail.com; s=zohoarc; b=nT3TNiB9qOYFhDrTVtXKLwEww3GyZoBjv01TJZRzqGdcUPdba2jJnO2COnYgl8aT37hxyrH91mNFX410qe4p8IU6gzlEgeqpZjfYlwFnyWde9JvwQf0MDGzKLMCi3bPe7Ctt8BSzCq3BZjO+CWRLFgIkWGMf5LBzBUpfQbCl53c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591090884; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=Ax/x8p9E2JDeZIBfzI8zV2viriD3UQp+01srMzT3nng=; b=eKCnFjwlBFCEFCvdF0T2R7K6lTscXqkUNAT+SQ0Xi0vDEYVJKcMGAOt2GPKl2p4M83ISjni2dupllmDXKny7arOii9W+StvVUlolwvabf/wkfTZS15RfGy3RoG5fPWDFnctooJh/8SXimTOsbMQUfjgBhMUo5DRPDAabkEm4wJU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1591090884; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Ax/x8p9E2JDeZIBfzI8zV2viriD3UQp+01srMzT3nng=; b=W/wWukK2IOzME9Qc2RhITi3ly7DKKav0mE/JmWkRgphUzv/XMbrVD5ZX6sludOXH Tr3egk00nSk6Hr3KBaIciutAAuL1zb2O1E7pE7/Qgzb/tqkv4tuDEs16NXIYkUjuzjE om5IA0z/2mUEXYq2vVyTDoMqAeqcP5Db08Jia6Ss= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1591090882501549.6578802798768; Tue, 2 Jun 2020 02:41:22 -0700 (PDT) User-agent: mu4e 1.4.6; emacs 26.3 From: Edouard Klein Message-ID: <87o8q1dcug.fsf@alice.lan> Date: Tue, 02 Jun 2020 11:41:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6aa666430a..5cd3abd956 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19458,6 +19458,25 @@ using =E2=80=9C=3D=E2=80=9D characters. However t= his conveys no benefit so many protocols choose to use Base64 without the =E2=80=9C=3D=E2=80=9D padding.") (license license:asl2.0))) =20 +(define-public python-py-cpuinfo + (package + (name "python-py-cpuinfo") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "py-cpuinfo" version)) + (sha256 + (base32 + "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic")))) + (build-system python-build-system) + (home-page "https://github.com/workhorsy/py-cpuinfo") + (synopsis "Get CPU info with Python") + (description + "This module returns the CPU info by using the best sources of inform= ation for + your Operating System.") + (license license:expat))) + (define-public python-canonicaljson (package (name "python-canonicaljson") --=20 2.26.2 From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH 2/4] gnu: Add python-pytest-benchmark References: <87a720au0g.fsf@alice.lan> In-Reply-To: <87a720au0g.fsf@alice.lan> Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 09:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159109105812038 (code B ref 41459); Tue, 02 Jun 2020 09:45:01 +0000 Received: (at 41459) by debbugs.gnu.org; 2 Jun 2020 09:44:18 +0000 Received: from localhost ([127.0.0.1]:37944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3T0-000385-Kr for submit@debbugs.gnu.org; Tue, 02 Jun 2020 05:44:18 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3Sx-00037x-NQ for 41459@debbugs.gnu.org; Tue, 02 Jun 2020 05:44:16 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1591091054; cv=none; d=zohomail.com; s=zohoarc; b=WXUKEkxxW9/mPUy/Rv7wSY1QSGj359VycZ1rcGDCBjD+kSdq7a/r1vQRem+ivHjEkZRa/3qf03RI+7T/DEjiTYWY4pHlkKOwo0HjyQhU4IFaIY6Kw0FCMROrufRfzx2RNucAH+bfsNPDu3bpwBAuhH6aocS+JKDajk/s9b9uXmU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591091054; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=k41sQm1CayNGJ3j4gta8FV3PqejmYk9nl+natqf+9MM=; b=mVF9tQL8+yA8vRUZaLWYPhVQbXyWl3Iyl+3zmkDbs0XXg5PcYtww8JqccrpUkcA3IFOEj9S45lN9zNFav0laXspji4dRWJtoR4NfKqOSNK3VcE3jEUPPysluJ248F5CuvO8YEoVc4Ew8D8xRXwie0iF9g2fIcVjHn8cH97TN4KY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1591091054; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=k41sQm1CayNGJ3j4gta8FV3PqejmYk9nl+natqf+9MM=; b=RLzs9H5w6RDH/4v+XnYjR7HNl7kztxbnWe/tlpCpNC+wOlOc7+Ayw5Gc7Nos6BNF QfxJ3BbEvoff5GVLofsduKPInGZn6faVajwryUbbwQKhq1BR4JYSV4pPgJBP1zYJp0E vqLKIvXpz48autz81zAcTAN8P60NDe6Zhx4adtCQ= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1591091053630673.9445010321925; Tue, 2 Jun 2020 02:44:13 -0700 (PDT) From: Edouard Klein Date: Tue, 02 Jun 2020 11:44:08 +0200 Message-ID: <87img9dcpj.fsf@alice.lan> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1071abdbad..b13b750bbd 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -360,6 +360,30 @@ framework.") for the @code{pytest} framework.") (license license:expat))) +(define-public python-pytest-benchmark + (package + (name "python-pytest-benchmark") + (version "3.2.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-benchmark" version)) + (sha256 + (base32 + "0a4mpb4j73dsyk47hd1prrjpfk4r458s102cn80rf253jg818hxd")))) + (build-system python-build-system) + (propagated-inputs + `(("python-py-cpuinfo" ,python-py-cpuinfo))) + (native-inputs + `(("python-pathlib2" ,python-pathlib2) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/ionelmc/pytest-benchmark") + (synopsis "Pytest fixture for benchmarking code") + (description + "This pytest fixture will group the tests into rounds that are calibrated to +the chosen timer.") + (license license:bsd-2))) + (define-public python-codacy-coverage (package (name "python-codacy-coverage") -- 2.26.2 Date: Tue, 02 Jun 2020 11:44:08 +0200 Message-ID: <87k10pdcpj.fsf@alice.lan> From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] (no subject) References: <87a720au0g.fsf@alice.lan> In-Reply-To: <87a720au0g.fsf@alice.lan> Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159109110612156 (code B ref 41459); Tue, 02 Jun 2020 09:46:02 +0000 Received: (at 41459) by debbugs.gnu.org; 2 Jun 2020 09:45:06 +0000 Received: from localhost ([127.0.0.1]:37948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3Tl-0003A0-UE for submit@debbugs.gnu.org; Tue, 02 Jun 2020 05:45:06 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3Tk-00039q-D9 for 41459@debbugs.gnu.org; Tue, 02 Jun 2020 05:45:04 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1591091103; cv=none; d=zohomail.com; s=zohoarc; b=etPtYH/r1XMvNKRLGa8SKKjKTqx3UErLEq27Uxsz1j0O7PfJa6AiS3QIh0oh2jIwBCje/78shpwYmvWAnmcFHpzmJqyKh7PQX9vCxy5VG3LlAe7LtHKYWxgF1yxNI5fuzpfeueGdEMNSLpOz6Sxifpswcvd3RFWeQhvh0WeX6Y0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591091103; h=Content-Type:Date:From:MIME-Version:Message-ID:To; bh=zaLQuzqTP8NE47GUKkMxli6fqxCPbqVcH17L04SwWQQ=; b=n/82rOkaxTYq99z1bKIw2O64sCHmR77EpxyubITNwOF/ufGI9nuAL1+DkUaUlMy3SD5ph1y2A7UugLhos27kTloOcj5TL8neAIY6RU2nyFICysbZBjN3d7ao6A+PJJheIupJ8bKEHHMsUUKysgtbFf21ZL6lIU61yzhwHa0shj0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1591091103; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Date:Message-ID:MIME-Version:Content-Type; bh=zaLQuzqTP8NE47GUKkMxli6fqxCPbqVcH17L04SwWQQ=; b=bqY+5T9CasBYAUxNbtZtNzce45f3KOna+WbUTZJN4kz8cueMgTu5z1HyUbiCTtK1 pu622QJJwOfIpOyRuczKErODt2k1RTfXA3IC/XeT+WST8uhuAAq2Hfsi3DvJ70437Gd oNQoyxdRVZ9Xz1/q9SsSQ9edNio3V9k5YuY+8q0Y= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1591091102434950.1630281736061; Tue, 2 Jun 2020 02:45:02 -0700 (PDT) From: Edouard Klein Date: Tue, 02 Jun 2020 11:44:56 +0200 Message-ID: <87ftbddco7.fsf@alice.lan> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Subject: [PATCH 3/4] gnu: Add python-pytest-flask * gnu/packages/python-check.scm (python-pytest-flask): New variable. --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 2 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: beaver-labs.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.11 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [136.143.188.11 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Subject: [PATCH 3/4] gnu: Add python-pytest-flask * gnu/packages/python-check.scm (python-pytest-flask): New variable. --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b13b750bbd..d7bed91a04 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -384,6 +384,30 @@ for the @code{pytest} framework.") the chosen timer.") (license license:bsd-2))) +(define-public python-pytest-flask + (package + (name "python-pytest-flask") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-flask" version)) + (sha256 + (base32 + "1hln7mwgdzfi5ma0kqfsi768l7p24jhkw8l0imhifwy08nh7hmjd")))) + (build-system python-build-system) + (native-inputs + `(("python-flask" ,python-flask) + ("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-werkzeug" ,python-werkzeug))) + (home-page + "https://github.com/pytest-dev/pytest-flask") + (synopsis "Pytest fixtures to test Flask applications") + (description + "This pytest plugin provides some fixtures to simplify app testing.") + (license license:expat))) + (define-public python-codacy-coverage (package (name "python-codacy-coverage") -- 2.26.2 Date: Tue, 02 Jun 2020 11:44:56 +0200 Message-ID: <87h7vtdco7.fsf@alice.lan> From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] (no subject) References: <87a720au0g.fsf@alice.lan> In-Reply-To: <87a720au0g.fsf@alice.lan> Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159109122512405 (code B ref 41459); Tue, 02 Jun 2020 09:48:01 +0000 Received: (at 41459) by debbugs.gnu.org; 2 Jun 2020 09:47:05 +0000 Received: from localhost ([127.0.0.1]:37958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3Vh-0003E1-EL for submit@debbugs.gnu.org; Tue, 02 Jun 2020 05:47:05 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3Vf-0003Dq-EO for 41459@debbugs.gnu.org; Tue, 02 Jun 2020 05:47:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1591091125; cv=none; d=zohomail.com; s=zohoarc; b=jkwRM/E+6VYiqSUxNNVecvy4hzCUKFgnKSZFwJ3+YLthaISHLNq0O2gTIvSpbH9se2dPK3hEFptF8zUxvR3J1qe5CIMxFeyWWRhVacIzb03rENgEDIw20eKSn1dpJBjx5V4Zyyo3D/seBpiUp/Hfk5xFYd6u7YOCoC+XeGSTRyQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591091125; h=Content-Type:Date:From:MIME-Version:Message-ID:To; bh=HjBehgmS65BQdfExFerqNcoEju85ZxytYNAXR9sgKVU=; b=gXuMHIL5/syQ2dNaFrB7Xos19hTN9raueu+BHxFKBtshPsNctz7FPBaUP/vvDF/2jzfuE0i/baWezZvenLdWGWgYI5Vmad8D7OeUEp0B2z29vczExZYbXWIxKorsaCvIWV4Fbi4NAxyQNNj/5a+6jT4Vk2YRKcmMk2MZ60el8+o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1591091125; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Date:Message-ID:MIME-Version:Content-Type; bh=HjBehgmS65BQdfExFerqNcoEju85ZxytYNAXR9sgKVU=; b=XvE/cPu8UVye846MwMXiFN1RYdIPerDgsxuFY7SjRUiSB5m4tS1sumhvaSSu0t25 z822BlQTOdoo/KQokGmeX6bo3093YMM22WUBlpdJ4oH/0qGRYIJ7uoOtz4Uvu2DsND2 7kkC5D+93KTW3U/hfuSgVtANial3CEa836HPjzS0= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1591091123653276.3126385992558; Tue, 2 Jun 2020 02:45:23 -0700 (PDT) From: Edouard Klein Date: Tue, 02 Jun 2020 11:45:18 +0200 Message-ID: <87d06hdcnl.fsf@alice.lan> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Subject: [PATCH 4/4] gnu: Add python-flask-restx From 38a64901c9dcf53b4b32dd83bd6b50c4e4ea4d52 Mon Sep 17 00:00:00 2001 * gnu/packages/python-web.scm (python-flask-restx): New variable. --- gnu/packag [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: beaver-labs.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.11 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [136.143.188.11 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Subject: [PATCH 4/4] gnu: Add python-flask-restx >From 38a64901c9dcf53b4b32dd83bd6b50c4e4ea4d52 Mon Sep 17 00:00:00 2001 * gnu/packages/python-web.scm (python-flask-restx): New variable. --- gnu/packages/python-web.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 61d21418d4..f8c61b8a53 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4024,3 +4024,51 @@ request/response web apps to larger, grown applications.") than 326,000 known user-agents. Users can pick a random one, or select one based on filters.") (license license:expat))) + +(define-public python-flask-restx + (package + (name "python-flask-restx") + (version "0.2.0") + (source + ;; We fetch from the Git repo because there are no tests in the PyPI + ;; archive. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-restx/flask-restx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aniso8601" ,python-aniso8601) + ("python-flask" ,python-flask) + ("python-jsonschema" ,python-jsonschema) + ("python-pytz" ,python-pytz))) + (native-inputs + `(("python-blinker" ,python-blinker) + ("python-faker" ,python-faker) + ("python-pytest" ,python-pytest) + ("python-pytest-benchmark" + ,python-pytest-benchmark) + ("python-pytest-flask" ,python-pytest-flask) + ("python-pytest-mock" ,python-pytest-mock))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "--benchmark-skip" "-k" + ;; Those tests need internet access + "not test_check and not test_valid_value_check")))))) + (home-page "https://github.com/python-restx/flask-restx") + (synopsis + "Framework for fast, easy and documented API development with Flask") + (description + "Flask-RESTX is an extension for Flask that adds support for quickly building +REST APIs. Flask-RESTX encourages best practices with minimal setup. If you are familiar + with Flask, Flask-RESTX should be easy to pick up. It provides a coherent collection of +decorators and tools to describe your API and expose its documentation properly using +Swagger.") + (license license:bsd-3))) -- 2.26.2 Date: Tue, 02 Jun 2020 11:45:18 +0200 Message-ID: <87eeqxdcnl.fsf@alice.lan> From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH] gnu: Add python-flask-restx Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jun 2020 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159109238922436 (code B ref 41459); Tue, 02 Jun 2020 10:07:01 +0000 Received: (at 41459) by debbugs.gnu.org; 2 Jun 2020 10:06:29 +0000 Received: from localhost ([127.0.0.1]:37962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3oT-0005pn-3B for submit@debbugs.gnu.org; Tue, 02 Jun 2020 06:06:29 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg3oR-0005pf-44 for 41459@debbugs.gnu.org; Tue, 02 Jun 2020 06:06:27 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1591092384; cv=none; d=zohomail.com; s=zohoarc; b=L9fkJyIJ7jtuYWYJDsGiXxmDMXXLjPTXtGiqceKPoL8C3+TCs97BeG5K5XeMOOBMwmYVY5XWsZhraqQQnfKPD55szlly7Yr11hQZ2+gItHCuCWA8UAX+NYrjJ3F/di4A68+L6+lZdoDw+phryzdrWE9+tzvMYG2FjN4KLI7gYnc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591092384; h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Zm7s8Pk5veLCoIJPo8cuR2J9IEbx7DfZHPFIrHrDdQ0=; b=jOsgcdCpj5ouD0lvkqOzFQPRgZtKh29s2x8s9rQShlLgvnqHzOM6bE28CEjHUrjk3v3csN8MnEnG9leXculLSPibdZMLd6JORlgn/70Dw49DmbVie9/FYPTGB1NB69xDd9GzFHpoiaHd11qw9vaC0BdsEkjx9JVZv4aX8h80BVM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1591092384; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:To:Subject:In-reply-to:Message-ID:Date:MIME-Version:Content-Type; bh=Zm7s8Pk5veLCoIJPo8cuR2J9IEbx7DfZHPFIrHrDdQ0=; b=fJMTliLsq9yE2nBRsP6PXpVoUi62ZJgkDL12rmrLg5wkifT2aHDWfap5SJonfxOH 7NCkrgMneHEN4DGWIACFHj3VceyFuGe435SP0l9YqNWBBWcMrrzpiSVGb0FV7Fj2Oha 73f6iO0yobMZ2ToRe9k+nJ/y+Rysrt5XUNQm2Bzg= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1591092382194456.7317428509773; Tue, 2 Jun 2020 03:06:22 -0700 (PDT) References: <87a720au0g.fsf@alice.lan> <87mu5p1smg.fsf@gnu.org> User-agent: mu4e 1.4.6; emacs 26.3 From: Edouard Klein In-reply-to: <87mu5p1smg.fsf@gnu.org> Message-ID: <875zc9dbos.fsf@alice.lan> Date: Tue, 02 Jun 2020 12:06:11 +0200 MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Thank you for reviewing the commits. For the indentation, I highlighted the changes in emacs and M-x indent-region, but it did not change anything. Is something wrong with my emacs config ? Cheers, Edouard Marius Bakke writes: > Edouard Klein writes: > >> * gnu/packages/python-web.scm (python-flask-restx): New variable. >> * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. >> * gnu/packages/python-check.scm (python-pytest-flask): New variable. >> * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. > > Can you split this into four different patches? > > Please also fix the indentation on each package. > >> diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm >> index 50911673b2..70db8445ee 100644 >> --- a/gnu/packages/python-check.scm >> +++ b/gnu/packages/python-check.scm >> @@ -362,6 +362,55 @@ framework.") >> framework.") >> (license license:expat))) >> >> +(define-public python-pytest-benchmark >> + (package >> + (name "python-pytest-benchmark") >> + (version "3.2.3") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "pytest-benchmark" version)) >> + (sha256 >> + (base32 >> + "0a4mpb4j73dsyk47hd1prrjpfk4r458s102cn80rf253jg818hxd")))) >> + (build-system python-build-system) >> + (native-inputs >> + `(("python-pathlib2" ,python-pathlib2) >> + ("python-py-cpuinfo" ,python-py-cpuinfo) >> + ("python-pytest" ,python-pytest))) > > py-cpuinfo should probably be propagated according to setup.py. > >> + (home-page "https://github.com/ionelmc/pytest-benchmark") >> + (synopsis >> + "Pytest fixture for benchmarking code") > > This line break is unnecessary. > > [...] > >> +(define-public python-pytest-flask >> + (package >> + (name "python-pytest-flask") >> + (version "1.0.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "pytest-flask" version)) >> + (sha256 >> + (base32 >> + "1hln7mwgdzfi5ma0kqfsi768l7p24jhkw8l0imhifwy08nh7hmjd")))) >> + (build-system python-build-system) >> + (native-inputs >> + `(("python-flask" ,python-flask) >> + ("python-pytest" ,python-pytest) >> + ("python-setuptools-scm" ,python-setuptools-scm) >> + ("python-werkzeug" ,python-werkzeug))) >> + (home-page >> + "https://github.com/pytest-dev/pytest-flask") >> + (synopsis >> + "Pytest fixtures to test Flask applications") > > These line breaks are unncessary. > >> +(define-public python-flask-restx >> + (package >> + (name "python-flask-restx") >> + (version "0.2.0") >> + (source >> + ;; We fetch from the Git repo because there are no tests in the PyPI >> + ;; archive. >> + (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://github.com/python-restx/flask-restx") >> + (commit version))) >> + (file-name (git-file-name name version)) >> + (sha256 >> + (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7")))) >> + (build-system python-build-system) >> + (propagated-inputs >> + `(("python-aniso8601" ,python-aniso8601) >> + ("python-flask" ,python-flask) >> + ("python-jsonschema" ,python-jsonschema) >> + ("python-pytz" ,python-pytz))) >> + (native-inputs >> + `(("python-blinker" ,python-blinker) >> + ("python-faker" ,python-faker) >> + ("python-pytest" ,python-pytest) >> + ("python-pytest-benchmark" >> + ,python-pytest-benchmark) >> + ("python-pytest-flask" ,python-pytest-flask) >> + ("python-pytest-mock" ,python-pytest-mock))) >> + (arguments >> + `(#:phases >> + (modify-phases %standard-phases >> + (replace 'check >> + (lambda _ >> + (invoke "pytest" "--benchmark-skip" "-k" >> + ;; Those tests need internet access >> + "not test_check and not test_valid_value_check")))))) >> + (home-page >> + "https://github.com/python-restx/flask-restx") > > This line break is unnecessary. > >> +(define-public python-py-cpuinfo >> + (package >> + (name "python-py-cpuinfo") >> + (version "5.0.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (pypi-uri "py-cpuinfo" version)) >> + (sha256 >> + (base32 >> + "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic")))) >> + (build-system python-build-system) >> + (home-page >> + "https://github.com/workhorsy/py-cpuinfo") > > This line break is unnecessary. > >> + (synopsis "Get CPU info with pure Python 2 & 3") > > Maybe just "Get CPU info with Python" > >> + (description >> + "This module returns the CPU info by using the best sources of information for >> + your OS.") > > s/OS/operating system/ > > Can you send updated patches? Please also make sure they are in the > correct order, i.e. this last package must come before > 'python-pytest-benchmark'. > > Thanks in advance! From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH 1/4] gnu: Add python-py-cpuinfo Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Edouard Klein , 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159285443632336 (code B ref 41459); Mon, 22 Jun 2020 19:34:01 +0000 Received: (at 41459) by debbugs.gnu.org; 22 Jun 2020 19:33:56 +0000 Received: from localhost ([127.0.0.1]:34586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSCa-0008PU-HA for submit@debbugs.gnu.org; Mon, 22 Jun 2020 15:33:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSCW-0008PC-1O for 41459@debbugs.gnu.org; Mon, 22 Jun 2020 15:33:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47603) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnSCQ-0000pj-JP; Mon, 22 Jun 2020 15:33:46 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:56910 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnSCQ-0003s3-2U; Mon, 22 Jun 2020 15:33:46 -0400 From: Marius Bakke In-Reply-To: <87o8q1dcug.fsf@alice.lan> References: <87a720au0g.fsf@alice.lan> <87o8q1dcug.fsf@alice.lan> Date: Mon, 22 Jun 2020 21:33:43 +0200 Message-ID: <874kr2dhew.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Edouard Klein writes: > * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. Applied with a minor tweak to the description. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xB5cACgkQoqBt8qM6 VPqJyQf/QiW2MkbB1r75g7oi3Wpq7wIIf5XM7/fhZAIomuy8Y4Mw2CCYFtvBQRTu nZTnaCsGjaiAzOKT4TL9tqYflss1q2VlQjC4gmcmALv2AFh5vajYPolTHSlZTiJ0 gb0AaImfSxuVt70MO2/4ix+wgUiQZEfy8F8PwzxNjiCYOUsbV7kOovoiOlQgzPra F+M9mdCBqYzQ1FiZUK2rpYnOrqB0Y/L9IpdsIlsl5Eg2NG6UhU0XNnawrc6iaQrI 9/bA6Nt0/9HoRO+Gnp65y+jBPQ7OFKKy6MM6uhZuNrobUju1oV/BTTUlrqCPtSqE 1dSnbHXtZhdoGax4HcJ6iVvWnSfgnw== =cSy6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] [PATCH 2/4] gnu: Add python-pytest-benchmark Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Edouard Klein , 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.159285458832568 (code B ref 41459); Mon, 22 Jun 2020 19:37:01 +0000 Received: (at 41459) by debbugs.gnu.org; 22 Jun 2020 19:36:28 +0000 Received: from localhost ([127.0.0.1]:34590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSF1-0008TE-UA for submit@debbugs.gnu.org; Mon, 22 Jun 2020 15:36:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSF0-0008T1-9h for 41459@debbugs.gnu.org; Mon, 22 Jun 2020 15:36:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47625) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnSEv-0001Bf-1g; Mon, 22 Jun 2020 15:36:21 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:56982 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnSEu-0000TI-IZ; Mon, 22 Jun 2020 15:36:20 -0400 From: Marius Bakke In-Reply-To: <87img9dcpj.fsf@alice.lan> References: <87a720au0g.fsf@alice.lan> <87img9dcpj.fsf@alice.lan> Date: Mon, 22 Jun 2020 21:36:18 +0200 Message-ID: <871rm6dhal.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Edouard Klein writes: > * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. Applied with this minor change: (description - "This pytest fixture will group the tests into rounds that are calibrated to -the chosen timer.") + "This package provides a pytest fixture that will group the tests into +rounds that are calibrated to the chosen timer.") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xCDIACgkQoqBt8qM6 VPp2Owf/b+KwlKUqXLTVECW75i9cTDkbuZRksSwoU1gjaeM0X/nyzdI2LKmy3cxM iwRZqOJ+iXUKwvI5tK98Bg5gJWcT/dDXrQcT2yLDWbyghtDXa607fRc5SaUr7NlG c1w3dnMSsvZZcoWjeO3dg4Bz+FRZJTxZFfnjBECXu7g9BKdk0z7oIIRuy/jeo+LL EdEyGB7aflzeA+tRtxw2OVt9IXFK03i3kW0QnJM63KhEcoTgOsi8hjiSqKAnwY8M +l8pSOAPwMA8xsD7VQGeflsvnGrakLv6xWX0dW1RheB7Of1A+7KUvEgdg/dKW3Ts yJV0aV8HIb/yMAYmAJbMq184VK9X4A== =+GV4 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:09:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41459] (no subject) Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 19:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Edouard Klein , 41459@debbugs.gnu.org Received: via spool by 41459-submit@debbugs.gnu.org id=B41459.1592854793398 (code B ref 41459); Mon, 22 Jun 2020 19:40:02 +0000 Received: (at 41459) by debbugs.gnu.org; 22 Jun 2020 19:39:53 +0000 Received: from localhost ([127.0.0.1]:34594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSIL-00006L-EQ for submit@debbugs.gnu.org; Mon, 22 Jun 2020 15:39:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSIJ-000067-8E for 41459@debbugs.gnu.org; Mon, 22 Jun 2020 15:39:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47720) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnSID-0001dj-Ug; Mon, 22 Jun 2020 15:39:45 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:57088 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnSIB-0000gz-T1; Mon, 22 Jun 2020 15:39:45 -0400 From: Marius Bakke In-Reply-To: <87ftbddco7.fsf@alice.lan> References: <87a720au0g.fsf@alice.lan> <87ftbddco7.fsf@alice.lan> Date: Mon, 22 Jun 2020 21:39:42 +0200 Message-ID: <87y2oec2kh.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) --=-=-= Content-Type: text/plain Edouard Klein writes: > Subject: [PATCH 3/4] gnu: Add python-pytest-flask > * gnu/packages/python-check.scm (python-pytest-flask): New variable. Applied with a minor tweak to the description. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xCP4ACgkQoqBt8qM6 VPoG4AgAw13ymyH7lc9MyaXKdiR43al8z2sItVGKnjuzCa8LkQ1+KggLLAiKate8 SDP6yWLmTazxBSJLtVeN7kzFZOEMX3VOi6CM4naun8pCfMokx8OmSu3Wiok8RSG7 jeHSK5RDEhjRg7bDL+hUCfsJIir0pAJKETDPjdgbmg8OTZeB4hlsiE3Chbw0GH83 IsLjbTAWL/478VTpvz5IESwqc82gpvSM07xtlY4hZez0FaSzjlI9lf3oniJkENkc kXMk3VG82hYBaNhdIMggGPHlbS983+mT2Uboe47yie5eX2hn5ENXXyScWVvE5kQG +PxmJN+sSOO9xS2K1leuvjuxonc7QA== =BfBU -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:09:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Edouard Klein Subject: bug#41459: closed (Re: [bug#41459] (no subject)) Message-ID: References: <87v9jic2ey.fsf@gnu.org> <87a720au0g.fsf@alice.lan> X-Gnu-PR-Message: they-closed 41459 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41459@debbugs.gnu.org Date: Mon, 22 Jun 2020 19:44:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1592855041-778-1" This is a multi-part message in MIME format... ------------=_1592855041-778-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41459: [PATCH] gnu: Add python-flask-restx which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41459@debbugs.gnu.org. --=20 41459: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41459 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1592855041-778-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41459-done) by debbugs.gnu.org; 22 Jun 2020 19:43:12 +0000 Received: from localhost ([127.0.0.1]:34598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSLX-0000BP-Vp for submit@debbugs.gnu.org; Mon, 22 Jun 2020 15:43:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSLX-0000BC-3g for 41459-done@debbugs.gnu.org; Mon, 22 Jun 2020 15:43:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47745) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnSLR-00026d-RL; Mon, 22 Jun 2020 15:43:05 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:57262 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnSLQ-00012T-JY; Mon, 22 Jun 2020 15:43:05 -0400 From: Marius Bakke To: Edouard Klein , 41459-done@debbugs.gnu.org Subject: Re: [bug#41459] (no subject) In-Reply-To: <87d06hdcnl.fsf@alice.lan> References: <87a720au0g.fsf@alice.lan> <87d06hdcnl.fsf@alice.lan> Date: Mon, 22 Jun 2020 21:43:01 +0200 Message-ID: <87v9jic2ey.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 41459-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) --=-=-= Content-Type: text/plain Edouard Klein writes: > Subject: [PATCH 4/4] gnu: Add python-flask-restx >>>From 38a64901c9dcf53b4b32dd83bd6b50c4e4ea4d52 Mon Sep 17 00:00:00 2001 > * gnu/packages/python-web.scm (python-flask-restx): New variable. Applied, thanks! I added punctuation in the commit message for all four patches. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xCcUACgkQoqBt8qM6 VPpaRwgAj3k6iwD9RdM+kAj3PjC9RLStA+nee+gRFpVMw7+zhX/idi/iXq1TcHqe 1SV6QyXeITOv59D1QISP/qYa2K0HxF+5YXNEzvE0GU8LJHuJ/u4rRuUAqtkuv5ky HX950dHjU2tw7X0b7Lx5u8lRBdmlOXokSM560Hc5KFiNDgIsSatkO7su67dbxUkv N76YLEy/U6mJli82qdM2lD1byEQ1Of44ueMLJ1d/0rUbZvcNL8AcZWJH8F4mXtrt uuaPg8QVZ7HdQ4i5dp9DSG2ZT3gIK62Ecqp0cZauTMLM6JQpOwYnWsJQwBlkPB2G EJGXwO187IBOSOu+5XFyVl7ASZtQWA== =mqck -----END PGP SIGNATURE----- --=-=-=-- ------------=_1592855041-778-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 May 2020 15:07:07 +0000 Received: from localhost ([127.0.0.1]:60026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc9GN-0004eA-GF for submit@debbugs.gnu.org; Fri, 22 May 2020 11:07:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:44806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc9GM-0004e3-GF for submit@debbugs.gnu.org; Fri, 22 May 2020 11:07:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc9GM-0004Oz-Ca for guix-patches@gnu.org; Fri, 22 May 2020 11:07:06 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jc9GL-0000Pb-45 for guix-patches@gnu.org; Fri, 22 May 2020 11:07:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590160021; cv=none; d=zohomail.com; s=zohoarc; b=XObx0PV0wdZwVJyOFYHf5TfpWvdqEpTIyz8NGLskV7X2yMRd7R4miyHEi06ftIe+0tP1/Zi3Hf4AcXCLb3010TxmDI6Hut4GwGrZx1tE7aYzAkN2zvAgD9/Wld0+rBsg7ul/+QPBCpU67upchqJusfsyJ0BPAgIJyurO2MXH9w0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590160021; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=W31u2OhslB0rypFS8hDS/SdN1gme6GJQcprwwHDXq6E=; b=Uxc29XV1AxLtAa/aitYs4LXTsWKCVmae9Ev3325RKVjTPurzBZ7ySE2HnmOVwoC84AoO/grDRa8BfgCbws5FbEz/FquE6//6mVq16h+AiUEqgY+rb5BuBm94zfsAw+poiEr3HE0CaGawbpXyKWlw56Ve6bFQSKWiGvLw2fbV4vk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590160021; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; bh=W31u2OhslB0rypFS8hDS/SdN1gme6GJQcprwwHDXq6E=; b=XRs0KHx6EEuTXCSDJhxLP16mg/0+lEHECZAl8iCJGYW0msGwdY1mA5dBDtmKhZfW o0Ay/EnYyi1obk0z247uBOCroSFSOakqjEERrHgZ//4pSE3Vx1Axg6HlmNeLUOK2EmW XPgyVVZVb2RSGPyZfVSPBjhhNuTwa1HiChzFVruQ= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1590160019554511.87243971265775; Fri, 22 May 2020 08:06:59 -0700 (PDT) User-agent: mu4e 1.4.6; emacs 26.3 From: Edouard Klein To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-flask-restx Message-ID: <87a720au0g.fsf@alice.lan> Date: Fri, 22 May 2020 17:06:55 +0200 MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 09:10:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/python-web.scm (python-flask-restx): New variable. * gnu/packages/python-check.scm (python-pytest-benchmark): New variable. * gnu/packages/python-check.scm (python-pytest-flask): New variable. * gnu/packages/python-xyz.scm (python-py-cpuinfo): New variable. --- gnu/packages/python-check.scm | 49 +++++++++++++++++++++++++++++++++++ gnu/packages/python-web.scm | 49 +++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 20 ++++++++++++++ 3 files changed, 118 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 50911673b2..70db8445ee 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -362,6 +362,55 @@ framework.") framework.") (license license:expat))) +(define-public python-pytest-benchmark + (package + (name "python-pytest-benchmark") + (version "3.2.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-benchmark" version)) + (sha256 + (base32 + "0a4mpb4j73dsyk47hd1prrjpfk4r458s102cn80rf253jg818hxd")))) + (build-system python-build-system) + (native-inputs + `(("python-pathlib2" ,python-pathlib2) + ("python-py-cpuinfo" ,python-py-cpuinfo) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/ionelmc/pytest-benchmark") + (synopsis + "Pytest fixture for benchmarking code") + (description + "This pytest fixture will group the tests into rounds that are calibrated to +the chosen timer.") + (license license:bsd-2))) + +(define-public python-pytest-flask + (package + (name "python-pytest-flask") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-flask" version)) + (sha256 + (base32 + "1hln7mwgdzfi5ma0kqfsi768l7p24jhkw8l0imhifwy08nh7hmjd")))) + (build-system python-build-system) + (native-inputs + `(("python-flask" ,python-flask) + ("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-werkzeug" ,python-werkzeug))) + (home-page + "https://github.com/pytest-dev/pytest-flask") + (synopsis + "Pytest fixtures to test Flask applications") + (description + "This pytest plugin provides some fixtures to simplify app testing.") + (license license:expat))) + (define-public python-codacy-coverage (package (name "python-codacy-coverage") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 00caf7f229..c1658052d8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4024,3 +4024,52 @@ request/response web apps to larger, grown applications.") than 326,000 known user-agents. Users can pick a random one, or select one based on filters.") (license license:expat))) + +(define-public python-flask-restx + (package + (name "python-flask-restx") + (version "0.2.0") + (source + ;; We fetch from the Git repo because there are no tests in the PyPI + ;; archive. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-restx/flask-restx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aniso8601" ,python-aniso8601) + ("python-flask" ,python-flask) + ("python-jsonschema" ,python-jsonschema) + ("python-pytz" ,python-pytz))) + (native-inputs + `(("python-blinker" ,python-blinker) + ("python-faker" ,python-faker) + ("python-pytest" ,python-pytest) + ("python-pytest-benchmark" + ,python-pytest-benchmark) + ("python-pytest-flask" ,python-pytest-flask) + ("python-pytest-mock" ,python-pytest-mock))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "--benchmark-skip" "-k" + ;; Those tests need internet access + "not test_check and not test_valid_value_check")))))) + (home-page + "https://github.com/python-restx/flask-restx") + (synopsis + "Framework for fast, easy and documented API development with Flask") + (description + "Flask-RESTX is an extension for Flask that adds support for quickly building +REST APIs. Flask-RESTX encourages best practices with minimal setup. If you are familiar + with Flask, Flask-RESTX should be easy to pick up. It provides a coherent collection of +decorators and tools to describe your API and expose its documentation properly using +Swagger.") + (license license:bsd-3))) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b32e7e2a8..d8552276fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20076,6 +20076,26 @@ It builds upon tmux's target and formats to create an object mapping to traverse using multi-select lists, confirmations, free text prompts, completion, etc.") (license license:expat))) +(define-public python-py-cpuinfo + (package + (name "python-py-cpuinfo") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "py-cpuinfo" version)) + (sha256 + (base32 + "0045y6832gqjg63jmw0qj2jwyypgjwr7sfdq3lfv49b6fxpl5xic")))) + (build-system python-build-system) + (home-page + "https://github.com/workhorsy/py-cpuinfo") + (synopsis "Get CPU info with pure Python 2 & 3") + (description + "This module returns the CPU info by using the best sources of information for + your OS.") + (license license:expat))) + (define-public python-daemux (package (name "python-daemux") -- 2.26.2 ------------=_1592855041-778-1--