cwegener commented on PR #24514:
URL: https://github.com/apache/superset/pull/24514#issuecomment-1612189254

   > and given we only support Python 3.9+ I was wondering why we need to use 
the backport.
   
   The backport is needed because the API of `importlib.metadata` is actually 
different in 3.9. The API has only been stable in 3.10.
   
   Specifically, the `entry_points()` signature in 3.9 was still different, it 
didn't have the `groups` parameter in the 3.9 standard library. So the stable 
API is only available in the backport. (Found that out when I developed this 
change in 3.10 accidentally and then ran unit tests in 3.9)


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to