Hello community,

here is the log from the commit of package python-testinfra for 
openSUSE:Factory checked in at 2019-05-27 08:38:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testinfra (Old)
 and      /work/SRC/openSUSE:Factory/.python-testinfra.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-testinfra"

Mon May 27 08:38:34 2019 rev:6 rq:705297 version:3.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-testinfra/python-testinfra.changes        
2019-05-22 15:39:34.302508205 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-testinfra.new.5148/python-testinfra.changes  
    2019-05-27 08:38:38.755064881 +0200
@@ -1,0 +2,6 @@
+Fri May 24 19:26:49 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.0.4:
+  * Add support for ansible lxc and lxd connections
+
+-------------------------------------------------------------------

Old:
----
  testinfra-3.0.3.tar.gz

New:
----
  testinfra-3.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-testinfra.spec ++++++
--- /var/tmp/diff_new_pack.wdXEQI/_old  2019-05-27 08:38:39.635064537 +0200
+++ /var/tmp/diff_new_pack.wdXEQI/_new  2019-05-27 08:38:39.655064529 +0200
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-testinfra
-Version:        3.0.3
+Version:        3.0.4
 Release:        0
 Summary:        Test infrastructures
 License:        Apache-2.0

++++++ testinfra-3.0.3.tar.gz -> testinfra-3.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/CHANGELOG.rst 
new/testinfra-3.0.4/CHANGELOG.rst
--- old/testinfra-3.0.3/CHANGELOG.rst   2019-05-09 23:33:33.000000000 +0200
+++ new/testinfra-3.0.4/CHANGELOG.rst   2019-05-18 15:40:43.000000000 +0200
@@ -2,6 +2,11 @@
 Changelog
 =========
 
+3.0.4
+=====
+
+* Add support for ansible lxc and lxd connections
+
 3.0.3
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/PKG-INFO new/testinfra-3.0.4/PKG-INFO
--- old/testinfra-3.0.3/PKG-INFO        2019-05-09 23:54:17.000000000 +0200
+++ new/testinfra-3.0.4/PKG-INFO        2019-05-18 15:41:22.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: testinfra
-Version: 3.0.3
+Version: 3.0.4
 Summary: Test infrastructures
 Home-page: https://github.com/philpep/testinfra
 Author: Philippe Pepiot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/doc/source/backends.rst 
new/testinfra-3.0.4/doc/source/backends.rst
--- old/testinfra-3.0.3/doc/source/backends.rst 2019-05-09 22:56:12.000000000 
+0200
+++ new/testinfra-3.0.4/doc/source/backends.rst 2019-05-18 15:38:58.000000000 
+0200
@@ -108,10 +108,10 @@
 
     $ py.test 
--hosts='winrm://[email protected]:2200?read_timeout_sec=120&operation_timeout_sec=100'
 
-LXC
-~~~
+LXC/LXD
+~~~~~~~
 
-The LXC backend can be used to test *running* LXC containers. It uses the
+The LXC backend can be used to test *running* LXC or LXD containers. It uses 
the
 `lxc exec <https://linuxcontainers.org/lxd/getting-started-cli/>`_ command::
 
     $ py.test --hosts='lxc://container_name'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/test/test_modules.py 
new/testinfra-3.0.4/test/test_modules.py
--- old/testinfra-3.0.3/test/test_modules.py    2019-05-09 23:53:28.000000000 
+0200
+++ new/testinfra-3.0.4/test/test_modules.py    2019-05-18 15:38:54.000000000 
+0200
@@ -341,7 +341,6 @@
     assert variables["groups"] == {
         "all": ["debian_stretch"],
         "testgroup": ["debian_stretch"],
-        "ungrouped": [],
     }
 
     with pytest.raises(host.ansible.AnsibleException) as excinfo:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/test-requirements.txt 
new/testinfra-3.0.4/test-requirements.txt
--- old/testinfra-3.0.3/test-requirements.txt   2019-05-07 22:51:21.000000000 
+0200
+++ new/testinfra-3.0.4/test-requirements.txt   2019-05-18 15:38:54.000000000 
+0200
@@ -5,4 +5,4 @@
 tornado<5
 salt
 pywinrm
-ansible>=2.4,<3
+ansible>=2.8,<3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/testinfra/utils/ansible_runner.py 
new/testinfra-3.0.4/testinfra/utils/ansible_runner.py
--- old/testinfra-3.0.3/testinfra/utils/ansible_runner.py       2019-05-09 
23:53:28.000000000 +0200
+++ new/testinfra-3.0.4/testinfra/utils/ansible_runner.py       2019-05-18 
15:38:58.000000000 +0200
@@ -64,9 +64,11 @@
         return testinfra.get_host('local://')
     hostvars = inventory['_meta'].get('hostvars', {}).get(host, {})
     connection = hostvars.get('ansible_connection', 'ssh')
-    if connection not in ('ssh', 'local', 'docker'):
+    if connection not in ('ssh', 'local', 'docker', 'lxc', 'lxd'):
         raise NotImplementedError(
             'unhandled ansible_connection {}'.format(connection))
+    if connection == 'lxd':
+        connection = 'lxc'
     if connection == 'ssh':
         connection = 'paramiko'
     testinfra_host = hostvars.get('ansible_host', host)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testinfra-3.0.3/testinfra.egg-info/PKG-INFO 
new/testinfra-3.0.4/testinfra.egg-info/PKG-INFO
--- old/testinfra-3.0.3/testinfra.egg-info/PKG-INFO     2019-05-09 
23:54:17.000000000 +0200
+++ new/testinfra-3.0.4/testinfra.egg-info/PKG-INFO     2019-05-18 
15:41:22.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: testinfra
-Version: 3.0.3
+Version: 3.0.4
 Summary: Test infrastructures
 Home-page: https://github.com/philpep/testinfra
 Author: Philippe Pepiot


Reply via email to