-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
if SOURCE_DATE_EPOCH is set, don't randomize the testsuite #110164
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
Comments
If the SOURCE_DATE_EPOCH environment variable is defined, regrtest now disables randomization of tests.
If the SOURCE_DATE_EPOCH environment variable is defined, regrtest now disables randomization of tests.
Would you be able to test if my PR gh-110168 fix your issue? |
My PR doesn't check SOURCE_DATE_EPOCH value. It only checks if the variable is defined. |
@vstinner works great -- thanks! |
If the SOURCE_DATE_EPOCH environment variable is defined, regrtest now disables randomization of tests.
Merged, thanks for the test @asottile. |
The feature breaks tests, see: #110932 |
I don't think that a whole buildbot is needed. Just additional tests. |
…n#110168) If the SOURCE_DATE_EPOCH environment variable is defined, regrtest now disables randomization of tests.
Bug-Upstream: python/cpython#110164 Can be dropped in 3.13. Gbp-Pq: Name test-no-random-order.diff
Feature or enhancement
Proposal:
cc @vstinner from #109570 (comment)
cc @doko42 @stefanor from debian -- this would allow debian to remove this patch I believe https://salsa.debian.org/cpython-team/python3/-/blob/master/debian/patches/test-no-random-order.diff
if
SOURCE_DATE_EPOCH
is set test randomization should be disabledHas this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
#109570 (comment)
Linked PRs
The text was updated successfully, but these errors were encountered: