FurcyPin commented on PR #36161:
URL: https://github.com/apache/spark/pull/36161#issuecomment-1102420776

   I think this is the bug I'm running into: 
https://github.com/python/cpython/pull/28838
   
   Basically, after they made @classmethod and @property compatible, it caused 
docstrings to call `._func_` systematically.
   
   A fix has been backported in 3.9 and 3.10. I believe 3.9.6 has the fix.
   
   I see several possible solution:
   
   1. Add an artificial `_func_` hoping it will work around
   2. Wait for the python version in the CI to be bumped to 3.9.6 or higher
   3. Change my if statement like this :
   ```
   if sys.version_info > (3, 9, 5)
   ```
   
   What do you think ?


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