get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2197092/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2197092,
    "url": "http://patchwork.ozlabs.org/api/patches/2197092/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260217051112.446957-4-jsnow@redhat.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260217051112.446957-4-jsnow@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-17T05:11:11",
    "name": "[3/4] python: drop avocado",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8f8b2ba1ecf56b0b7edab17b0a0f21be4c7bea6a",
    "submitter": {
        "id": 64343,
        "url": "http://patchwork.ozlabs.org/api/people/64343/?format=api",
        "name": "John Snow",
        "email": "jsnow@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260217051112.446957-4-jsnow@redhat.com/mbox/",
    "series": [
        {
            "id": 492370,
            "url": "http://patchwork.ozlabs.org/api/series/492370/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=492370",
            "date": "2026-02-17T05:11:08",
            "name": "Python: drop avocado, misc test fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492370/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2197092/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197092/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=NGkbSORh;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFSS26NL7z1xwR\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 16:12:01 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1vsDMr-0006js-WA; Tue, 17 Feb 2026 00:11:26 -0500",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <jsnow@redhat.com>) id 1vsDMq-0006jG-SQ\n for qemu-devel@nongnu.org; Tue, 17 Feb 2026 00:11:24 -0500",
            "from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <jsnow@redhat.com>) id 1vsDMp-0002JZ-4K\n for qemu-devel@nongnu.org; Tue, 17 Feb 2026 00:11:24 -0500",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-541-eMVjBIbZNAWap3m-G1x4sQ-1; Tue,\n 17 Feb 2026 00:11:20 -0500",
            "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 036AA18005AD\n for <qemu-devel@nongnu.org>; Tue, 17 Feb 2026 05:11:19 +0000 (UTC)",
            "from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.88.120])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 49EDD18003F6; Tue, 17 Feb 2026 05:11:17 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1771305082;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=HWRUA8tj40Tz3RR9F8yelmtXUdPZZ2umwgoMnemQSdQ=;\n b=NGkbSORhbm3gjOUdCRN5U90XFFETBDDez4r96xnmVplsqfoEZ+Kt+u2s447oN3cyUw9cyu\n Kyc0GdMCDpD0EhtfD1RlSc9fYlqhLe1e6Wm2pSLx5X7+DO7TBDu4NkoUoXhugb16YViPyA\n gSK1+jteWDa1H/EbcjfbDxtwMyEc33E=",
        "X-MC-Unique": "eMVjBIbZNAWap3m-G1x4sQ-1",
        "X-Mimecast-MFC-AGG-ID": "eMVjBIbZNAWap3m-G1x4sQ_1771305079",
        "From": "John Snow <jsnow@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Cleber Rosa <crosa@redhat.com>,\n\tJohn Snow <jsnow@redhat.com>",
        "Subject": "[PATCH 3/4] python: drop avocado",
        "Date": "Tue, 17 Feb 2026 00:11:11 -0500",
        "Message-ID": "<20260217051112.446957-4-jsnow@redhat.com>",
        "In-Reply-To": "<20260217051112.446957-1-jsnow@redhat.com>",
        "References": "<20260217051112.446957-1-jsnow@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111",
        "Received-SPF": "pass client-ip=170.10.129.124; envelope-from=jsnow@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "Avocado-framework is no longer used for anything, so it can be removed.\n\nSigned-off-by: John Snow <jsnow@redhat.com>\n---\n python/README.rst              |  2 --\n python/avocado.cfg             | 13 -------------\n python/setup.cfg               |  1 -\n python/tests/flake8.sh         |  3 ---\n python/tests/iotests-mypy.sh   |  4 ----\n python/tests/iotests-pylint.sh |  5 -----\n python/tests/isort.sh          |  3 ---\n python/tests/minreqs.txt       |  1 -\n python/tests/mypy.sh           |  3 ---\n python/tests/pylint.sh         |  4 ----\n python/tests/qapi-flake8.sh    |  6 ------\n python/tests/qapi-isort.sh     |  8 --------\n python/tests/qapi-mypy.sh      |  4 ----\n python/tests/qapi-pylint.sh    |  8 --------\n 14 files changed, 65 deletions(-)\n delete mode 100644 python/avocado.cfg\n delete mode 100755 python/tests/flake8.sh\n delete mode 100755 python/tests/iotests-mypy.sh\n delete mode 100755 python/tests/iotests-pylint.sh\n delete mode 100755 python/tests/isort.sh\n delete mode 100755 python/tests/mypy.sh\n delete mode 100755 python/tests/pylint.sh\n delete mode 100755 python/tests/qapi-flake8.sh\n delete mode 100755 python/tests/qapi-isort.sh\n delete mode 100755 python/tests/qapi-mypy.sh\n delete mode 100755 python/tests/qapi-pylint.sh",
    "diff": "diff --git a/python/README.rst b/python/README.rst\nindex ec5cb5e971b..e34d1a1c7b1 100644\n--- a/python/README.rst\n+++ b/python/README.rst\n@@ -108,8 +108,6 @@ Files in this directory\n \n - ``qemu/`` Python 'qemu' namespace package source directory.\n - ``tests/`` Python package tests directory.\n-- ``avocado.cfg`` Configuration for the Avocado test-runner.\n-  Used by ``make check`` et al.\n - ``Makefile`` provides some common testing/installation invocations.\n   Try ``make help`` to see available targets.\n - ``MANIFEST.in`` is read by python setuptools, it specifies additional files\ndiff --git a/python/avocado.cfg b/python/avocado.cfg\ndeleted file mode 100644\nindex a4604200594..00000000000\n--- a/python/avocado.cfg\n+++ /dev/null\n@@ -1,13 +0,0 @@\n-[run]\n-test_runner = nrunner\n-\n-[simpletests]\n-# Don't show stdout/stderr in the test *summary*\n-status.failure_fields = ['status']\n-\n-[job]\n-# Don't show the full debug.log output; only select stdout/stderr.\n-output.testlogs.logfiles = ['stdout', 'stderr']\n-\n-# Show full stdout/stderr only on tests that FAIL\n-output.testlogs.statuses = ['FAIL']\ndiff --git a/python/setup.cfg b/python/setup.cfg\nindex 03344526730..e5bf498f0e1 100644\n--- a/python/setup.cfg\n+++ b/python/setup.cfg\n@@ -35,7 +35,6 @@ install_requires =\n [options.extras_require]\n # Remember to update tests/minreqs.txt if changing anything below:\n devel =\n-    avocado-framework >= 90.0\n     distlib >= 0.3.6\n     flake8 >= 5.0.4\n     fusepy >= 2.0.4\ndiff --git a/python/tests/flake8.sh b/python/tests/flake8.sh\ndeleted file mode 100755\nindex e0136996453..00000000000\n--- a/python/tests/flake8.sh\n+++ /dev/null\n@@ -1,3 +0,0 @@\n-#!/bin/sh -e\n-python3 -m flake8 qemu/\n-python3 -m flake8 scripts/\ndiff --git a/python/tests/iotests-mypy.sh b/python/tests/iotests-mypy.sh\ndeleted file mode 100755\nindex ee764708199..00000000000\n--- a/python/tests/iotests-mypy.sh\n+++ /dev/null\n@@ -1,4 +0,0 @@\n-#!/bin/sh -e\n-\n-cd ../tests/qemu-iotests/\n-python3 -m linters --mypy\ndiff --git a/python/tests/iotests-pylint.sh b/python/tests/iotests-pylint.sh\ndeleted file mode 100755\nindex 33c5ae900a5..00000000000\n--- a/python/tests/iotests-pylint.sh\n+++ /dev/null\n@@ -1,5 +0,0 @@\n-#!/bin/sh -e\n-\n-cd ../tests/qemu-iotests/\n-# See commit message for environment variable explainer.\n-SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m linters --pylint\ndiff --git a/python/tests/isort.sh b/python/tests/isort.sh\ndeleted file mode 100755\nindex 66c2f7df0fd..00000000000\n--- a/python/tests/isort.sh\n+++ /dev/null\n@@ -1,3 +0,0 @@\n-#!/bin/sh -e\n-python3 -m isort -c qemu/\n-python3 -m isort -c scripts/\ndiff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt\nindex 19912027076..05c3bdb89f8 100644\n--- a/python/tests/minreqs.txt\n+++ b/python/tests/minreqs.txt\n@@ -31,7 +31,6 @@ distlib==0.3.6\n fusepy==2.0.4\n \n # Test-runners, utilities, etc.\n-avocado-framework==90.0\n pytest==6.0.2\n \n # Linters\ndiff --git a/python/tests/mypy.sh b/python/tests/mypy.sh\ndeleted file mode 100755\nindex a33a3f58ab3..00000000000\n--- a/python/tests/mypy.sh\n+++ /dev/null\n@@ -1,3 +0,0 @@\n-#!/bin/sh -e\n-python3 -m mypy -p qemu\n-python3 -m mypy scripts/\ndiff --git a/python/tests/pylint.sh b/python/tests/pylint.sh\ndeleted file mode 100755\nindex 2b68da90df7..00000000000\n--- a/python/tests/pylint.sh\n+++ /dev/null\n@@ -1,4 +0,0 @@\n-#!/bin/sh -e\n-# See commit message for environment variable explainer.\n-SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint qemu/\n-SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint scripts/\ndiff --git a/python/tests/qapi-flake8.sh b/python/tests/qapi-flake8.sh\ndeleted file mode 100755\nindex c69f9ea2e00..00000000000\n--- a/python/tests/qapi-flake8.sh\n+++ /dev/null\n@@ -1,6 +0,0 @@\n-#!/bin/sh -e\n-# SPDX-License-Identifier: GPL-2.0-or-later\n-\n-python3 -m flake8 ../scripts/qapi/ \\\n-        ../docs/sphinx/qapidoc.py \\\n-        ../docs/sphinx/qapi_domain.py\ndiff --git a/python/tests/qapi-isort.sh b/python/tests/qapi-isort.sh\ndeleted file mode 100755\nindex 067c16d5d94..00000000000\n--- a/python/tests/qapi-isort.sh\n+++ /dev/null\n@@ -1,8 +0,0 @@\n-#!/bin/sh -e\n-# SPDX-License-Identifier: GPL-2.0-or-later\n-\n-python3 -m isort --sp . -c ../scripts/qapi/\n-# Force isort to recognize \"compat\" as a local module and not third-party\n-python3 -m isort --sp . -c -p compat \\\n-        ../docs/sphinx/qapi_domain.py \\\n-        ../docs/sphinx/qapidoc.py\ndiff --git a/python/tests/qapi-mypy.sh b/python/tests/qapi-mypy.sh\ndeleted file mode 100755\nindex 363dbaf8c06..00000000000\n--- a/python/tests/qapi-mypy.sh\n+++ /dev/null\n@@ -1,4 +0,0 @@\n-#!/bin/sh -e\n-# SPDX-License-Identifier: GPL-2.0-or-later\n-\n-python3 -m mypy ../scripts/qapi\ndiff --git a/python/tests/qapi-pylint.sh b/python/tests/qapi-pylint.sh\ndeleted file mode 100755\nindex 8767d9d2a2d..00000000000\n--- a/python/tests/qapi-pylint.sh\n+++ /dev/null\n@@ -1,8 +0,0 @@\n-#!/bin/sh -e\n-# SPDX-License-Identifier: GPL-2.0-or-later\n-\n-SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint \\\n-                                --rcfile=../scripts/qapi/pylintrc \\\n-                                ../scripts/qapi/ \\\n-                                ../docs/sphinx/qapidoc.py \\\n-                                ../docs/sphinx/qapi_domain.py\n",
    "prefixes": [
        "3/4"
    ]
}