https://github.com/pypa/setuptools/pull/4666

--- pyproject.toml.orig
+++ pyproject.toml
@@ -103,7 +103,7 @@ core = [
 
 	# for distutils
 	"jaraco.collections",
-	"jaraco.functools",
+	"jaraco.functools>=4",
 	"packaging",
 	"more_itertools",
 ]
