Skip to content

Conversation

dciangot
Copy link
Member

@dciangot dciangot commented Oct 2, 2025

Summary

  • Migrates from the archived gopkg.in/yaml.v2 package to goccy/go-yaml
  • The entire gopkg.in/yaml repository was archived in April 2025
  • goccy/go-yaml is the recommended actively-maintained alternative with better YAML 1.2 spec compliance

Changes

  • Replace gopkg.in/yaml.v2 with github.com/goccy/go-yaml v1.18.0
  • Update import in pkg/slurm/func.go
  • Clean up dependencies with go mod tidy

Testing

  • ✅ Build passes successfully
  • ✅ Single usage point in config unmarshaling
  • ✅ API-compatible replacement (identical Unmarshal() signature)

The gopkg.in/yaml repository has been archived as of April 2025.
This commit migrates to goccy/go-yaml, which is actively maintained
and provides better YAML 1.2 spec compliance.

Changes:
- Replace gopkg.in/yaml.v2 with github.com/goccy/go-yaml v1.18.0
- Update import in pkg/slurm/func.go
- Clean up dependencies with go mod tidy

Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
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