FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-154948: Fix `test_zipfile` failure when `SOURCE_DATE_EPOCH` is set by StanFromIreland · Pull Request #155001 · python/cpython · GitHub

/ cpython Public

gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set - #155001

Merged
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:SOURCE_DATE_EPOCH
Aug 7, 2026
Merged

gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set#155001
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:SOURCE_DATE_EPOCH

Conversation

StanFromIreland commented Jul 31, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Additionally, move the SOURCE_DATE_EPOCH test helpers from test_py_compile to test.support.os_helper, and refactor a little in test_zipfile and test_random to use them instead of duplicate helpers (they were already used by test_importlib and test_compileall).

Additionally, move the `SOURCE_DATE_EPOCH` test helpers from `test_py_compile` to `test.support.os_helper`.

Copy link
Copy Markdown
Member Author

CC @vstinner, as you added them a little while ago in #9607.

read-the-docs-community Bot commented Jul 31, 2026
edited
Loading

Copy link
Copy Markdown

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

StanFromIreland merged commit 82905dd into python:main Aug 7, 2026
54 checks passed
StanFromIreland deleted the SOURCE_DATE_EPOCH branch August 7, 2026 14:21
StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 7, 2026

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 82905dd165f198f1b18625ae0f0ede9367df75a4 3.14

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 82905dd165f198f1b18625ae0f0ede9367df75a4 3.13

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.15 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 82905dd165f198f1b18625ae0f0ede9367df75a4 3.15

bedevere-app Bot commented Aug 7, 2026

Copy link
Copy Markdown

GH-155347 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 7, 2026
hugovk pushed a commit that referenced this pull request Aug 7, 2026
StanFromIreland removed needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Aug 7, 2026
mbeijen pushed a commit to mbeijen/cpython that referenced this pull request Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL