juergbi opened a new pull request, #2119:
URL: https://github.com/apache/buildstream/pull/2119

   Junctions may be loaded before a project is fully loaded, which means
   that the source provenance attribute project configuration may not be
   available yet.
   
   This adds a callback mechanism to defer the source provenance attribute
   check if the project is not fully loaded when a junction element with a
   provenance node is loaded.
   
         File "src/buildstream/element.py", line 1075, in _new_from_load_element
           element.__load_sources(load_element)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
         File "src/buildstream/element.py", line 2642, in __load_sources
           
provenance_node.validate_keys(project.source_provenance_attributes.keys())
                                         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       AttributeError: 'NoneType' object has no attribute 'keys'
   
   Fixes #2116.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to