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

testing order bug #344

Merged
merged 3 commits into from
Jul 21, 2023
Merged

testing order bug #344

merged 3 commits into from
Jul 21, 2023

Conversation

jspaaks
Copy link
Member

@jspaaks jspaaks commented Jul 20, 2023

This PR changes the way yaml text is parsed. It appears that ruamel.yaml persists some of its configuration, see

This PR stores the timestamp parser that is present before we change anything, and restores it afterwards. Additionally it configures the parser to read timestamps as timestamp under cff-version 1.0.x and 1.1.x and as string under cff-version 1.2.x and 1.3.x, but now using ruamel.yaml's own constructor methods from YAML.SafeConstructor, as opposed to whatever it finds was previously configured as a parser.

@jspaaks jspaaks marked this pull request as ready for review July 21, 2023 15:10
@jspaaks jspaaks merged commit 9aa0410 into main Jul 21, 2023
@jspaaks jspaaks deleted the 343-testing-order-bug branch July 21, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant