From 148188604ad5566f3a42f86b2b66618f1a4983c4 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: May 11 2020 16:31:41 +0000 Subject: build on armhfp --- diff --git a/SPECS/python-urllib3.spec b/SPECS/python-urllib3.spec index 6cd889b..9ddaa3b 100644 --- a/SPECS/python-urllib3.spec +++ b/SPECS/python-urllib3.spec @@ -90,6 +90,15 @@ rm -rf test/contrib/ # fail when combined with the unbundling of backports-ssl_match_hostname rm -f test/test_no_ssl.py +# Test `test_recent_date` fails if RECENT_DATE is not up to date. +# Comment from the test: +# This test is to make sure that the RECENT_DATE value +# doesn't get too far behind what the current date is. +# When this test fails update urllib3.connection.RECENT_DATE +# according to the rules defined in that file. +sed -i "s/^RECENT_DATE = datetime.date(2017, 6, 30)$/RECENT_DATE = datetime.date(2019, 2, 19)/" \ + src/urllib3/connection.py + %build %py3_build