Hello community,

here is the log from the commit of package python-libvirt-python for 
openSUSE:Factory checked in at 2020-05-09 19:50:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
 and      /work/SRC/openSUSE:Factory/.python-libvirt-python.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libvirt-python"

Sat May  9 19:50:33 2020 rev:33 rq:801287 version:6.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes  
    2020-04-10 23:53:21.492703432 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-libvirt-python.new.2738/python-libvirt-python.changes
    2020-05-09 19:50:45.540632393 +0200
@@ -1,0 +2,6 @@
+Wed May  6 21:01:38 UTC 2020 - James Fehlig <[email protected]>
+
+- Update to 6.3.0
+  - Add all new APIs and constants in libvirt 6.3.0
+
+-------------------------------------------------------------------

Old:
----
  libvirt-python-6.2.0.tar.gz
  libvirt-python-6.2.0.tar.gz.asc

New:
----
  libvirt-python-6.3.0.tar.gz
  libvirt-python-6.3.0.tar.gz.asc

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

Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.67XKDP/_old  2020-05-09 19:50:46.544634549 +0200
+++ /var/tmp/diff_new_pack.67XKDP/_new  2020-05-09 19:50:46.548634557 +0200
@@ -23,7 +23,7 @@
 %define srcname libvirt-python
 Name:           python-libvirt-python
 URL:            https://libvirt.org/
-Version:        6.2.0
+Version:        6.3.0
 Release:        0
 Summary:        Library providing a virtualization API
 License:        LGPL-2.1-or-later

++++++ libvirt-python-6.2.0.tar.gz -> libvirt-python-6.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/ChangeLog 
new/libvirt-python-6.3.0/ChangeLog
--- old/libvirt-python-6.2.0/ChangeLog  2020-04-02 21:24:43.000000000 +0200
+++ new/libvirt-python-6.3.0/ChangeLog  2020-05-05 08:51:26.000000000 +0200
@@ -1,3 +1,128 @@
+2020-05-01 Daniel P. Berrangé  <[email protected]>
+    
+    gitlab: fix typo s/perl/python/ in docker cached image name
+    Reported-by: Pavel Hrdina <[email protected]>
+    
+    
+2020-05-01 Daniel P. Berrangé  <[email protected]>
+    
+    travis: delete redundant configuration
+    Now that we're standardizing on GitLab CI for both official gating CI
+    and developer CI, there's no compelling reason to continue to support
+    Travis CI.
+    
+    Reviewed-by: Andrea Bolognani <[email protected]>
+    
+    
+2020-05-01 Daniel P. Berrangé  <[email protected]>
+    
+    gitlab: introduce CI jobs testing git master & distro libvirt
+    The python build needs to validate two axis
+    
+    - A variety of libvirt versions
+    - A variety of python versions
+    
+    We get coverage for both these axis by running a build against the
+    distro provided libvirt packages. All that is then missing is a build
+    against the latest libvirt git master, which only needs to be run on
+    a single distro, for which CentOS 8 is picked as a stable long life
+    base.
+    
+    Reviewed-by: Andrea Bolognani <[email protected]>
+    
+    
+2020-05-01 Daniel P. Berrangé  <[email protected]>
+    
+    test: workaround missing VIR_TYPED_PARAM enums in API definition
+    On Ubuntu 18.04 with libvirt 4.0.0 libvirt-python build fails
+    
+    running test
+    /usr/bin/python3 sanitytest.py build/lib.linux-x86_64-3.6 
/usr/share/libvirt/api/libvirt-api.xml
+    Cannot get a value of enum VIR_TYPED_PARAM_BOOLEAN (originally 
VIR_DOMAIN_BLKIO_PARAM_BOOLEAN)
+    Cannot get a value of enum VIR_TYPED_PARAM_DOUBLE (originally 
VIR_DOMAIN_BLKIO_PARAM_DOUBLE)
+    Cannot get a value of enum VIR_TYPED_PARAM_INT (originally 
VIR_DOMAIN_BLKIO_PARAM_INT)
+    ...snip...
+    
+    The code generated for the binding is still correct and so we can just
+    whitelist this error scenario.
+    
+    
+    
+2020-04-30 Daniel P. Berrangé  <[email protected]>
+    
+    gitlab: add CI job for validating DCO signoff
+    This job uses the shared "check-dco" image to validate that all
+    commits on a branch in a developer's repo fork have a suitable
+    
+    
+    
+2020-04-27 Philipp Hahn  <[email protected]>
+    
+    examples: Fix connection error handling 2
+    Fix two more cases in examples as
+    libvirt.open*() does not return None but raises an exception
+    
+    Fixes: 283e2bc693746164b22226e14d6fe3ccd38a07bf
+    Reviewed-by: Michal Privoznik <[email protected]>
+    
+    
+2020-04-22 Daniel P. Berrangé  <[email protected]>
+    
+    setup: require python >= 3.5 to build
+    Python 3.5 is the oldest Python version available across our supported
+    build platforms.
+    
+    Reviewed-by: Philipp Hahn <[email protected]>
+    
+    
+2020-04-20 Philipp Hahn  <[email protected]>
+    
+    examples: Fix connection error handling
+    libvirt.open*() does not return None but raises an exception
+    
+    
+    
+2020-04-07 Daniel P. Berrangé  <[email protected]>
+    
+    github: enable lockdown of issues and merge requests
+    Libvirt uses GitHub as an automated read-only mirror. The goals were to
+    have a disaster recovery backup for libvirt.org, a way to make it easy
+    for people to clone their own private copy of libvirt Git, and finally
+    as a way to interact with apps like Travis.
+    
+    The project description was set to a message telling people that we
+    don't respond to pull requests. This was quite a negative message to
+    potential contributors, and also did not give them any guidance about
+    the right way to submit to libvirt. Many also missed the description and
+    submitted issues or pull requests regardless.
+    
+    It is possible to disable the issue tracker in GitHub, but there is no
+    way to disable merge requests. Disabling the issue tracker would also
+    leave the problem of users not being given any positive information
+    about where they should be reporting instead.
+    
+    There is a fairly new 3rd party application built for GitHub that
+    provides a bot which auto-responds to both issues and merge requests,
+    closing and locking them, with a arbitrary comment:
+    
+    https://github.com/apps/repo-lockdown
+    
+    This commit adds a suitable configuration file for libvirt, which
+    tries to give a positive response to user's issue/pullreq and guide
+    them to the desired contribution path on GitLab.
+    
+    Reviewed-by: Andrea Bolognani <[email protected]>
+    Reviewed-by: Pavel Hrdina <[email protected]>
+    Reviewed-by: Eric Blake <[email protected]>
+    
+    
+2020-04-02 Daniel Veillard  <[email protected]>
+    
+    Release of libvirt-python 6.2.0
+    * setup.py: bumped version to 6.2.0
+    
+    
+    
 2020-03-30 Radostin Stoyanov  <[email protected]>
     
     tox: Test with Python 3.6, 3.7 and 3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/PKG-INFO 
new/libvirt-python-6.3.0/PKG-INFO
--- old/libvirt-python-6.2.0/PKG-INFO   2020-04-02 21:24:43.000000000 +0200
+++ new/libvirt-python-6.3.0/PKG-INFO   2020-05-05 08:51:26.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: libvirt-python
-Version: 6.2.0
+Version: 6.3.0
 Summary: The libvirt virtualization API python binding
 Home-page: http://www.libvirt.org
 Author: Libvirt Maintainers
@@ -16,3 +16,7 @@
 Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or 
later (LGPLv2+)
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/dominfo.py 
new/libvirt-python-6.3.0/examples/dominfo.py
--- old/libvirt-python-6.2.0/examples/dominfo.py        2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/dominfo.py        2020-05-05 
08:48:51.000000000 +0200
@@ -34,8 +34,9 @@
 name = sys.argv[1]
 
 # Connect to libvirt
-conn = libvirt.openReadOnly(None)
-if conn is None:
+try:
+    conn = libvirt.openReadOnly(None)
+except libvirt.libvirtError:
     print('Failed to open connection to the hypervisor')
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/domipaddrs.py 
new/libvirt-python-6.3.0/examples/domipaddrs.py
--- old/libvirt-python-6.2.0/examples/domipaddrs.py     2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/domipaddrs.py     2020-05-05 
08:48:51.000000000 +0200
@@ -21,8 +21,9 @@
     usage()
     sys.exit(2)
 
-conn = libvirt.open(uri)
-if conn == None:
+try:
+    conn = libvirt.open(uri)
+except libvirt.libvirtError:
     print "Unable to open connection to libvirt"
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/domrestore.py 
new/libvirt-python-6.3.0/examples/domrestore.py
--- old/libvirt-python-6.2.0/examples/domrestore.py     2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/domrestore.py     2020-05-05 
08:48:51.000000000 +0200
@@ -20,8 +20,9 @@
 dir = sys.argv[1]
 imgs = os.listdir(dir)
 
-conn = libvirt.open(None)
-if conn is None:
+try:
+    conn = libvirt.open(None)
+except libvirt.libvirtError:
     print('Failed to open connection to the hypervisor')
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/domsave.py 
new/libvirt-python-6.3.0/examples/domsave.py
--- old/libvirt-python-6.2.0/examples/domsave.py        2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/domsave.py        2020-05-05 
08:48:51.000000000 +0200
@@ -18,8 +18,9 @@
 
 dir = sys.argv[1]
 
-conn = libvirt.open(None)
-if conn is None:
+try:
+    conn = libvirt.open(None)
+except libvirt.libvirtError:
     print('Failed to open connection to the hypervisor')
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/domstart.py 
new/libvirt-python-6.3.0/examples/domstart.py
--- old/libvirt-python-6.2.0/examples/domstart.py       2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/domstart.py       2020-05-05 
08:48:51.000000000 +0200
@@ -32,8 +32,9 @@
 
 (name, xmldesc) = read_domain(sys.argv[1])
 
-conn = libvirt.open(None)
-if conn is None:
+try:
+    conn = libvirt.open(None)
+except libvirt.libvirtError:
     print('Failed to open connection to the hypervisor')
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/examples/esxlist.py 
new/libvirt-python-6.3.0/examples/esxlist.py
--- old/libvirt-python-6.2.0/examples/esxlist.py        2020-01-15 
16:20:01.000000000 +0100
+++ new/libvirt-python-6.3.0/examples/esxlist.py        2020-05-05 
08:48:51.000000000 +0200
@@ -97,9 +97,9 @@
 # in order to log into the vCenter
 auth = [[libvirt.VIR_CRED_AUTHNAME, libvirt.VIR_CRED_NOECHOPROMPT],
         request_credentials, None]
-conn = libvirt.openAuth(uri, auth, 0)
-
-if conn is None:
+try:
+    conn = libvirt.openAuth(uri, auth, 0)
+except libvirt.libvirtError:
     print("Failed to open connection to %s" % hostname)
     sys.exit(1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/libvirt-python.spec 
new/libvirt-python-6.3.0/libvirt-python.spec
--- old/libvirt-python-6.2.0/libvirt-python.spec        2020-04-02 
21:24:43.000000000 +0200
+++ new/libvirt-python-6.3.0/libvirt-python.spec        2020-05-05 
08:51:26.000000000 +0200
@@ -14,7 +14,7 @@
 
 Summary: The libvirt virtualization API python3 binding
 Name: libvirt-python
-Version: 6.2.0
+Version: 6.3.0
 Release: 1%{?dist}
 Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
 Url: http://libvirt.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/sanitytest.py 
new/libvirt-python-6.3.0/sanitytest.py
--- old/libvirt-python-6.2.0/sanitytest.py      2020-01-15 16:20:01.000000000 
+0100
+++ new/libvirt-python-6.3.0/sanitytest.py      2020-05-05 08:48:51.000000000 
+0200
@@ -73,7 +73,11 @@
             val = int(v[val])
             break
 
-    if type(val) != int:
+    # Version 4.0.0 was broken as missing VIR_TYPED_PARAM enums
+    # constants. This is harmless from POV of validating API
+    # coverage so ignore this error.
+    if (type(val) != int and
+        not val.startswith("VIR_TYPED_PARAM_")):
         fail = True
         print("Cannot get a value of enum %s (originally %s)" % (val, name))
     enumvals[typ][name] = val
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-6.2.0/setup.py 
new/libvirt-python-6.3.0/setup.py
--- old/libvirt-python-6.2.0/setup.py   2020-04-02 21:24:18.000000000 +0200
+++ new/libvirt-python-6.3.0/setup.py   2020-05-05 08:51:20.000000000 +0200
@@ -17,8 +17,8 @@
 import shutil
 import time
 
-if sys.version_info[0] != 3:
-    print("libvirt-python requires Python 3.x to build")
+if sys.version_info < (3, 5):
+    print("libvirt-python requires Python >= 3.5 to build")
     sys.exit(1)
 
 MIN_LIBVIRT = "0.9.11"
@@ -339,7 +339,7 @@
 _c_modules, _py_modules = get_module_lists()
 
 setup(name = 'libvirt-python',
-      version = '6.2.0',
+      version = '6.3.0',
       url = 'http://www.libvirt.org',
       maintainer = 'Libvirt Maintainers',
       maintainer_email = '[email protected]',
@@ -368,5 +368,9 @@
           "License :: OSI Approved :: GNU Lesser General Public License v2 or 
later (LGPLv2+)",
           "Programming Language :: Python",
           "Programming Language :: Python :: 3",
+          "Programming Language :: Python :: 3.5",
+          "Programming Language :: Python :: 3.6",
+          "Programming Language :: Python :: 3.7",
+          "Programming Language :: Python :: 3.8",
       ]
 )


Reply via email to