[Pkg-libvirt-commits] [Git][libvirt-team/libvirt-python][debian/sid] 2 commits: New upstream version 11.7.0
Pino Toscano (@pino)
gitlab at salsa.debian.org
Wed Sep 3 05:38:30 BST 2025
Pino Toscano pushed to branch debian/sid 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
- - - - -
b382ed91 by Pino Toscano at 2025-09-03T06:35:27+02:00
Update upstream source from tag 'upstream/11.7.0'
Update to upstream version '11.7.0'
with Debian dir d1113a2787c34ffd6fc29819c80469acd3c2dc10
- - - - -
9 changed files:
- AUTHORS
- ChangeLog
- PKG-INFO
- VERSION
- debian/changelog
- 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
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libvirt-python (11.7.0-1~1.gbp984a51) UNRELEASED; urgency=medium
+
+ ** SNAPSHOT build @984a51cb3a3c880d6b673b9dad4b2f71542b94e8 **
+
+ * New upstream version 11.7.0
+
+ -- Pino Toscano <pino at debian.org> Wed, 03 Sep 2025 06:35:27 +0200
+
libvirt-python (11.3.0-1) unstable; urgency=medium
* New upstream version 11.3.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/-/compare/1c545c61a6b5302940e609884b05e98856897d47...b382ed91ca363d41a786fe688a4f7c122a9db37f
--
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/-/compare/1c545c61a6b5302940e609884b05e98856897d47...b382ed91ca363d41a786fe688a4f7c122a9db37f
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/40134806/attachment-0001.htm>
More information about the Pkg-libvirt-commits
mailing list