You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… comparisons
This fixes a build impurity issue in pythonRuntimeDepsCheckHook where the kernel version of the builder affects the dependency graph considered by the hook.
I noticed this because it triggered pypa/packaging#774, but it also means that the hook can fail/succeed depending on the host kernel version.
See issue NixOS#337209
… comparisons
This fixes a build impurity issue in pythonRuntimeDepsCheckHook where the kernel version of the builder affects the dependency graph considered by the hook.
I noticed this because it triggered pypa/packaging#774, but it also means that the hook can fail/succeed depending on the host kernel version.
See issue NixOS#337209
adisbladis
changed the title
pythonRuntimeDepsCheckHook fails on non PEP-440 compliant kernel versions
pythonRuntimeDepsCheckHook fails on non PEP-440 compliant builder kernel versions
Aug 26, 2024
Describe the bug
Builds that use a
platform_release
marker fails on some systems:The code that triggers it is:
Which internally gets a kernel version to compare the
platform_release
PEP-508 environment marker from the Python packaging module.Steps To Reproduce
Steps to reproduce the behavior:
platform_release
marker on a kernel version thatpackaging.Version
fails to parseExpected behavior
Builds should not be affected by the kernel version on the builder.
platform_release
andplatform_version
should be scrubbed from environment.Additional context
Upstream packaging bug: pypa/packaging#774
Failing build: https://github.com/adisbladis/uv2nix/actions/runs/10545502596/job/29215801487
Notify maintainers
@mweinelt
@FRidh
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: