lol

python3.pkgs.pythonRuntimeDepsCheckHook: allow prereleases

Updating to prereleases should be possible, but making this an option is
difficult, given that for packages with many consumers you would have to
set it in each consumer.

We thoroughly test the package set, so allowing prereleases unconditionally
shouldn't be too bad.

Closes: #301698

+3
+3
pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py
··· 78 78 error(f"{package_name} not installed") 79 79 return False 80 80 81 + # Allow prereleases, to give to give us some wiggle-room 82 + requirement.specifier.prereleases = True 83 + 81 84 if requirement.specifier and package.version not in requirement.specifier: 82 85 error( 83 86 f"{package_name}{requirement.specifier} not satisfied by version {package.version}"