[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mkvenv: pass first missing package to diagnose()
|
From: |
John Snow |
|
Subject: |
Re: [PATCH] mkvenv: pass first missing package to diagnose() |
|
Date: |
Thu, 25 May 2023 16:50:31 -0400 |
On Fri, May 19, 2023 at 4:25 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> If sphinx is present but the theme is not, mkvenv will print an
> inaccurate diagnostic:
>
> ERROR: Could not find a version that satisfies the requirement
> sphinx-rtd-theme>=0.5.0 (from versions: none)
> ERROR: No matching distribution found for sphinx-rtd-theme>=0.5.0
>
> 'sphinx>=1.6.0' not found:
> • Python package 'sphinx' version '5.3.0' was found, but isn't suitable.
> • mkvenv was configured to operate offline and did not check PyPI.
>
> Instead, ignore the packages that were found to be present, and report
> an error based on the first absent package.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Late to the party, but ACK.