File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898# built documents.
9999#
100100# The short X.Y version.
101- version = segyio .__version__
102-
103- # if the docs are built without actually building segyio (what readthedocs
104- # does), the version string will fall back to '0.0.0'. but since readthedocs
105- # (and maybe other jobs that builds doc) often fetch from git, they can fall
106- # back to also trying git-describe themselves.
107- if version == '0.0.0' :
108- try :
109- # static analysis flags the subproces module as a potential security
110- # problem, but this takes no user input and should be safe
111- from subprocess import check_output # nosec
112- version = str (check_output (['git' , 'describe' ]).strip ()) # nosec
113- finally :
114- # couldn't run git-describe - fall back to 0.0.0 and accept that we
115- # won't get reasonable version numbers automatically
116- pass
101+ version = "1.19.12"
117102
118103# The full version, including alpha/beta/rc tags.
119104release = version
415400
416401# Example configuration for intersphinx: refer to the Python standard library.
417402intersphinx_mapping = {
418- ' https://docs.python.org/' : None ,
419- ' https://docs.scipy.org/doc/numpy/' : None ,
403+ "python" : ( " https://docs.python.org/" , None ) ,
404+ "numpy" : ( " https://docs.scipy.org/doc/numpy/" , None ) ,
420405}
You can’t perform that action at this time.
0 commit comments