The recommendation supplied by Dunes solved the issue. By pinning the version of pip below 25 pip-compile works as devoutly hoped for.
pip
pip-compile