Open mcepl opened 2 years ago
Hi @mcepl. The argument with_pip=True
should create a virtual environment with pip. This is relevant, because later in this test, it is checked whether nptyping
and all its dependencies can be installed with it.
But as the comment states, for some reason that command failed for me with with_pip=True
. That's the reason for the line that follows with ensurepip
; to still make pip available after the virtual environment creation.
What exactly is your question/suggestion?
That for running the test suite inside of the environments without the Internet access, it is necessary to add system_site_packages=True,
so that previously installed system packages can be used.
That with_pip=True
is probably irrelevant.
When packaging
nptyping
for openSUSE we build packages (as every other Linux distribution does) in the environment completely isolated from the network. We pre-install all packages in the build environment, but we need to able to use it:I am not sure whether
with_pip
is relevant, but using it seems to make the code slightly simple.