For some reason the parsing of the setup.py file does not seem to work on my machine, it seems. Will look at this hopefully later today, if not early tomorrow, and will see what I can find
Turns out pytest need to be executed from the root of the repo and not from within the tests folder.
In tests/test_mod_independency.py we identify where the absolute path of where setup.py and setup.cfg reside but I don’t think this
def _change_cwd(target_dir):
cd_to_work = True
try:
cwd = os.getcwd()
except OSError:
cwd = recipe_dir or work_dir
os.chdir(target_dir)
# this is very important - or else if versioneer or otherwise is in the start folder,
# things will pick up the wrong versioneer/whatever!
sys.path.insert(0, target_dir)
return cd_to_work, cwd
gets ever run.
Anyhow, if pytest is run from the root of the repo I do not get the error.
That looks like an error with the service provider. It seems that you have a quota of 0 GPUs but are requesting 1 or more GPUs. You may need to request an exception to be allowed to use a GPU.