Fix handling of MissingPythonDistribution.
This commit is contained in:
parent
6bb2b0a847
commit
2269458ee9
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def problem_to_upstream_requirement(problem): # noqa: C901
|
|||
)
|
||||
elif isinstance(problem, MissingPythonDistribution):
|
||||
return PythonPackageRequirement(
|
||||
problem.module,
|
||||
problem.distribution,
|
||||
python_version=problem.python_version,
|
||||
minimum_version=problem.minimum_version,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue