libvirt-python 11.2.0__tar.gz → 11.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/AUTHORS +1 -0
  2. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/ChangeLog +39 -0
  3. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/PKG-INFO +2 -2
  4. libvirt-python-11.4.0/VERSION +1 -0
  5. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/topology.py +6 -11
  6. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/generator.py +2 -2
  7. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-python.spec +1 -1
  8. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/setup.cfg +1 -1
  9. libvirt-python-11.2.0/VERSION +0 -1
  10. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/CONTRIBUTING.rst +0 -0
  11. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/COPYING +0 -0
  12. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/HACKING +0 -0
  13. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/MANIFEST.in +0 -0
  14. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/Makefile +0 -0
  15. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/README +0 -0
  16. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/build/libvirt_python.egg-info/SOURCES.txt +0 -0
  17. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/README +0 -0
  18. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/consolecallback.py +0 -0
  19. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/dhcpleases.py +0 -0
  20. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/dominfo.py +0 -0
  21. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/domipaddrs.py +0 -0
  22. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/domrestore.py +0 -0
  23. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/domsave.py +0 -0
  24. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/domstart.py +0 -0
  25. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/esxlist.py +0 -0
  26. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/event-test.py +0 -0
  27. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/guest-vcpus/guest-vcpu-daemon.py +0 -0
  28. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/guest-vcpus/guest-vcpu.py +0 -0
  29. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/nodestats.py +0 -0
  30. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/examples/sparsestream.py +0 -0
  31. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-lxc-override-api.xml +0 -0
  32. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-lxc-override.c +0 -0
  33. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-api.xml +0 -0
  34. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virConnect.py +0 -0
  35. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virDomain.py +0 -0
  36. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virDomainCheckpoint.py +0 -0
  37. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virDomainSnapshot.py +0 -0
  38. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virNetwork.py +0 -0
  39. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virStoragePool.py +0 -0
  40. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override-virStream.py +0 -0
  41. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override.c +0 -0
  42. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-override.py +0 -0
  43. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-qemu-override-api.xml +0 -0
  44. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-qemu-override.c +0 -0
  45. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-qemu-override.py +0 -0
  46. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-utils.c +0 -0
  47. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirt-utils.h +0 -0
  48. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/libvirtaio.py +0 -0
  49. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/pyproject.toml +0 -0
  50. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/requirements-test.txt +0 -0
  51. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/setup.py +0 -0
  52. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/eventmock.py +0 -0
  53. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_aio.py +0 -0
  54. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_api_coverage.py +0 -0
  55. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_conn.py +0 -0
  56. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_domain.py +0 -0
  57. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_domain_checkpoint.py +0 -0
  58. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_domain_snapshot.py +0 -0
  59. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_interface.py +0 -0
  60. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_network.py +0 -0
  61. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_nodedev.py +0 -0
  62. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tests/test_storage.py +0 -0
  63. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/tox.ini +0 -0
  64. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/typewrappers.c +0 -0
  65. {libvirt-python-11.2.0 → libvirt-python-11.4.0}/typewrappers.h +0 -0
@@ -57,6 +57,7 @@ The individual contributors are
57
57
  Lai Jiangshan <laijs@cn.fujitsu.com>
58
58
  Laine Stump <laine@laine.org>
59
59
  Lei Li <lilei@linux.vnet.ibm.com>
60
+ Lukas Billy <lbilly@redhat.com>
60
61
  Luyao Huang <lhuang@redhat.com>
61
62
  Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
62
63
  Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
@@ -1,3 +1,42 @@
1
+ 2025- 5- 27 Ariel Otilibili <otilibil@eurecom.fr>
2
+
3
+ examples/topology: define socketIds and siblingsIds as sets
4
+ socketIds and siblingsIds are declared as empty lists, filled by
5
+ list comprehensions, and later on re-used as sets.
6
+
7
+ They could be directly obtained from set comprehensions.
8
+
9
+ Fixes: 34aa32b ("Move python example programs into python/examples/ subdirectory")
10
+ Fixes: 3f4e32c ("examples: Invoke print("...") instead of print "..."")
11
+ Link: https://docs.python.org/3/tutorial/datastructures.html#sets
12
+ Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
13
+
14
+
15
+ 2025- 5- 21 Lukas Billy <lbilly@redhat.com>
16
+
17
+ generator.py: Fix hardcoded build directory
18
+ This patch changes the hard-coded directory, so it is now possible to have custom name directory.
19
+
20
+
21
+ 2025- 5- 5 Michal Privoznik <mprivozn@redhat.com>
22
+
23
+ setup.cfg: Remove Licence classifier
24
+ Per latest setuptools recommendation [1], it's not recommended to
25
+ specify license in `classifiers`. Move it to `license`.
26
+
27
+ 1: https://github.com/pypa/setuptools/commit/346bf17e0cc8fc6e8b0ea3e6dafa3af91009da6d
28
+
29
+
30
+ 2025- 5- 2 Jiri Denemark <jdenemar@redhat.com>
31
+
32
+ Post-release version bump to 11.4.0
33
+
34
+
35
+ 2025- 4- 1 Jiri Denemark <jdenemar@redhat.com>
36
+
37
+ Post-release version bump to 11.3.0
38
+
39
+
1
40
  2025- 3- 26 SuhailAhmedVelorum <suhailahmedvelorum@gmail.com>
2
41
 
3
42
  Fixed minor typo in libvirt-override.py::openAuth TODO item
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libvirt-python
3
- Version: 11.2.0
3
+ Version: 11.4.0
4
4
  Summary: The libvirt virtualization API python binding
5
5
  Home-page: http://www.libvirt.org
6
6
  Maintainer: Libvirt Maintainers
7
7
  Maintainer-email: libvir-list@redhat.com
8
+ License: LGPL-v2.0-or-later
8
9
  Classifier: Development Status :: 5 - Production/Stable
9
10
  Classifier: Intended Audience :: Developers
10
- Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
11
11
  Classifier: Programming Language :: Python :: 3 :: Only
12
12
  Requires-Python: >=3.6
13
13
  Description-Content-Type: text/x-rst
@@ -0,0 +1 @@
1
+ 11.4.0
@@ -26,23 +26,18 @@ host = caps.getElementsByTagName('host')[0]
26
26
  cells = host.getElementsByTagName('cells')[0]
27
27
  total_cpus = cells.getElementsByTagName('cpu').length
28
28
 
29
- socketIds = []
30
- siblingsIds = []
31
-
32
- socketIds = [
29
+ socketIds = {
33
30
  proc.getAttribute('socket_id')
34
31
  for proc in cells.getElementsByTagName('cpu')
35
- if proc.getAttribute('socket_id') not in socketIds
36
- ]
32
+ }
37
33
 
38
- siblingsIds = [
34
+ siblingsIds = {
39
35
  proc.getAttribute('siblings')
40
36
  for proc in cells.getElementsByTagName('cpu')
41
- if proc.getAttribute('siblings') not in siblingsIds
42
- ]
37
+ }
43
38
 
44
39
  print("Host topology")
45
40
  print("NUMA nodes:", cells.getAttribute('num'))
46
- print(" Sockets:", len(set(socketIds)))
47
- print(" Cores:", len(set(siblingsIds)))
41
+ print(" Sockets:", len(socketIds))
42
+ print(" Cores:", len(siblingsIds))
48
43
  print(" Threads:", total_cpus)
@@ -1794,8 +1794,8 @@ if validate_functions() < 0:
1794
1794
  sys.exit(1)
1795
1795
 
1796
1796
  quiet = False
1797
- if not os.path.exists("build"):
1798
- os.mkdir("build")
1797
+ if not os.path.exists(buildDir):
1798
+ os.mkdir(buildDir)
1799
1799
 
1800
1800
  output = None
1801
1801
  if len(sys.argv) >= 4:
@@ -14,7 +14,7 @@
14
14
 
15
15
  Summary: The libvirt virtualization API python3 binding
16
16
  Name: libvirt-python
17
- Version: 11.2.0
17
+ Version: 11.4.0
18
18
  Release: 1%{?dist}
19
19
  Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
20
20
  Url: https://libvirt.org
@@ -8,10 +8,10 @@ url = http://www.libvirt.org
8
8
  maintainer = Libvirt Maintainers
9
9
  maintainer_email = libvir-list@redhat.com
10
10
  license_files = COPYING
11
+ license = LGPL-v2.0-or-later
11
12
  classifiers =
12
13
  Development Status :: 5 - Production/Stable
13
14
  Intended Audience :: Developers
14
- License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
15
15
  Programming Language :: Python :: 3 :: Only
16
16
 
17
17
  [options]
@@ -1 +0,0 @@
1
- 11.2.0
File without changes
File without changes
File without changes
File without changes