unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32320] [PATCH] gnu: ansible: update to 2.5.7
@ 2018-07-30 19:17 Kenny Ballou
  2018-08-01 14:28 ` Oleg Pykhalov
  2018-08-13 15:28 ` bug#32320: " Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Kenny Ballou @ 2018-07-30 19:17 UTC (permalink / raw)
  To: 32320; +Cc: Kenny Ballou

Update ansible to the latest 2.5.x release.  This also removes the
Python 2 only support for Ansible as this is now stable in the 2.5.x
line of Ansible.

Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
---
 gnu/packages/admin.scm | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 73772166a..b9c8819e0 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1572,34 +1572,32 @@ of supported upstream metrics systems simultaneously.")
 (define-public ansible
   (package
     (name "ansible")
-    (version "2.4.2.0")
+    (version "2.5.7")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "ansible" version))
        (sha256
         (base32
-         "0n3n9py4s3aykiii31xq8g4wmd6693jvby0424pjrg0bna01apri"))
+         "0wbsjjx3xjlm8g50a9j9c6p9rn23jx32yn1234bf5rmj1qgy3p85"))
        (patches (search-patches "ansible-wrap-program-hack.patch"))))
     (build-system python-build-system)
     (native-inputs
-     `(("python2-bcrypt" ,python2-bcrypt)
-       ("python2-pycrypto" ,python2-pycrypto)
-       ("python2-pynacl" ,python2-pynacl)
-       ("python2-httplib2" ,python2-httplib2)
-       ("python2-passlib" ,python2-passlib)
-       ("python2-nose" ,python2-nose)
-       ("python2-mock" ,python2-mock)
-       ("python2-jinja2" ,python2-jinja2)
-       ("python2-pyyaml" ,python2-pyyaml)
-       ("python2-paramiko" ,python2-paramiko)))
+     `(("python-bcrypt" ,python-bcrypt)
+       ("python-pycrypto" ,python-pycrypto)
+       ("python-pynacl" ,python-pynacl)
+       ("python-httplib2" ,python-httplib2)
+       ("python-passlib" ,python-passlib)
+       ("python-nose" ,python-nose)
+       ("python-mock" ,python-mock)
+       ("python-jinja2" ,python-jinja2)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-paramiko" ,python-paramiko)))
     (inputs
-     `(("python2-pycrypto" ,python2-pycrypto)
-       ("python2-jinja2" ,python2-jinja2)
-       ("python2-pyyaml" ,python2-pyyaml)
-       ("python2-paramiko" ,python2-paramiko)))
-    (arguments
-     `(#:python ,python-2)) ; incompatible with Python 3
+     `(("python-pycrypto" ,python-pycrypto)
+       ("python-jinja2" ,python-jinja2)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-paramiko" ,python-paramiko)))
     (home-page "https://www.ansible.com/")
     (synopsis "Radically simple IT automation")
     (description "Ansible is a radically simple IT automation system.  It
-- 
2.16.4

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

* [bug#32320] [PATCH] gnu: ansible: update to 2.5.7
  2018-07-30 19:17 [bug#32320] [PATCH] gnu: ansible: update to 2.5.7 Kenny Ballou
@ 2018-08-01 14:28 ` Oleg Pykhalov
  2018-08-01 15:00   ` Kenny Ballou
  2018-08-13 15:28 ` bug#32320: " Leo Famulari
  1 sibling, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2018-08-01 14:28 UTC (permalink / raw)
  To: Kenny Ballou; +Cc: 32320

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

Hello,

Kenny Ballou <kballou@devnulllabs.io> writes:

> Update ansible to the latest 2.5.x release.  This also removes the
> Python 2 only support for Ansible as this is now stable in the 2.5.x
> line of Ansible.

[…]

Builded fine on my machine.


Could I ask how do you use ansible-COMMAND commands?

E.g. ‘ansible-galaxy’ outputs that it really runs ‘.ansible-real’ and
prints the manual page of ‘ansible’ command for me.

Thanks,
Oleg.

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

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

* [bug#32320] [PATCH] gnu: ansible: update to 2.5.7
  2018-08-01 14:28 ` Oleg Pykhalov
@ 2018-08-01 15:00   ` Kenny Ballou
  0 siblings, 0 replies; 4+ messages in thread
From: Kenny Ballou @ 2018-08-01 15:00 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 32320


On 2018年08月01日 14:28 GMT, Oleg Pykhalov wrote:
> Hello,
>
> Kenny Ballou <kballou@devnulllabs.io> writes:
>
>> Update ansible to the latest 2.5.x release.  This also removes the
>> Python 2 only support for Ansible as this is now stable in the 2.5.x
>> line of Ansible.
>
> […]
>
> Builded fine on my machine.
>
>
> Could I ask how do you use ansible-COMMAND commands?
>
> E.g. ‘ansible-galaxy’ outputs that it really runs ‘.ansible-real’ and
> prints the manual page of ‘ansible’ command for me.
>
> Thanks,
> Oleg.

Oleg,

This appears to be a known bug in how Python packages are using
`.command.real` wrappers.  See Bug #26752, "Ansible & others' problems
with wrapped '.ansible.real' scripts":
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26752 and
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31299.

This patch only attempts to update the version of ansible and its
dependencies.  It's possible that the patch is created against the wrong
branch and therefore doesn't include any changes that would fix this
behaviour.  As it is today, the current version of ansible on `master`
exhibits the same behaviour.

Unfortunately, I personally don't have a work around in place for this
yet.

Regards,
-Kenny

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

* bug#32320: [PATCH] gnu: ansible: update to 2.5.7
  2018-07-30 19:17 [bug#32320] [PATCH] gnu: ansible: update to 2.5.7 Kenny Ballou
  2018-08-01 14:28 ` Oleg Pykhalov
@ 2018-08-13 15:28 ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2018-08-13 15:28 UTC (permalink / raw)
  To: Kenny Ballou; +Cc: 32320-done

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

On Mon, Jul 30, 2018 at 01:17:30PM -0600, Kenny Ballou wrote:
> Update ansible to the latest 2.5.x release.  This also removes the
> Python 2 only support for Ansible as this is now stable in the 2.5.x
> line of Ansible.

Thanks! I finished the commit message, mentioning the changed
dependencies, and pushed as 504e26ed3238487adc62772798df6d41fc13668e.

I also changed the package to depend on the maintained
python-cryptography package instead of the abandoned python-pycrypto
package.

See here for more info on that change:

https://github.com/ansible/ansible/issues/23179#issuecomment-392154081

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

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

end of thread, other threads:[~2018-08-13 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 19:17 [bug#32320] [PATCH] gnu: ansible: update to 2.5.7 Kenny Ballou
2018-08-01 14:28 ` Oleg Pykhalov
2018-08-01 15:00   ` Kenny Ballou
2018-08-13 15:28 ` bug#32320: " Leo Famulari

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).