Building Python Wheel without internet connection
10:21 12 Jan 2026

I am trying to setup an air-gapped VM (Win10) to build python wheels. It works for Python versions < 3.14. With Python 3.14 I can only build the package when I have access to the internet. Without connection I get the following error:

Installing build dependencies ... error error: subprocess-exited-with-error

× installing build dependencies did not run successfully. │ exit code: 1 ╰─> [7 lines of output] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/ ... ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none) ERROR: No matching distribution found for setuptools>=40.8.0 [end of output]

Any idea what the problem could be? I seems to me, that some packages that are required during install are not installed permanently or do not get cached correctly?

windows python-wheel python-3.14