Fix a bug where dependencies with requires-python pre-release versions caused pdm update to fail with InvalidPyVersion.