File: 005-fix-for-docs.patch

package info (click to toggle)
python-memray 1.17.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,396 kB
  • sloc: python: 28,451; ansic: 16,507; sh: 10,586; cpp: 8,494; javascript: 1,474; makefile: 822; awk: 12
file content (24 lines) | stat: -rw-r--r-- 893 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
Description: Fix for docs failure.
 ModuleNotFoundError for import memray. Created temporary fix.
 Need further investigation.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-06-21

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -2,7 +2,7 @@
 
 import os
 
-import memray.commands
+# import memray.commands
 
 # -- General configuration ------------------------------------------------------------
 
@@ -85,4 +85,4 @@ os.environ["COLUMNS"] = "88"
 # around this by providing the first sentence of our desired description as the
 # parser's description, and then letting the argparse role append the rest of
 # the intended description. This description doesn't go into the HTML docs.
-memray.commands._DESCRIPTION = "Memray is a memory profiler for Python applications."
+# memray.commands._DESCRIPTION = "Memray is a memory profiler for Python applications."