[jira] [Assigned] (SPARK-37390) Buggy method retrival in pyspark.docs.conf.setup
[ https://issues.apache.org/jira/browse/SPARK-37390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maciej Szymkiewicz reassigned SPARK-37390: -- Assignee: Maciej Szymkiewicz > Buggy method retrival in pyspark.docs.conf.setup > > > Key: SPARK-37390 > URL: https://issues.apache.org/jira/browse/SPARK-37390 > Project: Spark > Issue Type: Bug > Components: Documentation, PySpark >Affects Versions: 3.1.0, 3.2.0, 3.3.0 >Reporter: Maciej Szymkiewicz >Assignee: Maciej Szymkiewicz >Priority: Minor > > [Currently we have this > code|https://github.com/apache/spark/blob/04af08e9b6d692ed4b5df5581e39de138067211c/python/docs/source/conf.py#L374-L376] > {code:python} > def setup(app): > # The app.add_javascript() is deprecated. > getattr(app, "add_js_file", getattr(app, > "add_javascript"))('copybutton.js') > {code} > where nested {{getattr}} should handle compatibility issues between different > Sphinx versions. > However, {{getattr(app, "add_javascript"))}} is missing {{default}} and will > fail in latest Sphinx version, without ever falling back to {{getattr(app, > "add_js_file")}} > -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Assigned] (SPARK-37390) Buggy method retrival in pyspark.docs.conf.setup
[ https://issues.apache.org/jira/browse/SPARK-37390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-37390: Assignee: Apache Spark > Buggy method retrival in pyspark.docs.conf.setup > > > Key: SPARK-37390 > URL: https://issues.apache.org/jira/browse/SPARK-37390 > Project: Spark > Issue Type: Bug > Components: Documentation, PySpark >Affects Versions: 3.1.0, 3.2.0, 3.3.0 >Reporter: Maciej Szymkiewicz >Assignee: Apache Spark >Priority: Minor > > [Currently we have this > code|https://github.com/apache/spark/blob/04af08e9b6d692ed4b5df5581e39de138067211c/python/docs/source/conf.py#L374-L376] > {code:python} > def setup(app): > # The app.add_javascript() is deprecated. > getattr(app, "add_js_file", getattr(app, > "add_javascript"))('copybutton.js') > {code} > where nested {{getattr}} should handle compatibility issues between different > Sphinx versions. > However, {{getattr(app, "add_javascript"))}} is missing {{default}} and will > fail in latest Sphinx version, without ever falling back to {{getattr(app, > "add_js_file")}} > -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Assigned] (SPARK-37390) Buggy method retrival in pyspark.docs.conf.setup
[ https://issues.apache.org/jira/browse/SPARK-37390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-37390: Assignee: (was: Apache Spark) > Buggy method retrival in pyspark.docs.conf.setup > > > Key: SPARK-37390 > URL: https://issues.apache.org/jira/browse/SPARK-37390 > Project: Spark > Issue Type: Bug > Components: Documentation, PySpark >Affects Versions: 3.1.0, 3.2.0, 3.3.0 >Reporter: Maciej Szymkiewicz >Priority: Minor > > [Currently we have this > code|https://github.com/apache/spark/blob/04af08e9b6d692ed4b5df5581e39de138067211c/python/docs/source/conf.py#L374-L376] > {code:python} > def setup(app): > # The app.add_javascript() is deprecated. > getattr(app, "add_js_file", getattr(app, > "add_javascript"))('copybutton.js') > {code} > where nested {{getattr}} should handle compatibility issues between different > Sphinx versions. > However, {{getattr(app, "add_javascript"))}} is missing {{default}} and will > fail in latest Sphinx version, without ever falling back to {{getattr(app, > "add_js_file")}} > -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org