From d4020b3c8fc46ee159da2a3422e4f574bd45c25d Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Sun, 8 Oct 2023 09:50:40 +0800 Subject: [PATCH 1/2] Update test_index.py --- scripts/ci/test_index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/test_index.py b/scripts/ci/test_index.py index c7e3d1a764a..093ebaa7388 100755 --- a/scripts/ci/test_index.py +++ b/scripts/ci/test_index.py @@ -85,6 +85,8 @@ def test_extension_filenames(self): "Extension name mismatch in extensions['{}']. " "Found an extension in the list with name " "{}".format(ext_name, item['metadata']['name'])) + # Due to https://github.com/pypa/wheel/issues/235 we prevent whls built with 0.31.0 or greater. + # 0.29.0, 0.30.0 are the two previous versions before that release. parsed_filename = WHEEL_INFO_RE(item['filename']) p = parsed_filename.groupdict() self.assertTrue(p.get('name'), "Can't get name for {}".format(item['filename'])) From 1b1468ec5c1c9d1bc1f93cbf81b5292bbb00bcd8 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Tue, 10 Oct 2023 08:03:28 +0800 Subject: [PATCH 2/2] Update pull_request_template.md --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b745d54e274..c947de5815a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -9,7 +9,7 @@ This checklist is used to make sure that common guidelines for a pull request ar ### General Guidelines - [ ] Have you run `azdev style ` locally? (`pip install azdev` required) -- [ ] Have you run `python scripts/ci/test_index.py -q` locally? +- [ ] Have you run `python scripts/ci/test_index.py -q` locally? (`pip install wheel==0.30.0` required) For new extensions: