Repository navigation
Conversation
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should fix EESSI/software-layer#1888 (comment).
Looks like this is being caused by Python using timezone data from
/usr/share/zoneinfo, which means that the tests will be run using those files from the build container. However, glibc is configured to use the ones from the compat layer, and apparently it causes some mixup in the Python tests. The build containers were recently updated to the most recent Debian version and most up-to-date package versions, so it has very up-to-date timezone data now, while the compat layer hasn't been updated for a while.This PR fixes things by adding
--with-tzpathto our Python builds. This option can take a list of paths, and the default is:So I'm prepending our compat layer dir to it (to hopefully keep the system stuff as fallback). It's also patch a test, since it uses a hardcoded path to
/usr/share/zoneinfohere: https://github.com/python/cpython/blob/v3.14.2/Lib/test/datetimetester.py#L6414.