From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dV0jW-0004s7-U8 for guix-patches@gnu.org; Tue, 11 Jul 2017 15:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dV0jS-0000XC-TT for guix-patches@gnu.org; Tue, 11 Jul 2017 15:22:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dV0jS-0000X6-LH for guix-patches@gnu.org; Tue, 11 Jul 2017 15:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dV0jS-00020P-GI for guix-patches@gnu.org; Tue, 11 Jul 2017 15:22:02 -0400 Subject: [bug#27558] [PATCH] gnu: Add python-ruamel.yaml Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170703034703.9668-1-fredmanglis@gmail.com> References: <20170703034703.9668-1-fredmanglis@gmail.com> Date: Tue, 11 Jul 2017 21:21:38 +0200 Message-ID: <874luilqyl.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Muriithi Frederick Muriuki , 27558@debbugs.gnu.org --=-=-= Content-Type: text/plain Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python-ruamel.yaml, python2-ruamel.yaml): > New variables. [...] > +(define-public python-ruamel.yaml > + (package > + (name "python-ruamel.yaml") > + (version "0.15.16") 0.15.18 is out already, sorry for the slow review! Can you try updating to it? > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "ruamel.yaml" version)) > + (sha256 > + (base32 > + "0yx1a1yqgm1phrmyvqzag5jwivn25ndlnwh2mgwgr7m8skn2h045")))) > + (build-system python-build-system) > + (arguments > + `(;; Tests fail with message: > + ;; ImportError: Failed to import test module: .ruamel > + ;; but the directory .ruamel exists in the environment > + ;; left when the package is built with --keep-failed > + #:tests? #f)) 'python setup.py test' does not work for all packages and may return bogus errors like these. Often you can find hints for how upstream runs their tests in "tox.ini", or CI configuration files like ".travis.yml". tox.ini in this case runs "bash -c 'pytest _test/test_*.py'". Can you try replacing the check phase with a phase that invokes this command? Apart from that looks good! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlllJUIACgkQoqBt8qM6 VPq04AgAjp0Jo457umCb9bMEiP3PYq7LlSQ4NJr2vg/+c0eKV3heq5cqjH9rgBtr LMZso1wpy0i6zpNmIm539Ele1txE4O5Mcqa6lwsjsyVaVtaNpK6AP/VCE8bDIphK eF4v0oTtlUZEur6ObbAGvbu/mM31SEd99g7zpnJ2wnBnRG/URcVfOcnpZqS891jS rzGZTrUzzvvn+bQe8TNcSKRlKypUfQ2bYoNKmGM2e7zkQgv0U5BwgaI7Qrkg2SGt y0auZNqjvb4o/Bf1243ywrBT26Ih8O+UAGNZAq9d7rVtV4B2rn+IVI5uTh3IQSHg cnuBZfmb9prgBp7zv/Sb++o8S6Jnqw== =ZdbD -----END PGP SIGNATURE----- --=-=-=--