Skip to content

Commit

Permalink
Increment the environment version to resolve C domain issues on incre…
Browse files Browse the repository at this point in the history
…mental rebuilds (#12583)
  • Loading branch information
AA-Turner authored Jul 15, 2024
1 parent 4051e2c commit 1c204e6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Release 7.4.2 (in development)
Bugs fixed
----------

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

Release 7.4.1 (released Jul 15, 2024)
=====================================
Expand Down
2 changes: 1 addition & 1 deletion sphinx/environment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

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

# config status
CONFIG_UNSET = -1
Expand Down
2 changes: 1 addition & 1 deletion tests/js/fixtures/cpp/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/js/fixtures/multiterm/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/js/fixtures/partial/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/js/fixtures/titles/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion utils/generate_js_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def build(srcdir: Path) -> None:
print('done')

print(f'Copying {searchindex} to {destination} ... ', end='')
destination.parent.mkdir(exist_ok=True)
destination.parent.mkdir(exist_ok=True, parents=True)
shutil.copy2(searchindex, destination)
print('done')

0 comments on commit 1c204e6

Please sign in to comment.