Skip to content

Conversation

@mpsijm
Copy link
Collaborator

@mpsijm mpsijm commented Jan 11, 2026

Part of #490: now that we have proper dependency management, I'm feeling more confident about kicking out PyYAML and exclusively use ruamel.yaml. This will:

  • Simplify a lot of code paths, since we no longer need conditionals to check whether ruamel.yaml is installed.
  • Remove a bug regarding YAML 1.1 parsing the duration and scoreboard_freeze_duration fields in contest.yaml, where timestamps would be parsed as sexagecimal (base-60) integers rather than strings.
  • Avoid any other potential bugs regarding differences between YAML 1.1 and 1.2, such as no being parsed as false in 1.1, but as "no" in 1.2.

@RagnarGrootKoerkamp
Copy link
Owner

Yes good idea!

@mpsijm mpsijm merged commit 43984e7 into RagnarGrootKoerkamp:main Jan 11, 2026
3 checks passed
@mpsijm mpsijm deleted the default-ruamel-yaml branch January 11, 2026 16:00
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.

2 participants