[Pkg-libvirt-commits] [Git][libvirt-team/libvirt-python][upstream/latest] New upstream version 11.7.0

Pino Toscano (@pino) gitlab at salsa.debian.org
Wed Sep 3 05:38:17 BST 2025



Pino Toscano pushed to branch upstream/latest at Libvirt Packaging Team / libvirt-python


Commits:
de4c6e74 by Pino Toscano at 2025-09-03T06:35:13+02:00
New upstream version 11.7.0
- - - - -


8 changed files:

- AUTHORS
- ChangeLog
- PKG-INFO
- VERSION
- examples/topology.py
- generator.py
- libvirt-python.spec
- setup.cfg


Changes:

=====================================
AUTHORS
=====================================
@@ -57,6 +57,7 @@ The individual contributors are
    Lai Jiangshan <laijs at cn.fujitsu.com>
    Laine Stump <laine at laine.org>
    Lei Li <lilei at linux.vnet.ibm.com>
+   Lukas Billy <lbilly at redhat.com>
    Luyao Huang <lhuang at redhat.com>
    Marc Hartmayer <mhartmay at linux.vnet.ibm.com>
    Marcelo Cerri <mhcerri at linux.vnet.ibm.com>


=====================================
ChangeLog
=====================================
@@ -1,3 +1,52 @@
+ 2025- 8- 1 Jiri Denemark <jdenemar at redhat.com>
+    
+    Post-release version bump to 11.7.0
+    
+    
+ 2025- 7- 1 Jiri Denemark <jdenemar at redhat.com>
+    
+    Post-release version bump to 11.6.0
+    
+    
+ 2025- 6- 2 Jiri Denemark <jdenemar at redhat.com>
+    
+    Post-release version bump to 11.5.0
+    
+    
+ 2025- 5- 27 Ariel Otilibili <otilibil at eurecom.fr>
+    
+    examples/topology: define socketIds and siblingsIds as sets
+    socketIds and siblingsIds are declared as empty lists, filled by
+    list comprehensions, and later on re-used as sets.
+    
+    They could be directly obtained from set comprehensions.
+    
+    Fixes: 34aa32b ("Move python example programs into python/examples/ subdirectory")
+    Fixes: 3f4e32c ("examples: Invoke print("...") instead of print "..."")
+    Link: https://docs.python.org/3/tutorial/datastructures.html#sets
+    Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
+    
+    
+ 2025- 5- 21 Lukas Billy <lbilly at redhat.com>
+    
+    generator.py: Fix hardcoded build directory
+    This patch changes the hard-coded directory, so it is now possible to have custom name directory.
+    
+    
+ 2025- 5- 5 Michal Privoznik <mprivozn at redhat.com>
+    
+    setup.cfg: Remove Licence classifier
+    Per latest setuptools recommendation [1], it's not recommended to
+    specify license in `classifiers`. Move it to `license`.
+    
+    1: https://github.com/pypa/setuptools/commit/346bf17e0cc8fc6e8b0ea3e6dafa3af91009da6d
+    
+    
+ 2025- 5- 2 Jiri Denemark <jdenemar at redhat.com>
+    
+    Post-release version bump to 11.4.0
+    
+    
  2025- 4- 1 Jiri Denemark <jdenemar at redhat.com>
     
     Post-release version bump to 11.3.0


=====================================
PKG-INFO
=====================================
@@ -1,13 +1,13 @@
 Metadata-Version: 2.1
 Name: libvirt-python
-Version: 11.3.0
+Version: 11.7.0
 Summary: The libvirt virtualization API python binding
 Home-page: http://www.libvirt.org
 Maintainer: Libvirt Maintainers
 Maintainer-email: libvir-list at redhat.com
+License: LGPL-v2.0-or-later
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
 Classifier: Programming Language :: Python :: 3 :: Only
 Requires-Python: >=3.6
 Description-Content-Type: text/x-rst


=====================================
VERSION
=====================================
@@ -1 +1 @@
-11.3.0
+11.7.0


=====================================
examples/topology.py
=====================================
@@ -26,23 +26,18 @@ host = caps.getElementsByTagName('host')[0]
 cells = host.getElementsByTagName('cells')[0]
 total_cpus = cells.getElementsByTagName('cpu').length
 
-socketIds = []
-siblingsIds = []
-
-socketIds = [
+socketIds = {
     proc.getAttribute('socket_id')
     for proc in cells.getElementsByTagName('cpu')
-    if proc.getAttribute('socket_id') not in socketIds
-]
+}
 
-siblingsIds = [
+siblingsIds = {
     proc.getAttribute('siblings')
     for proc in cells.getElementsByTagName('cpu')
-    if proc.getAttribute('siblings') not in siblingsIds
-]
+}
 
 print("Host topology")
 print("NUMA nodes:", cells.getAttribute('num'))
-print("   Sockets:", len(set(socketIds)))
-print("     Cores:", len(set(siblingsIds)))
+print("   Sockets:", len(socketIds))
+print("     Cores:", len(siblingsIds))
 print("   Threads:", total_cpus)


=====================================
generator.py
=====================================
@@ -1794,8 +1794,8 @@ if validate_functions() < 0:
     sys.exit(1)
 
 quiet = False
-if not os.path.exists("build"):
-    os.mkdir("build")
+if not os.path.exists(buildDir):
+    os.mkdir(buildDir)
 
 output = None
 if len(sys.argv) >= 4:


=====================================
libvirt-python.spec
=====================================
@@ -14,7 +14,7 @@
 
 Summary: The libvirt virtualization API python3 binding
 Name: libvirt-python
-Version: 11.3.0
+Version: 11.7.0
 Release: 1%{?dist}
 Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
 Url: https://libvirt.org


=====================================
setup.cfg
=====================================
@@ -8,10 +8,10 @@ url = http://www.libvirt.org
 maintainer = Libvirt Maintainers
 maintainer_email = libvir-list at redhat.com
 license_files = COPYING
+license = LGPL-v2.0-or-later
 classifiers = 
 	Development Status :: 5 - Production/Stable
 	Intended Audience :: Developers
-	License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
 	Programming Language :: Python :: 3 :: Only
 
 [options]



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/-/commit/de4c6e741baea15e5d4e2fed2419c3343f1b8603

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/-/commit/de4c6e741baea15e5d4e2fed2419c3343f1b8603
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20250903/ff797da0/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list