Add support for Python 3.13
This MR adds support for Python 3.13, including porting @leo-singer's build fix.
Closes Backport fix for Python 3.13 (#2 - closed).
See Fix build for Python 3.13 (lscsoft/ligo-segments!38) • Unassigned.
Edited by Duncan Macleod