--- /dev/null
+--- brotli-1.1.0/setup.py.orig 2023-08-29 13:00:29.000000000 +0200
++++ brotli-1.1.0/setup.py 2023-11-08 19:42:16.251391487 +0100
+@@ -27,7 +27,7 @@ def read_define(path, macro):
+ """ Return macro value from the given file. """
+ with open(path, 'r') as f:
+ for line in f:
+- m = re.match(rf'#define\s{macro}\s+(.+)', line)
++ m = re.match(r'#define\s{macro}\s+(.+)'.format(macro=macro), line)
+ if m:
+ return m.group(1)
+ return ''
+@@ -41,7 +41,7 @@ def get_version():
+ patch = read_define(version_file_path, 'BROTLI_VERSION_PATCH')
+ if not major or not minor or not patch:
+ return ''
+- return f'{major}.{minor}.{patch}'
++ return '{major}.{minor}.{patch}'.format(major=major, minor=minor, patch=patch)
+
+
+ def get_test_suite():