get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196990,
    "url": "http://patchwork.ozlabs.org/api/patches/2196990/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20260216202626.2108493-1-i.maximets@ovn.org/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260216202626.2108493-1-i.maximets@ovn.org>",
    "list_archive_url": null,
    "date": "2026-02-16T20:26:25",
    "name": "[ovs-dev] Revert \"python: Replace deprecated License with License-Expression (PEP 639).\"",
    "commit_ref": "eb0a643f88cfd63e8859f3520436b12ee039effb",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "78b2c72b127bfcc8a2ba587e5d8f4b87f2ad3baa",
    "submitter": {
        "id": 76798,
        "url": "http://patchwork.ozlabs.org/api/people/76798/?format=api",
        "name": "Ilya Maximets",
        "email": "i.maximets@ovn.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20260216202626.2108493-1-i.maximets@ovn.org/mbox/",
    "series": [
        {
            "id": 492347,
            "url": "http://patchwork.ozlabs.org/api/series/492347/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=492347",
            "date": "2026-02-16T20:26:25",
            "name": "[ovs-dev] Revert \"python: Replace deprecated License with License-Expression (PEP 639).\"",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492347/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196990/comments/",
    "check": "warning",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196990/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ovs-dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.133; helo=smtp2.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp4.osuosl.org;\n dmarc=none (p=none dis=none) header.from=ovn.org"
        ],
        "Received": [
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFDnr0HWyz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 07:26:39 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp2.osuosl.org (Postfix) with ESMTP id 00C3440BCB;\n\tMon, 16 Feb 2026 20:26:37 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id AGXO-fMEj8OV; Mon, 16 Feb 2026 20:26:34 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp2.osuosl.org (Postfix) with ESMTPS id 2F1E5401C2;\n\tMon, 16 Feb 2026 20:26:34 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id ED78DC0035;\n\tMon, 16 Feb 2026 20:26:33 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 38995C0033\n for <ovs-dev@openvswitch.org>; Mon, 16 Feb 2026 20:26:32 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 11B6140801\n for <ovs-dev@openvswitch.org>; Mon, 16 Feb 2026 20:26:32 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id KdDlsmHj_4jO for <ovs-dev@openvswitch.org>;\n Mon, 16 Feb 2026 20:26:31 +0000 (UTC)",
            "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n [209.85.221.68])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 050E840792\n for <ovs-dev@openvswitch.org>; Mon, 16 Feb 2026 20:26:30 +0000 (UTC)",
            "by mail-wr1-f68.google.com with SMTP id\n ffacd0b85a97d-4362d4050c1so4096975f8f.2\n for <ovs-dev@openvswitch.org>; Mon, 16 Feb 2026 12:26:30 -0800 (PST)",
            "from im-t490s.redhat.com (89-24-32-126.nat.epc.tmcz.cz.\n [89.24.32.126]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43796ad015bsm30335156f8f.38.2026.02.16.12.26.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 16 Feb 2026 12:26:28 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.9.56;\n helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 2F1E5401C2",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 050E840792"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.68;\n helo=mail-wr1-f68.google.com; envelope-from=i.maximets.ovn@gmail.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org 050E840792",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771273589; x=1771878389;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=0XbSxotXe829J9d4WYf8IHf8g/0SWQ5Oq8EdN5nhXsY=;\n b=p/IibFtcMS3o6Oll9YaUj/oGupbPruWvq87LpksefCIr9D5aAe4sbIq+QWCNb5Jje8\n 9qoFgdAi5hY283QVpSj/mYVxCadw/W9DP8nUJKwb6kwf2cUgRwwfuhU4YYcIqBEw2RSu\n /Shq2Y2gYsfLXXRBHa5ecyfunPiXOMjAX4NZJcXsbSr2Y1dPnFIEuMAwwRhv5LnV08eA\n BaqN45BGh6Mx9hBFJtMnAZ86S894lZRpm08C+hvPg3DOloIgEigkxsuVYva7emebQzer\n urlvC05YMnSD6AUFR55M0nqxBcyScGq/mGeJ7co7OfDAKa9X2w1lp7h8YxjQ3hGyGz/x\n VNoA==",
        "X-Gm-Message-State": "AOJu0Yxmh2mUIZPvwbhxwHfMkPs/el4ct4hNdKZOnoknbbPb/gEOdAhd\n M7K7b0el9zvdIAOzP6zUBj84HzL36fotFmYauYan7aTcQAGAHUNcMZx/t2aESc8r",
        "X-Gm-Gg": "AZuq6aJ6t1+bklXhutor3zHvsaVsFSGDYbYEsqP1AvUbOdPilEm5/CS28RIfW47VeSt\n YuH/rIDlsN0ZTdWlPItEY34q5G5Um8pHGDD/nePRQ2ANGGXYB0kjWwgIwLeA8KZS+7e1JIN9Kg/\n Dj3fEZ1tkIidf/UC4mO7reYCcPNcbgyiu8uEN8+i8CKBXKGjC0YpsnpKsxaC3x68sXQk7w9Wwlo\n pgXERt3V5iEnSY+le+YihWsoMRrIYABkkd9t1qWiqfCqzpjaqPIRYhY3QoBiwlSuwECjhz+G0jG\n V4wsn8gGO+iM//ZrlFrMzZPoyh/tts8Cvt282URfJTbul/wnSWniTtJO9bOJRckqs/OXDl2gXZl\n JGgw1EEhfA9RUDp+VuGP7/CObBY26GxHzzhX4c6hGFERGckl9gsp6WyhFRx9RUL0BCik7gbS28t\n Brv1Os7ZjA2U9vOiuDy9aaSlun+fhCX2Jw80ucjWN1UpmvckbLi/4CLYa/QE7WP6E=",
        "X-Received": "by 2002:a05:6000:1842:b0:430:f59d:4dfc with SMTP id\n ffacd0b85a97d-437978c9ed5mr18753679f8f.9.1771273588811;\n Mon, 16 Feb 2026 12:26:28 -0800 (PST)",
        "From": "Ilya Maximets <i.maximets@ovn.org>",
        "To": "ovs-dev@openvswitch.org",
        "Date": "Mon, 16 Feb 2026 21:26:25 +0100",
        "Message-ID": "<20260216202626.2108493-1-i.maximets@ovn.org>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "Subject": "[ovs-dev] [PATCH] Revert \"python: Replace deprecated License with\n License-Expression (PEP 639).\"",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Cc": "Ilya Maximets <i.maximets@ovn.org>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "This reverts commit 7330836535b52ad772a7878761e82226ce4d5706.\n\nThe 'License-Expression' is not a classifier, so it must not be in\nthe list of classifiers.  Otherwise PyPI rejects the package:\n\n  HTTPError: 400 Bad Request\n\n  The server could not comply with the request since it is either\n  malformed or otherwise incorrect.\n\n  400 'License-Expression :: Apache 2.0' is not a valid classifier.\n  See https://packaging.python.org/specifications/core-metadata for\n  more information.\n\nSo, the commit is clearly wrong.  The list of valid classifiers\ncan be seen here: https://pypi.org/classifiers/\n\nWe probably shouldn't list the classifier at all and change the\n'license' field instead.  But that's a thing to explore later.\nFor now, just revert the change to the legacy working state.\n\nFixes: 7330836535b5 (\"python: Replace deprecated License with License-Expression (PEP 639).\")\nSigned-off-by: Ilya Maximets <i.maximets@ovn.org>\n---\n python/setup.py.template | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/python/setup.py.template b/python/setup.py.template\nindex 0a7849b4e..e28d5d397 100644\n--- a/python/setup.py.template\n+++ b/python/setup.py.template\n@@ -97,7 +97,7 @@ setup_args = dict(\n         'Topic :: Database :: Front-Ends',\n         'Topic :: Software Development :: Libraries :: Python Modules',\n         'Topic :: System :: Networking',\n-        'License-Expression :: Apache 2.0',\n+        'License :: OSI Approved :: Apache Software License',\n         'Programming Language :: Python :: 3',\n         'Programming Language :: Python :: 3.7',\n     ],\n",
    "prefixes": [
        "ovs-dev"
    ]
}