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
How did we ended up into _append_conda_requirements if the build is not a Conda build? Is this a config file validation issue? Is the workflow broken for some cases?
In [1]: b = Build.objects.get(task_id='82b5dcc4-58a5-4997-8fc4-d8eafcc89df9')
In [2]: b.get_absolute_url()
Out[2]: '/projects/gdptools/builds/18010191/'
In [3]:
AttributeError: 'NoneType' object has no attribute 'environment'
(3 additional frame(s) were not displayed)
...
File "readthedocs/projects/tasks/builds.py", line 691, in execute
self.data.build_director.setup_environment()
File "readthedocs/doc_builder/director.py", line 161, in setup_environment
self.create_environment()
File "readthedocs/doc_builder/director.py", line 251, in create_environment
self.language_environment.setup_base()
File "readthedocs/doc_builder/python_environments.py", line 361, in setup_base
self._append_core_requirements()
File "readthedocs/doc_builder/python_environments.py", line 398, in _append_core_requirements
self.config.conda.environment,
The text was updated successfully, but these errors were encountered:
Oh, the thing is that build.tools.python: "miniconda" does requireconda.environment and it's not defined in that config file. We should make a note in the docs if we are not already and make the config file to validate this case.
How did we ended up into
_append_conda_requirements
if the build is not a Conda build? Is this a config file validation issue? Is the workflow broken for some cases?Sentry Issue: READTHEDOCS-ORG-PBW
The text was updated successfully, but these errors were encountered: