Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-libvirt-python for 
openSUSE:Factory checked in at 2021-06-05 23:31:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
 and      /work/SRC/openSUSE:Factory/.python-libvirt-python.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libvirt-python"

Sat Jun  5 23:31:10 2021 rev:46 rq:896747 version:7.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes  
    2021-04-08 21:02:03.705893913 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-libvirt-python.new.1898/python-libvirt-python.changes
    2021-06-05 23:31:45.048460784 +0200
@@ -1,0 +2,12 @@
+Tue Jun  1 16:49:42 UTC 2021 - James Fehlig <[email protected]>
+
+- Update to 7.4.0
+  - Add all new APIs and constants in libvirt 7.4.0
+
+-------------------------------------------------------------------
+Mon May 17 22:18:12 UTC 2021 - James Fehlig <[email protected]>
+
+- Update to 7.3.0
+  - Add all new APIs and constants in libvirt 7.3.0
+
+-------------------------------------------------------------------

Old:
----
  libvirt-python-7.2.0.tar.gz

New:
----
  libvirt-python-7.4.0.tar.gz

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

Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.hDvNiI/_old  2021-06-05 23:31:45.804462099 +0200
+++ /var/tmp/diff_new_pack.hDvNiI/_new  2021-06-05 23:31:45.808462106 +0200
@@ -23,7 +23,7 @@
 %define srcname libvirt-python
 Name:           python-libvirt-python
 URL:            https://libvirt.org/
-Version:        7.2.0
+Version:        7.4.0
 Release:        0
 Summary:        Library providing a virtualization API
 License:        LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.hDvNiI/_old  2021-06-05 23:31:45.832462147 +0200
+++ /var/tmp/diff_new_pack.hDvNiI/_new  2021-06-05 23:31:45.832462147 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="disabled">
     <param name="filename">libvirt-python</param>
-    <param name="revision">v7.2.0</param>
+    <param name="revision">v7.4.0</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
     <param name="url">https://gitlab.com/libvirt/libvirt-python.git</param>

++++++ libvirt-python-7.2.0.tar.gz -> libvirt-python-7.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/.gitlab-ci.yml 
new/libvirt-python-7.4.0/.gitlab-ci.yml
--- old/libvirt-python-7.2.0/.gitlab-ci.yml     2021-03-01 11:59:46.000000000 
+0100
+++ new/libvirt-python-7.4.0/.gitlab-ci.yml     2021-05-27 15:23:16.000000000 
+0200
@@ -1,11 +1,11 @@
 
 stages:
-  - prebuild
   - containers
   - builds
   - docs
+  - sanity_checks
 
-.container_job_template: &container_job_definition
+.container_job:
   image: docker:stable
   stage: containers
   needs: []
@@ -23,18 +23,21 @@
   after_script:
     - docker logout
 
-.git_build_job_template: &git_build_job_definition
+.git_build_vars: &git_build_vars |
+  export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
+  export SCRATCH_DIR="$PWD/scratch"
+  export VROOT="$SCRATCH_DIR/vroot"
+  export LIBDIR="$VROOT/lib"
+  export LD_LIBRARY_PATH="$LIBDIR"
+  export PATH="$VROOT/bin:$PATH"
+  export PKG_CONFIG_PATH="$LIBDIR/pkgconfig"
+  export CFLAGS="-Werror"
+
+.git_build_job:
   image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
   stage: builds
   before_script:
-    - export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
-    - export SCRATCH_DIR="/tmp/scratch"
-    - export VROOT="$SCRATCH_DIR/vroot"
-    - export LIBDIR="$VROOT/lib"
-    - export LD_LIBRARY_PATH="$LIBDIR"
-    - export PATH="$VROOT/bin:$PATH"
-    - export PKG_CONFIG_PATH="$LIBDIR/pkgconfig"
-    - export CFLAGS="-Werror"
+    - *git_build_vars
   script:
     - pushd "$PWD"
     - mkdir -p "$SCRATCH_DIR"
@@ -50,7 +53,7 @@
     - $PYTHON setup.py sdist
     - if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ; then rpmbuild 
--nodeps -ta dist/libvirt-python*tar.gz ; fi
 
-.dist_build_job_template: &dist_build_job_definition
+.dist_build_job:
   image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
   stage: builds
   before_script:
@@ -68,7 +71,8 @@
 # this test on developer's personal forks from which
 # merge requests are submitted
 check-dco:
-  stage: prebuild
+  stage: sanity_checks
+  needs: []
   image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
   script:
     - /check-dco
@@ -76,145 +80,165 @@
     variables:
       - $CI_PROJECT_NAMESPACE == 'libvirt'
 
-centos-7-container:
-  <<: *container_job_definition
-  variables:
-    NAME: centos-7
-
 centos-8-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: centos-8
 
-centos-stream-container:
-  <<: *container_job_definition
+centos-stream-8-container:
+  extends: .container_job
   variables:
-    NAME: centos-stream
+    NAME: centos-stream-8
 
 debian-10-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: debian-10
 
 debian-sid-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: debian-sid
 
-fedora-32-container:
-  <<: *container_job_definition
-  variables:
-    NAME: fedora-32
-
 fedora-33-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: fedora-33
 
+fedora-34-container:
+  extends: .container_job
+  variables:
+    NAME: fedora-34
+
 fedora-rawhide-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: fedora-rawhide
 
-opensuse-151-container:
-  <<: *container_job_definition
+opensuse-leap-152-container:
+  extends: .container_job
   variables:
-    NAME: opensuse-151
-    RPM: skip
+    NAME: opensuse-leap-152
+
+opensuse-tumbleweed-container:
+  extends: .container_job
+  variables:
+    NAME: opensuse-tumbleweed
 
 ubuntu-1804-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: ubuntu-1804
 
 ubuntu-2004-container:
-  <<: *container_job_definition
+  extends: .container_job
   variables:
     NAME: ubuntu-2004
 
 
 centos-8-git-build:
-  <<: *git_build_job_definition
+  extends: .git_build_job
   needs:
     - centos-8-container
   variables:
     NAME: centos-8
+  artifacts:
+    expire_in: 2 days
+    paths:
+      - scratch
+      - build
 
 
-centos-7-dist-build:
-  <<: *dist_build_job_definition
-  needs:
-    - centos-7-container
-  variables:
-    NAME: centos-7
-
 centos-8-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - centos-8-container
   variables:
     NAME: centos-8
 
-centos-stream-dist-build:
-  <<: *dist_build_job_definition
+centos-stream-8-dist-build:
+  extends: .dist_build_job
   needs:
-    - centos-stream-container
+    - centos-stream-8-container
   variables:
-    NAME: centos-stream
+    NAME: centos-stream-8
 
 debian-10-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - debian-10-container
   variables:
     NAME: debian-10
 
 debian-sid-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - debian-sid-container
   variables:
     NAME: debian-sid
 
-fedora-32-dist-build:
-  <<: *dist_build_job_definition
-  needs:
-    - fedora-32-container
-  variables:
-    NAME: fedora-32
-
 fedora-33-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - fedora-33-container
   variables:
     NAME: fedora-33
 
+fedora-34-dist-build:
+  extends: .dist_build_job
+  needs:
+    - fedora-34-container
+  variables:
+    NAME: fedora-34
+
 fedora-rawhide-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - fedora-rawhide-container
   variables:
     NAME: fedora-rawhide
 
-opensuse-151-dist-build:
-  <<: *dist_build_job_definition
+opensuse-leap-152-dist-build:
+  extends: .dist_build_job
   needs:
-    - opensuse-151-container
+    - opensuse-leap-152-container
   variables:
-    NAME: opensuse-151
+    NAME: opensuse-leap-152
+    RPM: skip
+
+opensuse-tumbleweed-dist-build:
+  extends: .dist_build_job
+  needs:
+    - opensuse-tumbleweed-container
+  variables:
+    NAME: opensuse-tumbleweed
     RPM: skip
 
 ubuntu-1804-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - ubuntu-1804-container
   variables:
     NAME: ubuntu-1804
 
 ubuntu-2004-dist-build:
-  <<: *dist_build_job_definition
+  extends: .dist_build_job
   needs:
     - ubuntu-2004-container
   variables:
     NAME: ubuntu-2004
+
+api-coverage:
+  image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
+  stage: sanity_checks
+  needs:
+    - job: centos-8-git-build
+      artifacts: true
+  before_script:
+    - *git_build_vars
+  script:
+    - LIBVIRT_API_COVERAGE=1 $PYTHON setup.py test
+  rules:
+    - if: '$CI_PIPELINE_SOURCE == "push"'
+      allow_failure: true
+    - if: '$CI_PIPELINE_SOURCE == "schedule"'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-centos-7.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-centos-7.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-centos-7.Dockerfile       
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-centos-7.Dockerfile       
1970-01-01 01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-#  $ lcitool dockerfile centos-7 libvirt+dist,libvirt-python
-#
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
-FROM registry.centos.org/centos:7
-
-RUN yum update -y && \
-    echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
-    yum install -y epel-release && \
-    yum install -y \
-        ca-certificates \
-        ccache \
-        gcc \
-        git \
-        glibc-common \
-        libvirt-devel \
-        pkgconfig \
-        python3 \
-        python3-setuptools \
-        python36-devel \
-        python36-lxml \
-        python36-nose \
-        rpm-build && \
-    yum autoremove -y && \
-    yum clean all -y && \
-    rpm -qa | sort > /packages.txt && \
-    mkdir -p /usr/libexec/ccache-wrappers && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
-
-ENV LANG "en_US.UTF-8"
-ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-centos-8.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-centos-8.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-centos-8.Dockerfile       
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-centos-8.Dockerfile       
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile centos-8 libvirt+minimal,libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM docker.io/library/centos:8
 
 RUN dnf update -y && \
@@ -13,6 +14,7 @@
     dnf install -y \
         ca-certificates \
         ccache \
+        cpp \
         gcc \
         gettext \
         git \
@@ -34,8 +36,8 @@
         python3-devel \
         python3-docutils \
         python3-lxml \
-        python3-nose \
         python3-pip \
+        python3-pytest \
         python3-setuptools \
         python3-wheel \
         rpcgen \
@@ -45,10 +47,10 @@
     rpm -qa | sort > /packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 RUN pip3 install \
-         meson==0.54.0
+         meson==0.56.0
 
 ENV LANG "en_US.UTF-8"
 ENV MAKE "/usr/bin/make"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-centos-stream-8.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-centos-stream-8.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-centos-stream-8.Dockerfile        
1970-01-01 01:00:00.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-centos-stream-8.Dockerfile        
2021-05-27 15:23:16.000000000 +0200
@@ -0,0 +1,37 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool dockerfile centos-stream-8 libvirt+dist,libvirt-python
+#
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
+FROM quay.io/centos/centos:stream8
+
+RUN dnf update -y && \
+    dnf install 'dnf-command(config-manager)' -y && \
+    dnf config-manager --set-enabled -y powertools && \
+    dnf install -y centos-release-advanced-virtualization && \
+    dnf install -y epel-release && \
+    dnf install -y \
+        ca-certificates \
+        ccache \
+        gcc \
+        git \
+        glibc-langpack-en \
+        libvirt-devel \
+        pkgconfig \
+        python3 \
+        python3-devel \
+        python3-lxml \
+        python3-pytest \
+        python3-setuptools \
+        rpm-build && \
+    dnf autoremove -y && \
+    dnf clean all -y && \
+    rpm -qa | sort > /packages.txt && \
+    mkdir -p /usr/libexec/ccache-wrappers && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-centos-stream.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-centos-stream.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-centos-stream.Dockerfile  
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-centos-stream.Dockerfile  
1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-#  $ lcitool dockerfile centos-stream libvirt+dist,libvirt-python
-#
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
-FROM docker.io/library/centos:8
-
-RUN dnf update -y && \
-    dnf install -y centos-release-stream && \
-    dnf install 'dnf-command(config-manager)' -y && \
-    dnf config-manager --set-enabled -y Stream-PowerTools && \
-    dnf install -y centos-release-advanced-virtualization && \
-    dnf install -y epel-release && \
-    dnf install -y \
-        ca-certificates \
-        ccache \
-        gcc \
-        git \
-        glibc-langpack-en \
-        libvirt-devel \
-        pkgconfig \
-        python3 \
-        python3-devel \
-        python3-lxml \
-        python3-nose \
-        python3-setuptools \
-        rpm-build && \
-    dnf autoremove -y && \
-    dnf clean all -y && \
-    rpm -qa | sort > /packages.txt && \
-    mkdir -p /usr/libexec/ccache-wrappers && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
-
-ENV LANG "en_US.UTF-8"
-ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-debian-10.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-debian-10.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-debian-10.Dockerfile      
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-debian-10.Dockerfile      
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile debian-10 libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM docker.io/library/debian:10-slim
 
 RUN export DEBIAN_FRONTEND=noninteractive && \
@@ -20,7 +21,7 @@
             python3 \
             python3-dev \
             python3-lxml \
-            python3-nose \
+            python3-pytest \
             python3-setuptools && \
     eatmydata apt-get autoremove -y && \
     eatmydata apt-get autoclean -y && \
@@ -29,7 +30,7 @@
     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > 
/packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-debian-sid.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-debian-sid.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-debian-sid.Dockerfile     
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-debian-sid.Dockerfile     
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile debian-sid libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM docker.io/library/debian:sid-slim
 
 RUN export DEBIAN_FRONTEND=noninteractive && \
@@ -20,7 +21,7 @@
             python3 \
             python3-dev \
             python3-lxml \
-            python3-nose \
+            python3-pytest \
             python3-setuptools && \
     eatmydata apt-get autoremove -y && \
     eatmydata apt-get autoclean -y && \
@@ -29,7 +30,7 @@
     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > 
/packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-fedora-32.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-fedora-32.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-fedora-32.Dockerfile      
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-fedora-32.Dockerfile      
1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-#  $ lcitool dockerfile fedora-32 libvirt+dist,libvirt-python
-#
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
-FROM registry.fedoraproject.org/fedora:32
-
-RUN dnf install -y nosync && \
-    echo -e '#!/bin/sh\n\
-if test -d /usr/lib64\n\
-then\n\
-    export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
-else\n\
-    export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
-fi\n\
-exec "$@"' > /usr/bin/nosync && \
-    chmod +x /usr/bin/nosync && \
-    nosync dnf update -y && \
-    nosync dnf install -y \
-        ca-certificates \
-        ccache \
-        gcc \
-        git \
-        glibc-langpack-en \
-        libvirt-devel \
-        pkgconfig \
-        python3 \
-        python3-devel \
-        python3-lxml \
-        python3-nose \
-        python3-setuptools \
-        rpm-build && \
-    nosync dnf autoremove -y && \
-    nosync dnf clean all -y && \
-    rpm -qa | sort > /packages.txt && \
-    mkdir -p /usr/libexec/ccache-wrappers && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
-
-ENV LANG "en_US.UTF-8"
-ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-fedora-33.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-fedora-33.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-fedora-33.Dockerfile      
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-fedora-33.Dockerfile      
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile fedora-33 libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM registry.fedoraproject.org/fedora:33
 
 RUN dnf install -y nosync && \
@@ -27,7 +28,7 @@
         python3 \
         python3-devel \
         python3-lxml \
-        python3-nose \
+        python3-pytest \
         python3-setuptools \
         rpm-build && \
     nosync dnf autoremove -y && \
@@ -35,7 +36,7 @@
     rpm -qa | sort > /packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-fedora-34.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-fedora-34.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-fedora-34.Dockerfile      
1970-01-01 01:00:00.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-fedora-34.Dockerfile      
2021-05-27 15:23:16.000000000 +0200
@@ -0,0 +1,43 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool dockerfile fedora-34 libvirt+dist,libvirt-python
+#
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
+FROM registry.fedoraproject.org/fedora:34
+
+RUN dnf install -y nosync && \
+    echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+    export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+    export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+    chmod +x /usr/bin/nosync && \
+    nosync dnf update -y && \
+    nosync dnf install -y \
+        ca-certificates \
+        ccache \
+        gcc \
+        git \
+        glibc-langpack-en \
+        libvirt-devel \
+        pkgconfig \
+        python3 \
+        python3-devel \
+        python3-lxml \
+        python3-pytest \
+        python3-setuptools \
+        rpm-build && \
+    nosync dnf autoremove -y && \
+    nosync dnf clean all -y && \
+    rpm -qa | sort > /packages.txt && \
+    mkdir -p /usr/libexec/ccache-wrappers && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-fedora-rawhide.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-fedora-rawhide.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-fedora-rawhide.Dockerfile 
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-fedora-rawhide.Dockerfile 
2021-05-27 15:23:16.000000000 +0200
@@ -2,10 +2,12 @@
 #
 #  $ lcitool dockerfile fedora-rawhide libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM registry.fedoraproject.org/fedora:rawhide
 
-RUN dnf install -y nosync && \
+RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
+    dnf install -y nosync && \
     echo -e '#!/bin/sh\n\
 if test -d /usr/lib64\n\
 then\n\
@@ -15,7 +17,6 @@
 fi\n\
 exec "$@"' > /usr/bin/nosync && \
     chmod +x /usr/bin/nosync && \
-    nosync dnf update -y --nogpgcheck fedora-gpg-keys && \
     nosync dnf update -y && \
     nosync dnf install -y \
         ca-certificates \
@@ -28,7 +29,7 @@
         python3 \
         python3-devel \
         python3-lxml \
-        python3-nose \
+        python3-pytest \
         python3-setuptools \
         rpm-build && \
     nosync dnf autoremove -y && \
@@ -36,7 +37,7 @@
     rpm -qa | sort > /packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-opensuse-151.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-opensuse-151.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-opensuse-151.Dockerfile   
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-opensuse-151.Dockerfile   
1970-01-01 01:00:00.000000000 +0100
@@ -1,31 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-#  $ lcitool dockerfile opensuse-151 libvirt+dist,libvirt-python
-#
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
-FROM registry.opensuse.org/opensuse/leap:15.1
-
-RUN zypper update -y && \
-    zypper install -y \
-           ca-certificates \
-           ccache \
-           gcc \
-           git \
-           glibc-locale \
-           libvirt-devel \
-           pkgconfig \
-           python3 \
-           python3-devel \
-           python3-lxml \
-           python3-nose \
-           python3-setuptools \
-           rpm-build && \
-    zypper clean --all && \
-    rpm -qa | sort > /packages.txt && \
-    mkdir -p /usr/libexec/ccache-wrappers && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
-
-ENV LANG "en_US.UTF-8"
-ENV PYTHON "/usr/bin/python3"
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-opensuse-leap-152.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-opensuse-leap-152.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-opensuse-leap-152.Dockerfile      
1970-01-01 01:00:00.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-opensuse-leap-152.Dockerfile      
2021-05-27 15:23:16.000000000 +0200
@@ -0,0 +1,32 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool dockerfile opensuse-leap-152 libvirt+dist,libvirt-python
+#
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
+FROM registry.opensuse.org/opensuse/leap:15.2
+
+RUN zypper update -y && \
+    zypper install -y \
+           ca-certificates \
+           ccache \
+           gcc \
+           git \
+           glibc-locale \
+           libvirt-devel \
+           pkgconfig \
+           python3-base \
+           python3-devel \
+           python3-lxml \
+           python3-pytest \
+           python3-setuptools \
+           rpm-build && \
+    zypper clean --all && \
+    rpm -qa | sort > /packages.txt && \
+    mkdir -p /usr/libexec/ccache-wrappers && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-opensuse-tumbleweed.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-opensuse-tumbleweed.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-opensuse-tumbleweed.Dockerfile    
1970-01-01 01:00:00.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-opensuse-tumbleweed.Dockerfile    
2021-05-27 15:23:16.000000000 +0200
@@ -0,0 +1,32 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool dockerfile opensuse-tumbleweed libvirt+dist,libvirt-python
+#
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
+FROM registry.opensuse.org/opensuse/tumbleweed:latest
+
+RUN zypper update -y && \
+    zypper install -y \
+           ca-certificates \
+           ccache \
+           gcc \
+           git \
+           glibc-locale \
+           libvirt-devel \
+           pkgconfig \
+           python3-base \
+           python3-devel \
+           python3-lxml \
+           python3-pytest \
+           python3-setuptools \
+           rpm-build && \
+    zypper clean --all && \
+    rpm -qa | sort > /packages.txt && \
+    mkdir -p /usr/libexec/ccache-wrappers && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-ubuntu-1804.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-ubuntu-1804.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-ubuntu-1804.Dockerfile    
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-ubuntu-1804.Dockerfile    
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile ubuntu-1804 libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM docker.io/library/ubuntu:18.04
 
 RUN export DEBIAN_FRONTEND=noninteractive && \
@@ -20,7 +21,7 @@
             python3 \
             python3-dev \
             python3-lxml \
-            python3-nose \
+            python3-pytest \
             python3-setuptools && \
     eatmydata apt-get autoremove -y && \
     eatmydata apt-get autoclean -y && \
@@ -29,7 +30,7 @@
     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > 
/packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libvirt-python-7.2.0/ci/containers/ci-ubuntu-2004.Dockerfile 
new/libvirt-python-7.4.0/ci/containers/ci-ubuntu-2004.Dockerfile
--- old/libvirt-python-7.2.0/ci/containers/ci-ubuntu-2004.Dockerfile    
2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/ci/containers/ci-ubuntu-2004.Dockerfile    
2021-05-27 15:23:16.000000000 +0200
@@ -2,7 +2,8 @@
 #
 #  $ lcitool dockerfile ubuntu-2004 libvirt+dist,libvirt-python
 #
-# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
+# 
https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28
+
 FROM docker.io/library/ubuntu:20.04
 
 RUN export DEBIAN_FRONTEND=noninteractive && \
@@ -20,7 +21,7 @@
             python3 \
             python3-dev \
             python3-lxml \
-            python3-nose \
+            python3-pytest \
             python3-setuptools && \
     eatmydata apt-get autoremove -y && \
     eatmydata apt-get autoclean -y && \
@@ -29,7 +30,7 @@
     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > 
/packages.txt && \
     mkdir -p /usr/libexec/ccache-wrappers && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
 ENV LANG "en_US.UTF-8"
 ENV PYTHON "/usr/bin/python3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/generator.py 
new/libvirt-python-7.4.0/generator.py
--- old/libvirt-python-7.2.0/generator.py       2021-03-01 11:59:46.000000000 
+0100
+++ new/libvirt-python-7.4.0/generator.py       2021-05-27 15:23:16.000000000 
+0200
@@ -1237,13 +1237,16 @@
     elif name[0:13] == "virStorageVol":
         func = name[13:]
         func = func[0:1].lower() + func[1:]
+    elif name[0:16] == "virNodeDeviceGet":
+        func = name[16].lower() + name[17:]
+    elif name[0:19] == "virNodeDeviceLookup":
+        func = name[3].lower() + name[4:]
+    elif name[0:22] == "virNodeDeviceCreateXML":
+        func = name[3].lower() + name[4:]
+    elif name[0:19] == "virNodeDeviceDefine":
+        func = name[3].lower() + name[4:]
     elif name[0:13] == "virNodeDevice":
-        if name[13:16] == "Get":
-            func = name[16].lower() + name[17:]
-        elif name[13:19] == "Lookup" or name[13:19] == "Create":
-            func = name[3].lower() + name[4:]
-        else:
-            func = name[13].lower() + name[14:]
+        func = name[13].lower() + name[14:]
     elif name[0:7] == "virNode":
         func = name[7:]
         func = func[0:1].lower() + func[1:]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/libvirt-override.c 
new/libvirt-python-7.4.0/libvirt-override.c
--- old/libvirt-python-7.2.0/libvirt-override.c 2021-03-01 11:59:46.000000000 
+0100
+++ new/libvirt-python-7.4.0/libvirt-override.c 2021-05-27 15:23:16.000000000 
+0200
@@ -1625,10 +1625,14 @@
         VIR_PY_TUPLE_SET_GOTO(iothrtpl, 1, iothrmap, cleanup);
 
         for (pcpu = 0; pcpu < cpunum; pcpu++)
-            VIR_PY_LIST_SET_GOTO(iothrmap, pcpu,
-                                 PyBool_FromLong(VIR_CPU_USED(iothr->cpumap,
-                                                              pcpu)),
-                                 cleanup);
+            if (VIR_CPU_MAPLEN(pcpu + 1) > iothr->cpumaplen) {
+                VIR_PY_LIST_SET_GOTO(iothrmap, pcpu, PyBool_FromLong(0), 
cleanup);
+            } else {
+                VIR_PY_LIST_SET_GOTO(iothrmap, pcpu,
+                                     
PyBool_FromLong(VIR_CPU_USED(iothr->cpumap,
+                                                                  pcpu)),
+                                     cleanup);
+            }
     }
 
     py_retval = py_iothrinfo;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/libvirt-python.spec.in 
new/libvirt-python-7.4.0/libvirt-python.spec.in
--- old/libvirt-python-7.2.0/libvirt-python.spec.in     2021-03-01 
11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/libvirt-python.spec.in     2021-05-27 
15:23:16.000000000 +0200
@@ -16,16 +16,16 @@
 Name: libvirt-python
 Version: @PY_VERSION@
 Release: 1%{?dist}
-Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
-Url: http://libvirt.org
+Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
+Url: https://libvirt.org
 License: LGPLv2+
 BuildRequires: libvirt-devel == %{version}
 BuildRequires: python3-devel
 %if 0%{?rhel} == 7
-BuildRequires: python36-nose
+BuildRequires: python36-pytest
 BuildRequires: python36-lxml
 %else
-BuildRequires: python3-nose
+BuildRequires: python3-pytest
 BuildRequires: python3-lxml
 %endif
 BuildRequires: gcc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/setup.py 
new/libvirt-python-7.4.0/setup.py
--- old/libvirt-python-7.2.0/setup.py   2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/setup.py   2021-05-27 15:23:16.000000000 +0200
@@ -55,12 +55,6 @@
     except DistutilsExecError:
         return False
 
-def have_libvirtaio():
-    # This depends on asyncio, which in turn depends on "yield from" syntax.
-    # The asyncio module itself is in standard library since 3.4, but there is
-    # an out-of-tree version compatible with 3.3.
-    return sys.version_info >= (3, 3)
-
 def get_pkgconfig_data(args, mod, required=True):
     """Run pkg-config to and return content associated with it"""
     f = os.popen("%s %s %s" % (get_pkgcfg(), " ".join(args), mod))
@@ -135,8 +129,7 @@
         c_modules.append(modulelxc)
         py_modules.append("libvirt_lxc")
 
-    if have_libvirtaio():
-        py_modules.append("libvirtaio")
+    py_modules.append("libvirtaio")
 
     return c_modules, py_modules
 
@@ -155,8 +148,7 @@
         self.spawn([sys.executable, "generator.py", "libvirt-qemu", apis[1]])
         if have_libvirt_lxc():
             self.spawn([sys.executable, "generator.py", "libvirt-lxc", 
apis[2]])
-        if have_libvirtaio():
-            shutil.copy('libvirtaio.py', 'build')
+        shutil.copy('libvirtaio.py', 'build')
 
         build.run(self)
 
@@ -294,13 +286,13 @@
             self.build_platlib = os.path.join(self.build_base,
                                               'lib' + plat_specifier)
 
-    def find_nosetests_path(self):
+    def find_pytest_path(self):
         binaries = [
-            "nosetests-%d.%d" % (sys.version_info[0],
+            "pytest-%d.%d" % (sys.version_info[0],
                                  sys.version_info[1]),
-            "nosetests-%d" % (sys.version_info[0]),
-            "nosetests%d" % (sys.version_info[0]),
-            "nosetests",
+            "pytest-%d" % (sys.version_info[0]),
+            "pytest%d" % (sys.version_info[0]),
+            "pytest",
         ]
 
         for binary in binaries:
@@ -308,7 +300,7 @@
             if path is not None:
                 return path
 
-        raise Exception("Cannot find any nosetests binary")
+        raise Exception("Cannot find any pytest binary")
 
     def run(self):
         """
@@ -321,9 +313,11 @@
             os.environ["PYTHONPATH"] = self.build_platlib + ":" + 
os.environ["PYTHONPATH"]
         else:
             os.environ["PYTHONPATH"] = self.build_platlib
-        self.spawn([sys.executable, "sanitytest.py", self.build_platlib, 
apis[0]])
-        nose = self.find_nosetests_path()
-        self.spawn([sys.executable, nose])
+
+        if "LIBVIRT_API_COVERAGE" in os.environ:
+            self.spawn([sys.executable, "sanitytest.py", self.build_platlib, 
apis[0]])
+        pytest = self.find_pytest_path()
+        self.spawn([sys.executable, pytest])
 
 
 class my_clean(clean):
@@ -341,7 +335,7 @@
 _c_modules, _py_modules = get_module_lists()
 
 setup(name = 'libvirt-python',
-      version = '7.2.0',
+      version = '7.4.0',
       url = 'http://www.libvirt.org',
       maintainer = 'Libvirt Maintainers',
       maintainer_email = '[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/tests/test_conn.py 
new/libvirt-python-7.4.0/tests/test_conn.py
--- old/libvirt-python-7.2.0/tests/test_conn.py 2021-03-01 11:59:46.000000000 
+0100
+++ new/libvirt-python-7.4.0/tests/test_conn.py 2021-05-27 15:23:16.000000000 
+0200
@@ -14,9 +14,9 @@
 
     def testConnDomainList(self):
         doms = self.conn.listAllDomains()
-        self.assertEquals(len(doms), 1)
-        self.assertEquals(type(doms[0]), libvirt.virDomain)
-        self.assertEquals(doms[0].name(), "test")
+        self.assertEqual(len(doms), 1)
+        self.assertEqual(type(doms[0]), libvirt.virDomain)
+        self.assertEqual(doms[0].name(), "test")
 
 class TestLibvirtConnAuth(unittest.TestCase):
     connXML = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/tests/test_domain.py 
new/libvirt-python-7.4.0/tests/test_domain.py
--- old/libvirt-python-7.2.0/tests/test_domain.py       2021-03-01 
11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/tests/test_domain.py       2021-05-27 
15:23:16.000000000 +0200
@@ -13,7 +13,7 @@
 
     def testDomainSchedParams(self):
         params = self.dom.schedulerParameters()
-        self.assertEquals(len(params), 1)
+        self.assertEqual(len(params), 1)
         self.assertTrue("weight" in params)
         params["weight"] = 100
         self.dom.setSchedulerParameters(params)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-7.2.0/tox.ini 
new/libvirt-python-7.4.0/tox.ini
--- old/libvirt-python-7.2.0/tox.ini    2021-03-01 11:59:46.000000000 +0100
+++ new/libvirt-python-7.4.0/tox.ini    2021-05-27 15:23:16.000000000 +0200
@@ -4,7 +4,7 @@
 [testenv]
 deps=
     lxml
-    nose
+    pytest
 commands=
     python sanitytest.py
-    nosetests
+    pytest

Reply via email to