You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests in test_examples.py currently install straight into the parent environment. Unfortunately, this means that in the best case the examples are left installed, and in the worst the tests cannot be run because pip is set not to allow installing packages into the build environment (the error: externally-managed-environment):
$ pip list | grep example
example_hatchling 24.7.0
example_noop 100
example_setuppy 1.2.3
example_setuptools 2.3.4
Could you please make the tests use a dedicated venv (set up with system_site_packages=True and symlinks=True) for every test case?
The text was updated successfully, but these errors were encountered:
I presumed you need some of the dependencies there, though perhaps you don't. Then I guess it's mostly a matter whether you want venv to install pip from the Python bundle or use system pip.
The tests in
test_examples.py
currently install straight into the parent environment. Unfortunately, this means that in the best case the examples are left installed, and in the worst the tests cannot be run becausepip
is set not to allow installing packages into the build environment (theerror: externally-managed-environment
):Could you please make the tests use a dedicated venv (set up with
system_site_packages=True
andsymlinks=True
) for every test case?The text was updated successfully, but these errors were encountered: