File: no-accessors.patch

package info (click to toggle)
python-xarray 2026.02.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,576 kB
  • sloc: python: 120,444; makefile: 269
file content (41 lines) | stat: -rw-r--r-- 1,438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Alastair McKinstry <mckinstry@debian.org>
Date: Thu, 24 Sep 2020 09:13:00 +0100
Subject: Drop sphinx_accessors as not currently present in Debian

Last-Updated: 2021-05-10
Forwarded: not-needed
---
 doc/conf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: python-xarray-2026.02.0/doc/conf.py
===================================================================
--- python-xarray-2026.02.0.orig/doc/conf.py
+++ python-xarray-2026.02.0/doc/conf.py
@@ -7,7 +7,7 @@ import sys
 from contextlib import suppress
 from textwrap import dedent, indent
 import packaging.version
-import sphinx_autosummary_accessors
+#import sphinx_autosummary_accessors
 import yaml
 from sphinx.application import Sphinx
 from sphinx.util import logging
@@ -59,7 +59,7 @@ extensions = [
     "jupyter_sphinx",
     "myst_parser",
     "nbsphinx",
-    "sphinx_autosummary_accessors",
+#    "sphinx_autosummary_accessors",
     "sphinx.ext.linkcode",
     "sphinxext.opengraph",
     "sphinx_copybutton",
@@ -187,7 +187,7 @@ mathjax_path = 'file:///usr/share/javasc
 require_js_url = 'file:////usr/share/javascript/requirejs/require.min.js'
 
 # Add any paths that contain templates here, relative to this directory.
-templates_path = ["_templates", sphinx_autosummary_accessors.templates_path]
+templates_path = ["_templates" ] # , sphinx_autosummary_accessors.templates_path]
 
 # The master toctree document.
 master_doc = "index"