Skip to main content

find_requires_python

Function find_requires_python 

Source
pub fn find_requires_python(
    workspace: &Workspace,
    groups: &DependencyGroupsWithDefaults,
) -> Result<Option<RequiresPython>, PythonSelectionError>
Expand description

Compute the Requires-Python bound for the Workspace.

For a Workspace with multiple packages, the Requires-Python bound is the union of the Requires-Python bounds of all the packages.