guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.


From: Oleg Pykhalov
Subject: [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
Date: Sat, 28 Apr 2018 09:49:48 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Fis,

First of all thank you for this patch!

Fis Trivial <address@hidden> writes:

> * gnu/packages/python.scm (python-yapf): Update to 0.21.0.
> ---
>  gnu/packages/python.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index a5d533b1c..bfba6cd8d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12689,7 +12689,7 @@ and works only with Python 2 and NumPy < 1.9.")
>  (define-public python-yapf
>    (package
>      (name "python-yapf")
> -    (version "0.20.1")
> +    (version "0.21.0")
>      (source
>       (origin
>         (method url-fetch)

Could you take a look on updating a hash, please?

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix build -S python-yapf
;;; note: source file /home/natsu/src/guix/gnu/packages/python.scm
;;;       newer than compiled /home/natsu/src/guix/gnu/packages/python.go
;;; note: source file /home/natsu/src/guix/gnu/packages/python.scm
;;;       newer than compiled 
/home/natsu/.guix-profile/lib/guile/2.2/site-ccache/gnu/packages/python.go
;;; note: source file /home/natsu/src/guix/gnu/packages/python.scm
;;;       newer than compiled 
/run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/python.go
substitute: updating list of substitutes from 'https://berlin.guixsd.org'... 
100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/shvmsa0c5xmy867jmvf11nip9l8xsfgh-yapf-0.21.0.tar.gz.drv
@ build-started 
/gnu/store/shvmsa0c5xmy867jmvf11nip9l8xsfgh-yapf-0.21.0.tar.gz.drv - 
x86_64-linux 
/var/log/guix/drvs/sh//vmsa0c5xmy867jmvf11nip9l8xsfgh-yapf-0.21.0.tar.gz.drv.bz2

Starting download of 
/gnu/store/wdd37ip5920dh2k6g4w7ynzckzsmsj9v-yapf-0.21.0.tar.gz
From https://pypi.io/packages/source/y/yapf/yapf-0.21.0.tar.gz...
following redirection to 
`https://pypi.org/packages/source/y/yapf/yapf-0.21.0.tar.gz'...
following redirection to 
`https://files.pythonhosted.org/packages/source/y/yapf/yapf-0.21.0.tar.gz'...
following redirection to 
`https://files.pythonhosted.org/packages/d0/68/7c0be88aa4cc7daf45294cc41c749dac02600933bf23e41d0d941d17d569/yapf-0.21.0.tar.gz'...
 yapf-0.21.0.tar.gz  128KiB           728KiB/s 00:00 [##################] 100.0%
sha256 hash mismatch for output path 
`/gnu/store/wdd37ip5920dh2k6g4w7ynzckzsmsj9v-yapf-0.21.0.tar.gz'
  expected: 0s7l6afzxvpx39kzd0lwshlaxw8m4fwh4iy0rlmav4vipr3g46dx
  actual:   144gc7d6b1415vh02409rnb8qd5kxi6mxlr7y64d5cizgxbf72kx
@ build-failed 
/gnu/store/shvmsa0c5xmy867jmvf11nip9l8xsfgh-yapf-0.21.0.tar.gz.drv - 1 sha256 
hash mismatch for output path 
`/gnu/store/wdd37ip5920dh2k6g4w7ynzckzsmsj9v-yapf-0.21.0.tar.gz'
  expected: 0s7l6afzxvpx39kzd0lwshlaxw8m4fwh4iy0rlmav4vipr3g46dx
  actual:   144gc7d6b1415vh02409rnb8qd5kxi6mxlr7y64d5cizgxbf72kx
guix build: error: build failed: build of 
`/gnu/store/shvmsa0c5xmy867jmvf11nip9l8xsfgh-yapf-0.21.0.tar.gz.drv' failed
--8<---------------cut here---------------end--------------->8---

Also, you could find useful a ‘guix refresh’ command which will update a
version and a hash of a package in a recipe file.  It could do more, see
https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-refresh.html
--8<---------------cut here---------------start------------->8---
./pre-inst-env guix refresh -u python-yapf
--8<---------------cut here---------------end--------------->8---

Thanks,
Oleg.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]