From 7c8b888054264d847f5ae55c456803f52ad0177b Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sun, 30 Jan 2022 16:37:01 +0000 Subject: [PATCH] Make wheel indices valid HTML 5 Pip 22.0 switched[*] its HTML parser library for one which demands strict adherence to HTML 5, and so cannot work if told to include our wheel indices because they lack a doctype declaration on the first line. Add one. [*] https://github.com/pypa/pip/issues/10825 Change-Id: Ia863e313e656e67191e1ca3aea968a7f3e4059a6 --- roles/copy-wheels/files/wheel-index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copy-wheels/files/wheel-index.sh b/roles/copy-wheels/files/wheel-index.sh index 21038d0279..43fc7c1a27 100755 --- a/roles/copy-wheels/files/wheel-index.sh +++ b/roles/copy-wheels/files/wheel-index.sh @@ -11,7 +11,7 @@ trap "rm -f -- '$TMP_INDEX_FILE'" EXIT INDEX_FILE=${MIRROR_ROOT}/index.html # Start building our file -echo -e "\n \n Wheel Index\n " > $TMP_INDEX_FILE +echo -e "\n\n \n Wheel Index\n " > $TMP_INDEX_FILE echo -e " \n