As you see from your own CI logs here:
File "/Users/runner/work/fastcore/fastcore/fastcore/docments.py", line 359
sig_str = f"def {get_name(self.obj)}(\n {'\n '.join(lines)}\n{self._ret_str}"
^
SyntaxError: f-string expression part cannot include a backslash
It seems to not work with Python 3.10 and 3.11, but fine for 3.12.