summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py
AgeCommit message (Collapse)Author
2024-11-18python3.pkgs.pythonRuntimeDepsCheckHook: don't validate wheel metadataMartin Weinelt
Metadata can have issues that the packaging library will complain about, but that should not prevent us from building any package.
2024-11-18python3.pkgs.pythonRuntimeDepsCheckHook: allow prereleasesMartin Weinelt
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
2024-03-22python311Packages.packaging: 23.2 -> 24.0Martin Weinelt
https://github.com/pypa/packaging/blob/24.0/CHANGELOG.rst The `requires_dist` field now defaults to `None`, if the package does not specify any requirements.
2024-03-22python3.pkgs.pythonRuntimeDepsCheckHook: skip empty specifiersMartin Weinelt
Prevent the hook from erroring out on missing specifiers, as reported for `highspy`, which currently ships with a pre-release version, triggering the following error message: - highspy not satisfied by version 1.7.1.dev1
2023-12-20python3.pkgs.pythonRuntimeDepsCheckHook: initMartin Weinelt
Implements a hook, that checks whether all dependencies, as specified by the wheel manifest, are present in the current environment. Complains about missing packages, as well as version specifier mismatches.