summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-20 18:06:33 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-20 18:06:33 +0900
commit184bedef4bbfb054c87e61bd350e428282a3267a (patch)
treeb421e733d7bd1b479f9a8ac43849801f885329e6
parent3639231cec9e3e8e0ec80e38430566527f312fd6 (diff)
parent938dad8400f841c7859b96e23ce72e687ae50467 (diff)
downloadsphinx-git-184bedef4bbfb054c87e61bd350e428282a3267a.tar.gz
Merge branch 'stable'
-rw-r--r--CHANGES14
-rw-r--r--Makefile1
-rw-r--r--setup.py2
-rw-r--r--sphinx/domains/__init__.py4
4 files changed, 19 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 176eb0605..659c9475a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -120,6 +120,19 @@ Release 1.4.6 (in development)
Bugs fixed
----------
+
+Release 1.4.6 (released Aug 20, 2016)
+=====================================
+
+Incompatible changes
+--------------------
+
+* #2867: linkcheck builder crashes with six-1.4. Now Sphinx depends on six-1.5 or
+ later
+
+Bugs fixed
+----------
+
* applehelp: Sphinx crashes if ``hiutil`` or ``codesign`` commands not found
* Fix ``make clean`` abort issue when build dir contains regular files like ``DS_Store``.
* Reduce epubcheck warnings/errors:
@@ -136,6 +149,7 @@ Bugs fixed
* #2789: `sphinx.ext.intersphinx` generates wrong hyperlinks if the inventory is given
* parsing errors for caption of code-blocks are displayed in document (ref: #2845)
* #2846: ``singlehtml`` builder does not include figure numbers
+* #2816: Fix data from builds cluttering the ``Domain.initial_data`` class attributes
Release 1.4.5 (released Jul 13, 2016)
=====================================
diff --git a/Makefile b/Makefile
index 2828f1a25..10e8a787f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ DONT_CHECK = -i build -i dist -i sphinx/style/jquery.js \
-i tests/coverage.py -i utils/convert.py \
-i tests/typing_test_data.py \
-i tests/test_autodoc_py35.py \
+ -i tests/roots/test-warnings/undecodable.rst \
-i tests/build \
-i tests/roots/test-warnings/undecodable.rst \
-i sphinx/search/da.py \
diff --git a/setup.py b/setup.py
index 1b5517917..88e1a722f 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 3):
sys.exit(1)
requires = [
- 'six>=1.4',
+ 'six>=1.5',
'Jinja2>=2.3',
'Pygments>=2.0',
'docutils>=0.11',
diff --git a/sphinx/domains/__init__.py b/sphinx/domains/__init__.py
index c67abc207..da7e5d9ae 100644
--- a/sphinx/domains/__init__.py
+++ b/sphinx/domains/__init__.py
@@ -10,6 +10,8 @@
:license: BSD, see LICENSE for details.
"""
+import copy
+
from six import iteritems
from sphinx.errors import SphinxError
@@ -145,7 +147,7 @@ class Domain(object):
self.env = env
if self.name not in env.domaindata:
assert isinstance(self.initial_data, dict)
- new_data = self.initial_data.copy()
+ new_data = copy.deepcopy(self.initial_data)
new_data['version'] = self.data_version
self.data = env.domaindata[self.name] = new_data
else: