Skip to content

Ensure that pure python dumper is used in PY3 for yamlex serializer - #50741

Merged
cachedout merged 1 commit into
saltstack:fluorinefrom
terminalmage:salt-jenkins-1223
Dec 5, 2018
Merged

cachedout merged 1 commit into
saltstack:fluorinefrom
terminalmage:salt-jenkins-1223

Conversation

@terminalmage

@terminalmage terminalmage commented Dec 4, 2018 •

Copy link
Copy Markdown
Contributor

Depending on how PyYAML was built, yaml.SafeDumper may actually be yaml.cyaml.CSafeDumper (i.e. the C dumper instead of pure Python). This ensures that the pure Python dumper is imported in all cases.

Fixes https://github.com/saltstack/salt-jenkins/issues/1223

NOTE: This was only failing in Arch, so the py3 Arch branch build for Fluorine will need to run once this is merged to truly confirm this fix.

@dwoz

dwoz commented Dec 4, 2018

Copy link
Copy Markdown
Contributor

There are also failing on the Fluorine Windows (PY3) builds, so we should confirm there too.

@cachedout
cachedout merged commit a274b57 into saltstack:fluorine Dec 5, 2018
@terminalmage
terminalmage deleted the salt-jenkins-1223 branch December 5, 2018 16:04
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.

3 participants