dosubot[bot] commented on issue #32477:
URL: https://github.com/apache/superset/issues/32477#issuecomment-2692542986

   <!-- Answer -->
   To resolve the `ImportError` related to 'Iterable' from 'collections' when 
updating Superset to version 4.1.1 using Python 3.10, you should modify the 
import statement in the `mo_parsing/infix.py` file. Change the import from 
`collections` to `collections.abc` as follows:
   
   ```python
   # Change this import
   # from collections import Iterable
   
   # To this import
   from collections.abc import Iterable
   ```
   
   This change is necessary because, in Python 3.10, `Iterable` and other 
abstract base classes were moved from `collections` to `collections.abc` 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/sql_parse.py)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/988378c7-8a72-4a19-9ef8-bda86003b7e1?feedback_type=other)</sup>
   


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