unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
@ 2018-04-27  6:40 Fis Trivial
  2018-04-28  6:49 ` Oleg Pykhalov
  2018-04-28  7:42 ` Fis Trivial
  0 siblings, 2 replies; 5+ messages in thread
From: Fis Trivial @ 2018-04-27  6:40 UTC (permalink / raw)
  To: 31281


* 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)
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
  2018-04-27  6:40 [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0 Fis Trivial
@ 2018-04-28  6:49 ` Oleg Pykhalov
  2018-04-28  7:27   ` Fis Trivial
  2018-04-28  7:42 ` Fis Trivial
  1 sibling, 1 reply; 5+ messages in thread
From: Oleg Pykhalov @ 2018-04-28  6:49 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31281

[-- Attachment #1: Type: text/plain, Size: 3658 bytes --]

Hello Fis,

First of all thank you for this patch!

Fis Trivial <ybbs.daans@hotmail.com> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
  2018-04-28  6:49 ` Oleg Pykhalov
@ 2018-04-28  7:27   ` Fis Trivial
  2018-04-28 14:19     ` Oleg Pykhalov
  0 siblings, 1 reply; 5+ messages in thread
From: Fis Trivial @ 2018-04-28  7:27 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 31281@debbugs.gnu.org


Oleg Pykhalov writes:

> Hello Fis,
>
> First of all thank you for this patch!
>
> Fis Trivial <ybbs.daans@hotmail.com> 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?
>

Oh, no. What was I thinking... Sorry about that. Will send a new patch.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
  2018-04-27  6:40 [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0 Fis Trivial
  2018-04-28  6:49 ` Oleg Pykhalov
@ 2018-04-28  7:42 ` Fis Trivial
  1 sibling, 0 replies; 5+ messages in thread
From: Fis Trivial @ 2018-04-28  7:42 UTC (permalink / raw)
  To: 31281@debbugs.gnu.org


* gnu/packages/python.scm (python-yapf): Update to 0.21.0.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5d533b1c..9b673192e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12689,14 +12689,14 @@ 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)
        (uri (pypi-uri "yapf" version))
        (sha256
         (base32
-         "0s7l6afzxvpx39kzd0lwshlaxw8m4fwh4iy0rlmav4vipr3g46dx"))))
+         "144gc7d6b1415vh02409rnb8qd5kxi6mxlr7y64d5cizgxbf72kx"))))
     (build-system python-build-system)
     (home-page "https://github.com/google/yapf")
     (synopsis "Formatter for Python code")
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0.
  2018-04-28  7:27   ` Fis Trivial
@ 2018-04-28 14:19     ` Oleg Pykhalov
  0 siblings, 0 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2018-04-28 14:19 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31281@debbugs.gnu.org, 31281-done

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

Fis Trivial <ybbs.daans@hotmail.com> writes:

> Oleg Pykhalov writes:

[…]

>> Could you take a look on updating a hash, please?
>>
>
> Oh, no. What was I thinking... Sorry about that. Will send a new patch.

Thank you.  Pushed as 7fb1530f2f552c8a70aba2ef1b410c749937e7e8

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-28 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  6:40 [bug#31281] [PATCH] gnu: python-yapf: Update to 0.21.0 Fis Trivial
2018-04-28  6:49 ` Oleg Pykhalov
2018-04-28  7:27   ` Fis Trivial
2018-04-28 14:19     ` Oleg Pykhalov
2018-04-28  7:42 ` Fis Trivial

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).