Skip to content

SG-42072 Update PyYAML to 6.0.3#1086

Open
carlos-villavicencio-adsk wants to merge 1 commit intomasterfrom
ticket/SG-42072_update_pyyaml6
Open

SG-42072 Update PyYAML to 6.0.3#1086
carlos-villavicencio-adsk wants to merge 1 commit intomasterfrom
ticket/SG-42072_update_pyyaml6

Conversation

@carlos-villavicencio-adsk
Copy link
Contributor

@carlos-villavicencio-adsk carlos-villavicencio-adsk commented Feb 10, 2026

Relates to #1041 and #818

Important: PyYAML 6.x supports Python 3.13. We haven't updated this dependency since 2021.

Python 3.13 has a new GIL implementation - Python 3.13 introduced significant changes to the Global Interpreter Lock (GIL), making threading behavior different from previous versions. When multiple threads parse YAML simultaneously, a crash can occur.

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.63%. Comparing base (b8b3764) to head (ff098bb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1086      +/-   ##
==========================================
- Coverage   79.65%   79.63%   -0.02%     
==========================================
  Files         198      198              
  Lines       20620    20620              
==========================================
- Hits        16424    16420       -4     
- Misses       4196     4200       +4     
Flag Coverage Δ
Linux 79.09% <ø> (ø)
Python-3.10 79.45% <ø> (-0.02%) ⬇️
Python-3.11 79.35% <ø> (-0.01%) ⬇️
Python-3.13 79.35% <ø> (ø)
Python-3.9 79.41% <ø> (ø)
Windows 79.12% <ø> (-0.02%) ⬇️
macOS 79.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +6 to +8
6.0.3 (2025-09-25)

* https://github.com/yaml/pyyaml/pull/864 -- Support for Python 3.14 and free-threading (experimental)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this version still works with Python 3.7?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial testing worked fine to me, but we should fully test 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.

2 participants

Comments