Skip to content

Commit e6174fa

Browse files
bors[bot]newAM
andauthored
Merge #96
96: Add support for PyYAML v6 r=adamgreig a=newAM Changelog: <https://github.com/yaml/pyyaml/releases/tag/6.0> PyYAML released version 6, and the only breaking change is "always require `Loader` arg to `yaml.load()`", which would have resulted in a deprecation warning with version 5. Supporting both 5 and 6 makes this easier for people to use during the transition phase because PyYAML is often provided as an OS package on Linux distributions. Co-authored-by: Alex Martens <[email protected]>
2 parents c49f3cd + 6ff0625 commit e6174fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This changelog tracks the Python `svdtools` project. See
55

66
## [Unreleased]
77

8+
* Add support for PyYAML v6
9+
810
## [v0.1.21] 2022-01-15
911

1012
* Provide option to opt out of regex replace of 0's in description when

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ requires-python = ">=3.6"
1414
description-file = "README.md"
1515
requires = [
1616
"click ~= 8.0",
17-
"PyYAML ~= 5.3",
17+
"PyYAML >= 5.3, < 7",
1818
"lxml ~= 4.6",
1919
"braceexpand ~= 0.1.7",
2020
]

0 commit comments

Comments
 (0)