Blob Blame History Raw
diff --color -uNr a/bundled/botocore/botocore/auth.py b/bundled/botocore/botocore/auth.py
--- a/bundled/botocore/botocore/auth.py	2022-01-28 20:04:06.000000000 +0100
+++ b/bundled/botocore/botocore/auth.py	2022-02-02 14:07:03.675549498 +0100
@@ -120,7 +120,7 @@
             value = six.text_type(params[key])
             quoted_key = quote(key.encode('utf-8'), safe='')
             quoted_value = quote(value.encode('utf-8'), safe='-_~')
-            pairs.append(f'{quoted_key}={quoted_value}')
+            pairs.append(quoted_key + "=" + quoted_value)
         qs = '&'.join(pairs)
         string_to_sign += qs
         logger.debug('String to sign: %s', string_to_sign)
diff --color -uNr a/bundled/botocore/botocore/configprovider.py b/bundled/botocore/botocore/configprovider.py
--- a/bundled/botocore/botocore/configprovider.py	2022-01-28 20:04:06.000000000 +0100
+++ b/bundled/botocore/botocore/configprovider.py	2022-02-02 14:07:03.676549502 +0100
@@ -460,7 +460,7 @@
             mode)
         for config_var in default_configs:
             config_value = default_configs[config_var]
-            method = getattr(self, f'_set_{config_var}', None)
+            method = getattr(self, "_set_" + config_var, None)
             if method:
                 method(config_store, config_value)
 
diff --color -uNr a/bundled/botocore/botocore/credentials.py b/bundled/botocore/botocore/credentials.py
--- a/bundled/botocore/botocore/credentials.py	2022-01-28 20:04:06.000000000 +0100
+++ b/bundled/botocore/botocore/credentials.py	2022-02-02 14:07:03.678549509 +0100
@@ -22,7 +22,6 @@
 from collections import namedtuple
 from copy import deepcopy
 from hashlib import sha1
-from pathlib import Path
 
 from dateutil.parser import parse
 from dateutil.tz import tzlocal, tzutc
@@ -311,8 +310,8 @@
     def __delitem__(self, cache_key):
         actual_key = self._convert_cache_key(cache_key)
         try:
-            key_path = Path(actual_key)
-            key_path.unlink()
+            key_path = actual_key
+            os.unlink(key_path)
         except FileNotFoundError:
             raise KeyError(cache_key)
 
diff --color -uNr a/bundled/botocore/botocore/utils.py b/bundled/botocore/botocore/utils.py
--- a/bundled/botocore/botocore/utils.py	2022-01-28 20:04:06.000000000 +0100
+++ b/bundled/botocore/botocore/utils.py	2022-02-02 14:07:03.679549513 +0100
@@ -420,7 +420,7 @@
         sep = ''
         if self._base_url and not self._base_url.endswith('/'):
             sep = '/'
-        return f'{self._base_url}{sep}{path}'
+        return self._base_url + sep + path
 
     def _fetch_metadata_token(self):
         self._assert_enabled()
diff --color -uNr a/bundled/urllib3/setup.py b/bundled/urllib3/setup.py
--- a/bundled/urllib3/setup.py	2022-01-07 16:55:55.000000000 +0100
+++ b/bundled/urllib3/setup.py	2022-02-02 15:36:25.108600398 +0100
@@ -91,7 +91,7 @@
             "cryptography>=1.3.4",
             "idna>=2.0.0",
             "certifi",
-            "ipaddress; python_version=='2.7'",
+            "ipaddress",
         ],
         "socks": ["PySocks>=1.5.6,<2.0,!=1.5.7"],
     },