Re: Issue with PyPI when working offline

John Snow <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <CAFn=p-ZkTd5iv9UZCondYbBe6Y3Gudcv8oE-95Ttnh2O8dujEQ@mail.gmail.com>
On Wed, Jul 29, 2026 at 9:30 AM Philippe Mathieu-Daudé
<[email protected]> wrote:
>
> Hi Paolo,
>
> On 13/5/26 15:36, Paolo Bonzini wrote:
> > On 5/13/26 15:04, Philippe Mathieu-Daudé wrote:
> >> Hi,
> >>
> >> This is the second time I'm working offline and do a simple
> >> rebase, which triggers a re-configure, and then I'm stuck because
> >> PyPI tries to access the Internet and do not allow me to neither
> >> build nor test:
> >
> > Does it work if you configure with --disable-download?
>
> I got this issue again today:
>
> $ ../configure --disable-docs --enable-plugins
> --target-list=aarch64-softmmu --enable-tcg --enable-kvm
> python determined to be '/usr/bin/python3'
> python version: Python 3.14.4
> mkvenv: Creating non-isolated virtual environment at 'pyvenv'
> mkvenv: checking for meson>=1.5.0
> mkvenv: checking for pycotap>=1.1.0
> mkvenv: installing meson==1.11.1, pycotap==1.3.1
> mkvenv: checking for qemu.qmp>=0.0.5
> mkvenv: checking for setuptools>=44.1.1
> mkvenv: checking for wheel>=0.34.2
> mkvenv: checking for pip>=20.3.4
> mkvenv: installing qemu.qmp==0.0.6
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
> timed out. (read timeout=15)")': /simple/qemu-qmp/
> WARNING: Retrying (Retry(total=3, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
> timed out. (read timeout=15)")': /simple/qemu-qmp/
> WARNING: Retrying (Retry(total=2, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
> timed out. (read timeout=15)")': /simple/qemu-qmp/
>
> Indeed using --disable-download fixed it.
>
> Thanks,
>
> Phil.

Odd, it's supposed to install from the local path. I'll look.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.