Skip to content

Commit 1c204e6

Browse files
authored
Increment the environment version to resolve C domain issues on incremental rebuilds (#12583)
1 parent 4051e2c commit 1c204e6

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

CHANGES.rst

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Release 7.4.2 (in development)
44
Bugs fixed
55
----------
66

7+
* #12580, #12583: Resolve failures with the C domain on incremental builds
8+
with Sphinx 7.3.7 and earlier.
9+
Patch by Adam Turner.
710

811
Release 7.4.1 (released Jul 15, 2024)
912
=====================================

sphinx/environment/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
# This is increased every time an environment attribute is added
6161
# or changed to properly invalidate pickle files.
62-
ENV_VERSION = 61
62+
ENV_VERSION = 62
6363

6464
# config status
6565
CONFIG_UNSET = -1

tests/js/fixtures/cpp/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/js/fixtures/multiterm/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/js/fixtures/partial/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/js/fixtures/titles/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/generate_js_fixtures.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def build(srcdir: Path) -> None:
3434
print('done')
3535

3636
print(f'Copying {searchindex} to {destination} ... ', end='')
37-
destination.parent.mkdir(exist_ok=True)
37+
destination.parent.mkdir(exist_ok=True, parents=True)
3838
shutil.copy2(searchindex, destination)
3939
print('done')

0 commit comments

Comments
 (0)