mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Raise env version for the ref_context introduction.
This commit is contained in:
parent
772dbbd4d9
commit
0a416c2d13
@ -72,7 +72,9 @@ default_settings = {
|
||||
|
||||
# This is increased every time an environment attribute is added
|
||||
# or changed to properly invalidate pickle files.
|
||||
ENV_VERSION = 42 + (sys.version_info[0] - 2)
|
||||
#
|
||||
# NOTE: increase base version by 2 to have distinct numbers for Py2 and 3
|
||||
ENV_VERSION = 44 + (sys.version_info[0] - 2)
|
||||
|
||||
|
||||
dummy_reporter = Reporter('', 4, 4)
|
||||
@ -125,7 +127,7 @@ class BuildEnvironment:
|
||||
finally:
|
||||
picklefile.close()
|
||||
if env.version != ENV_VERSION:
|
||||
raise IOError('env version not current')
|
||||
raise IOError('build environment version not current')
|
||||
env.config.values = config.values
|
||||
return env
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user