Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PyYAML dependency range #90

Merged
merged 2 commits into from
Jan 30, 2022
Merged

Update PyYAML dependency range #90

merged 2 commits into from
Jan 30, 2022

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Jan 29, 2022

Fixes #88

  • Bump dependency range for PyYAML to allow v6.x.
    https://github.com/yaml/pyyaml/blob/6.0/announcement.msg#L5-L34
  • Remove fallback to yaml.load. yaml.full_load was added in v5.1, the min required version is v5.4.
  • Add upper limit to websockets. It's a bit more work to update it, however a new major version might add backwards-incompatible changes.

It would be nice if this PR could be reviewed soon. amqtt currently blocks a dependency update for Home-Assistant.
home-assistant/core#64942

* yaml.full_load was added in PyYAML 5.1, required is >=5.4
@FlorianLudwig FlorianLudwig merged commit 3f05d35 into Yakifo:master Jan 30, 2022
@cdce8p cdce8p deleted the dependencies branch January 30, 2022 21:19
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.

Compatibility with PyYAML 6.x?
2 participants