[From nobody Sun Mar 22 22:35:07 2026
Received: (at submit) by bugs.debian.org; 27 Apr 2025 09:48:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-17.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,BODY_INCLUDES_SEVERITY,FOURLA,HAS_PACKAGE,
 HTML_MESSAGE,HTML_NBSP,MULTALT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
 RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,VERSION autolearn=ham
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 43; hammy, 150; neutral, 95; spammy,
 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--cidebiannet,
 0.000-+--ci.debian.net, 0.000-+--UD:ci.debian.net, 0.000-+--Maintainer
Return-path: &lt;prvs=621297c515=rong.fu.cn@windriver.com&gt;
Received: from mx0b-0064b401.pphosted.com ([205.220.178.238]:63732)
 by buxtehude.debian.org with esmtps
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA512__AES_256_GCM:256) (Exim 4.94.2)
 (envelope-from &lt;prvs=621297c515=rong.fu.cn@windriver.com&gt;)
 id 1u8ycW-008CLu-Id
 for submit@bugs.debian.org; Sun, 27 Apr 2025 09:48:21 +0000
Received: from pps.filterd (m0250811.ppops.net [127.0.0.1])
 by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53R60FLF016482
 for &lt;submit@bugs.debian.org&gt;; Sun, 27 Apr 2025 09:48:17 GMT
Received: from nam02-bn1-obe.outbound.protection.outlook.com
 (mail-bn1nam02lp2045.outbound.protection.outlook.com [104.47.51.45])
 by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 468mq19kd1-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for &lt;submit@bugs.debian.org&gt;; Sun, 27 Apr 2025 09:48:17 +0000 (GMT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=vPeOeC3SkiRLVUvzvJCGlavyjPm79rI5B6oNwCHETdrH2Bck2AbVH9n5R4aChyfgbBVaTSjVwEcT4aSujTiU/s2Lte8nn9Kz4DNWHjVJN4AGWbKCI0sVvsDslGPK6vMs1XY9VoZhbsKNy242s0e+qLvVoNCJBZYxIWBKW5rdpJ5crszVDQjLevfKh1sfaLp3wdcJbkVuxlrl3iG1ixtd7A0crbnNOIK3urj2NkF1fUHf5qppjpWZHLqwIWZpOgnOlgSsoBBkczpuMIl0jrTcFz/k5z8aToAlPQgvOmimRKj60Ah0t0jiu+2M8L7zQcW3412/ycPITnXWkxtaAOlbHQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=AYflgkNoFu/RdovVs6a49M6gS3WVqI4Cm4j8FHklblY=;
 b=oGD2ycbp5WuT0KVy946i8wHunDM6g/DQKTHmkxTf2lPzZTeiuPd4NJITEdjQVU6zwlZcAvOBw9nPEpqBV+4WmWOPkiSxCSakQMF2Tq2s0Th4BLviwXKtduEkYYmehOAYrCbkha8mUdis5AbNG31Yv+FOzqdOGVxbSejt5pGSDw/7eynI6Zjk8elm7mIFco5eRnl0NLv0XHRPaYQHWH9GdAB1+XnkIS/kKkn/7vwQOBUIKlwI7HBrradS00Lqe7vbjFo0EywVu1Ga1QMp2taF53li9nyPRH30Z91t0O7NtXE/1FJgQo/H9D3hp/hLmiK9hwitm8aIGzejmrU+SVTqiQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=windriver.com; dmarc=pass action=none
 header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none
Received: from LV2PR11MB6069.namprd11.prod.outlook.com (2603:10b6:408:17a::9)
 by IA1PR11MB8804.namprd11.prod.outlook.com (2603:10b6:208:597::7)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8678.29; Sun, 27 Apr
 2025 09:48:13 +0000
Received: from LV2PR11MB6069.namprd11.prod.outlook.com
 ([fe80::9349:1aed:1027:49da]) by LV2PR11MB6069.namprd11.prod.outlook.com
 ([fe80::9349:1aed:1027:49da%6]) with mapi id 15.20.8678.028; Sun, 27 Apr 2025
 09:48:12 +0000
From: &quot;Fu, Rong (CN)&quot; &lt;Rong.Fu.CN@windriver.com&gt;
To: &quot;submit@bugs.debian.org&quot; &lt;submit@bugs.debian.org&gt;
Subject: fix warnings of BeautifulSoup for hyperkitty
Thread-Topic: fix warnings of BeautifulSoup for hyperkitty
Thread-Index: Adu3WDyYVYOlXAa9TRWKxd8BXbEIOQ==
Date: Sun, 27 Apr 2025 09:48:12 +0000
Message-ID: &lt;LV2PR11MB60690538B9B98D4DAE80FADED1862@LV2PR11MB6069.namprd11.prod.outlook.com&gt;
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: LV2PR11MB6069:EE_|IA1PR11MB8804:EE_
x-ms-office365-filtering-correlation-id: a4c34a8d-dd81-4729-fe27-08dd8570a055
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
 ARA:13230040|1800799024|376014|366016|38070700018|8096899003|13003099007; 
x-microsoft-antispam-message-info: =?us-ascii?Q?C7tnn0tHboAE/nc24ntfUCOKnQ5+sn/0nfm0corLQKa0i4v1MZYobO6riqgh?=
 =?us-ascii?Q?ie5LphMLfrxyrvFMpLFoS7xDnMyMPns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C4Xg5L0A?=
 =?us-ascii?Q?Q5EqK+X8ZMmc7LB6tUX793sR6iL9my0Q5c145EHQUU/s42XrqvJAYvtzwjTf?=
 =?us-ascii?Q?p4yO7wAoQncTPmtO7C4luWtXmFgTheUV5Liv+0u3xuUsUknTMRPQTj9rX4rv?=
 =?us-ascii?Q?uHALfG3Kx42DTE/lEZJHszVQc28vpmj9duLe4NZeAT/g1mDbVnxkbWOr/6Z1?=
 =?us-ascii?Q?bCHLh1vu+CBs21cGDEMbCAe1UYvUGNmoxj/SlcIpBxo3UMt5y6Jb9VC+dMcx?=
 =?us-ascii?Q?OsRigEXnYxA5EuAXTsDvRDlR6c0Kn/VXsC5b2SPncjww7rotHJbnLPYKCIKY?=
 =?us-ascii?Q?Gu8U2B/XUY1+ypX08Rg3J/ZxCu3JYmdcBxxZDkrDQhwzJ/OumgCGZIjYKaf4?=
 =?us-ascii?Q?lRG+7nRrdsT8AhWezFzlKP9DXO7HrU+msLckom+rZhw8kLD3pO7Dh4zXpegX?=
 =?us-ascii?Q?ZJotdv3YvQcLgjzepoUkD1p3Mt5TLkR8cKRFgXHMepC+u5UQqLKEiuCBZtOP?=
 =?us-ascii?Q?6mjd9qiGlBY=3D?=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:LV2PR11MB6069.namprd11.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(376014)(366016)(38070700018)(8096899003)(13003099007);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KCsjypPNun4GU9HIavuyQkFAwi+bzrklrNMMU+S+g5S5gK0VcgJHaH1ws/Cd?=
 =?us-ascii?Q?akQJ8wFpNccMMmqFE4leaOTB+lbEVMloSDe12l/xS5ELL6G7fytKPNKDl8p4?=
 =?us-ascii?Q?pObQe/19DTvFz1HaV2u9vZJsfHxJRxbajp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xXNmgQPC1Rh?=
 =?us-ascii?Q?D41YvQRW4Rw5VPFLebDUHpxWKboQlnnYtbPap1nSV/9yHBowpz4bEdXvvXks?=
 =?us-ascii?Q?c5dcez7+rikauJCLXMTdLpOCSTp5zwCDrtSAKq2WAMVuqG/DGTuaM1YsMjXm?=
 =?us-ascii?Q?yJTTGvgimRec/HMUpxEkbLZDYRGfojtk23nETNGbrFAgugvccg/Jo8FC0IJ4?=
 =?us-ascii?Q?nXR0uWcIpLo9r/9StzpILuXFaqn3tZrvFuFZNx8zpU+17PdLzqbNYHCPQ1Xu?=
 =?us-ascii?Q?/t7TZ4N+sJIuDymw1Sa+ut8x8OZKdg+pOSEnQoT0gNBWMggn1+28iFV9tCHR?=
 =?us-ascii?Q?/24kfJtaHZuQOwugv9/FqdwnwS4vjcafGAkhaPDSP8RAAhPfFQhWlevPlfuv?=
 =?us-ascii?Q?spo97IdBV8itkRR8dqvJEVVdh9SzRqrOqaXk2H/TabPzZ5z+c0hf9IEIPRLt?=
 =?us-ascii?Q?GbX9c0A1Twi6dGOOIQi+lW1sR4yQuV3yQ8rwrtpxk84QTB2gemV9l2pTLLal?=
 =?us-ascii?Q?eM2SUAfdVi0bbT5UbnZ+iqO4hCmJvyXmgzGHGWQRhR+XC5G7UUABiCGgPbvG?=
 =?us-ascii?Q?dfYY3gdOtFVHF7fQkInYyKjw7C2M/bpSY5qvVJ4x?=
Content-Type: multipart/alternative;
 boundary=&quot;_000_LV2PR11MB60690538B9B98D4DAE80FADED1862LV2PR11MB6069namp_&quot;
MIME-Version: 1.0
X-OriginatorOrg: windriver.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB6069.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a4c34a8d-dd81-4729-fe27-08dd8570a055
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2025 09:48:12.9168 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: NrBpy0nDS35r6RFMS7sPIsjymhLkaNNV44yGNObWKcAwvTy0PRVbVHcdAwpQWtvvwgmqmBALEj4Sj77DVwvzgC0zjSeBL67fmcG+PxnyoSw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB8804
X-Authority-Analysis: v=2.4 cv=KsNN2XWN c=1 sm=1 tr=0 ts=680dfd61 cx=c_pps
 a=oYCWE2dcp7hbP1SgTdEJ+A==:117 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19
 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19
 a=xqWC_Br6kY4A:10 a=XR8D0OoHHMoA:10
 a=3_uRt0xjAAAA:8 a=Povg6yGoCdPqE5rhCn8A:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8
 a=SSmOFEACAAAA:8 a=PVcEMECbn_z6mS5f:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10
 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 a=z1SuboXgGPGzQ8_2mWib:22
X-Proofpoint-ORIG-GUID: VlaHfQVUbtILkzjyy7HA6pBeswwnsmEo
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNDI3MDA3OSBTYWx0ZWRfX6mZff/ZOSFOJ
 sgjH9ngW7LurLWVlsGpyzYY0oSC+FIcPNVjDUXmpJ73NvZBhpyiCVSOGvPzyAP8Ji2INMv0FH/h
 5BFqKLlWU2wZpF1DlEv6QOVJu/M0m57weJ3czI7hqsIzPMba0MkNOCWoQpA14EIezQUomehr1Ea
 1m8GTihnfFPzEDrulEEharjzFnXBI72h5Ku+gR1PZPN2MXykWFBt7Pf8UXcA17qG7YIRa89l/FU
 x2cjKnscjkXRYD/MtX+0rGiYEh5ogj4EqF4BuNKpkwTIcZvWDeksSQN7Vz+QU9R367/b6w5RIaA
 5G6MNfUy50XVRJ/uhzSdvKejEVzwVs2K4TDpLFOhHXm4vJUyh8mxusYDepE7p1buP48HEhx+LSx
 e4CMnQygJAt+NH3Uvfq+LcxF7lKwNdhs2afi8dpkZzDJE6qnbzJxB/8GC7Wgrj8kgaYzZGML
X-Proofpoint-GUID: VlaHfQVUbtILkzjyy7HA6pBeswwnsmEo
X-Sensitive_Customer_Information: Yes
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40
 definitions=2025-04-27_03,2025-04-24_02,2025-02-21_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 priorityscore=1501
 mlxlogscore=751 spamscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0
 mlxscore=0 phishscore=0 malwarescore=0 clxscore=1015 suspectscore=0
 impostorscore=0 classifier=spam authscore=0 authtc=n/a authcc=
 route=outbound adjust=0 reason=mlx scancount=1 engine=8.21.0-2504070000
 definitions=main-2504270079
Delivered-To: submit@bugs.debian.org

--_000_LV2PR11MB60690538B9B98D4DAE80FADED1862LV2PR11MB6069namp_
Content-Type: text/plain; charset=&quot;us-ascii&quot;
Content-Transfer-Encoding: quoted-printable

Package: hyperkitty
Version: 1.3.12-3
Severity: normal

Dear Maintainer,

I'd like to submit a patch for the hyperkitty package that fixes warning fo=
r tests &quot;test_feeds.py&quot;

See the warnings in https://ci.debian.net/packages/h/hyperkitty/unstable/am=
d64/60182734/

Before the fix:

121s .............................../usr/lib/python3/dist-packages/hyperkit=
ty/tests/test_feeds.py:68: XMLParsedAsHTMLWarning: It looks like you're usi=
ng an HTML parser to parse an XML document.
121s
121s Assuming this really is an XML document, what you're doing might work,=
 but you should know that using an XML parser will be more reliable. To par=
se this document as XML, make sure you have the Python package 'lxml' insta=
lled, and pass the keyword argument `features=3D&quot;xml&quot;` into the BeautifulSo=
up constructor.
121s
121s If you want or need to use an HTML parser on this document, you can ma=
ke this warning go away by filtering it. To do that, run this code before c=
alling the BeautifulSoup constructor:
121s
121s     from bs4 import XMLParsedAsHTMLWarning
121s     import warnings
121s
121s     warnings.filterwarnings(&quot;ignore&quot;, category=3DXMLParsedAsHTMLWarnin=
g)
121s
121s   soup =3D BeautifulSoup(response.content, &quot;lxml&quot;)
122s ./usr/lib/python3/dist-packages/hyperkitty/tests/test_feeds.py:53: XML=
ParsedAsHTMLWarning: It looks like you're using an HTML parser to parse an =
XML document.
122s
122s Assuming this really is an XML document, what you're doing might work,=
 but you should know that using an XML parser will be more reliable. To par=
se this document as XML, make sure you have the Python package 'lxml' insta=
lled, and pass the keyword argument `features=3D&quot;xml&quot;` into the BeautifulSo=
up constructor.
122s
122s If you want or need to use an HTML parser on this document, you can ma=
ke this warning go away by filtering it. To do that, run this code before c=
alling the BeautifulSoup constructor:
122s
122s     from bs4 import XMLParsedAsHTMLWarning
122s     import warnings
122s
122s     warnings.filterwarnings(&quot;ignore&quot;, category=3DXMLParsedAsHTMLWarnin=
g)
122s
122s   soup =3D BeautifulSoup(response.content, &quot;lxml&quot;)
199s

With the patch, the warnings are fixed.

Thank you for considering this patch attached

Rong Fu




--_000_LV2PR11MB60690538B9B98D4DAE80FADED1862LV2PR11MB6069namp_
Content-Type: text/html; charset=&quot;us-ascii&quot;
Content-Transfer-Encoding: quoted-printable

&lt;html xmlns:v=3D&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=3D&quot;urn:schemas-micr=
osoft-com:office:office&quot; xmlns:w=3D&quot;urn:schemas-microsoft-com:office:word&quot; =
xmlns:m=3D&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=3D&quot;http:=
//www.w3.org/TR/REC-html40&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=3D&quot;Content-Type&quot; content=3D&quot;text/html; charset=3Dus-ascii&quot;=
&gt;
&lt;meta name=3D&quot;Generator&quot; content=3D&quot;Microsoft Word 15 (filtered medium)&quot;&gt;
&lt;style&gt;&lt;!--
/* Font Definitions */
@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Aptos;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:12.0pt;
	font-family:&quot;Aptos&quot;,sans-serif;
	mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#467886;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:&quot;Aptos&quot;,sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
	{page:WordSection1;}
--&gt;&lt;/style&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;o:shapedefaults v:ext=3D&quot;edit&quot; spidmax=3D&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;o:shapelayout v:ext=3D&quot;edit&quot;&gt;
&lt;o:idmap v:ext=3D&quot;edit&quot; data=3D&quot;1&quot; /&gt;
&lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;
&lt;body lang=3D&quot;EN-US&quot; link=3D&quot;#467886&quot; vlink=3D&quot;#96607D&quot; style=3D&quot;word-wrap:=
break-word&quot;&gt;
&lt;div class=3D&quot;WordSection1&quot;&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Package: hyperkitty&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Version: 1.3.12-3&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Severity: normal&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Dear Maintainer,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;I'd like to submit a patch for the hyperkitty packag=
e that fixes warning for tests &#8220;test_feeds.py&#8221;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;See the warnings in &lt;a href=3D&quot;https://ci.debian.net=
/packages/h/hyperkitty/unstable/amd64/60182734/&quot;&gt;
https://ci.debian.net/packages/h/hyperkitty/unstable/amd64/60182734/&lt;/a&gt;&lt;o:=
p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Before the fix:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s .............................../usr/lib/python3=
/dist-packages/hyperkitty/tests/test_feeds.py:68: XMLParsedAsHTMLWarning: I=
t looks like you're using an HTML parser to parse an XML document.&lt;o:p&gt;&lt;/o:=
p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s Assuming this really is an XML document, what y=
ou're doing might work, but you should know that using an XML parser will b=
e more reliable. To parse this document as XML, make sure you have the Pyth=
on package 'lxml' installed, and pass
 the keyword argument `features=3D&quot;xml&quot;` into the BeautifulSoup c=
onstructor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s If you want or need to use an HTML parser on th=
is document, you can make this warning go away by filtering it. To do that,=
 run this code before calling the BeautifulSoup constructor:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s&nbsp;&nbsp;&nbsp;&nbsp; from bs4 import XMLPars=
edAsHTMLWarning&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s&nbsp;&nbsp;&nbsp;&nbsp; import warnings&lt;o:p&gt;&lt;/o=
:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s&nbsp;&nbsp;&nbsp;&nbsp; warnings.filterwarnings=
(&quot;ignore&quot;, category=3DXMLParsedAsHTMLWarning)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;121s&nbsp;&nbsp; soup =3D BeautifulSoup(response.con=
tent, &quot;lxml&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s ./usr/lib/python3/dist-packages/hyperkitty/test=
s/test_feeds.py:53: XMLParsedAsHTMLWarning: It looks like you're using an H=
TML parser to parse an XML document.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s Assuming this really is an XML document, what y=
ou're doing might work, but you should know that using an XML parser will b=
e more reliable. To parse this document as XML, make sure you have the Pyth=
on package 'lxml' installed, and pass
 the keyword argument `features=3D&quot;xml&quot;` into the BeautifulSoup c=
onstructor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s If you want or need to use an HTML parser on th=
is document, you can make this warning go away by filtering it. To do that,=
 run this code before calling the BeautifulSoup constructor:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s&nbsp;&nbsp;&nbsp;&nbsp; from bs4 import XMLPars=
edAsHTMLWarning&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s&nbsp;&nbsp;&nbsp;&nbsp; import warnings&lt;o:p&gt;&lt;/o=
:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s&nbsp;&nbsp;&nbsp;&nbsp; warnings.filterwarnings=
(&quot;ignore&quot;, category=3DXMLParsedAsHTMLWarning)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;122s&nbsp;&nbsp; soup =3D BeautifulSoup(response.con=
tent, &quot;lxml&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;199s&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;With the patch, the warnings are fixed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/=
p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Thank you for considering this patch attached&lt;o:p&gt;&lt;/=
o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;Rong Fu&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=3D&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

--_000_LV2PR11MB60690538B9B98D4DAE80FADED1862LV2PR11MB6069namp_--
]