Skip to content

Ensure consistent encoding for md5sum generation#1159

Merged
lucyleeow merged 1 commit intosphinx-gallery:masterfrom
sdhiscocks:md5_encoding
Aug 7, 2023
Merged

Ensure consistent encoding for md5sum generation#1159
lucyleeow merged 1 commit intosphinx-gallery:masterfrom
sdhiscocks:md5_encoding

Conversation

@sdhiscocks
Copy link
Copy Markdown
Contributor

This resolves an issue where the system default encoding for opening a file is not UTF-8, whereas the encoding default for string encode method is UTF-8, and such hash differs depending on OS.

Related to #722 which originally attempted to resolve inconsistencies across OSs.

This resolves an issue where the system default encoding for opening a
file is not UTF-8, whereas the encoding default for string encode method
is UTF-8, and such hash differs depending on OS.

Related to sphinx-gallery#722 which originally attempted to resolve inconsistencies
across OSs.
@lucyleeow
Copy link
Copy Markdown
Contributor

LGTM, thanks @sdhiscocks !

@lucyleeow lucyleeow merged commit 0d472b7 into sphinx-gallery:master Aug 7, 2023
@sdhiscocks sdhiscocks deleted the md5_encoding branch August 7, 2023 05:58
@larsoner larsoner added the bug label Aug 18, 2023
clrpackages referenced this pull request in clearlinux-pkgs/pypi-sphinx_gallery Aug 22, 2023
… to version 0.14.0

v0.14.0
-------

**Implemented enhancements:**

-  MAINT Update backreferences docs and add tests `#1154 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1154>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
-  Remove extra spaces in reported running time `#1147 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1147>`__ (`stefanv <https://github.com/stefanv>`__)

**Fixed bugs:**

-  MAINT: Fix for Sphinx 7.2 `#1176 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1176>`__ (`larsoner <https://github.com/larsoner>`__)
-  updated mpl gui warning catcher to new error message `#1160 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1160>`__ (`story645 <https://github.com/story645>`__)
-  Ensure consistent encoding for md5sum generation `#1159 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1159>`__ (`sdhiscocks <https://github.com/sdhiscocks>`__)
-  Maint: Fix ``app.builder.outdir`` as Sphinx now using pathlib `#1155 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1155>`__ (`lucyleeow <https://github.com/lucyleeow>`__)
-  Make \_LoggingTee compatible with TextIO `#1151 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1151>`__ (`o-laurent <https://github.com/o-laurent>`__)

(NEWS truncated at 15 lines)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants