Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation HTML varies from timestamp #121871

Closed
bmwiedemann opened this issue Jul 16, 2024 · 0 comments · Fixed by #121872
Closed

Documentation HTML varies from timestamp #121871

bmwiedemann opened this issue Jul 16, 2024 · 0 comments · Fixed by #121872
Labels
type-bug An unexpected behavior, bug, or error

Comments

@bmwiedemann
Copy link
Contributor

bmwiedemann commented Jul 16, 2024

Bug report

Bug description:

While working on reproducible builds for openSUSE (sponsored by the NLnet NGI0 fund), I found that
building the openSUSE:Factory/python311 doc, a timestamp is embedded into the HTML. This results in such variations:

 <a href="https://www.python.org/psf/donations/">Please donate.</a>
 <br />
     <br />
-      Last updated on Jul 16, 2024 (19:18 UTC).
+      Last updated on Jul 16, 2024 (19:19 UTC).

This is introduced via
Doc/tools/templates/download.html {% if last_updated %}<p><b>Last updated on: {{ last_updated }}.</b></p>{% endif %}
and Doc/conf.py

CPython versions tested on:

3.11, 3.12

Operating systems tested on:

Linux

Linked PRs

@bmwiedemann bmwiedemann added the type-bug An unexpected behavior, bug, or error label Jul 16, 2024
@hugovk hugovk changed the title documentation html varies from timestamp Documentation HTML varies from timestamp Jul 17, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 17, 2024
…OCH (pythonGH-121872)

(cherry picked from commit 941b3b7)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 17, 2024
…OCH (pythonGH-121872)

(cherry picked from commit 941b3b7)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
hugovk pushed a commit that referenced this issue Jul 17, 2024
…POCH (GH-121872) (#121888)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
hugovk pushed a commit that referenced this issue Jul 17, 2024
…POCH (GH-121872) (#121887)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant