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

CRAYSAT-1750: Update PyYAML to 6.0.1 #156

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

haasken-hpe
Copy link
Contributor

Summary and Scope

Update PyYAML to 6.0.1 to fix a build error. This build error was due to an incompatible change introduced in Cython 3.0. The PyYAML package has worked around this in version 6.0.1 by restricting to Cython<3.0.

Also update the pinned version of csm-api-client to 1.1.5, which relaxed the PyYAML constraint to allow versions greater than or equal to 6.0. Without this change, pip is unable to resolve sat's dependencies.

Testing

Tested on:

  • mug

Test description:

Ran the following sat commands to exercise relevant code:

  • sat showrev --products (config map access)
  • sat bootprep run (YAML loading, API access, config map access)
  • sat status (multiple API access)

Risks and Mitigations

Low risk since we're just pulling in new PyYAML.

Pull Request Checklist

  • Version number(s) incremented, if applicable
  • Copyrights updated
  • License file intact
  • Target branch correct
  • CHANGELOG.md updated
  • Testing is appropriate and complete, if applicable
  • HPC Product Announcement prepared, if applicable

Update PyYAML to 6.0.1 to fix a build error. This build error was due to
an incompatible change introduced in Cython 3.0. The PyYAML package has
worked around this in version 6.0.1 by restricting to Cython<3.0.

Also update the pinned version of csm-api-client to 1.1.5, which relaxed
the PyYAML constraint to allow versions greater than or equal to 6.0.
Without this change, `pip` is unable to resolve sat's dependencies.

Test Description:
Ran the following `sat` commands to exercise relevant code:

* `sat showrev --products` (config map access)
* `sat bootprep run` (YAML loading, API access, config map access)
* `sat status` (multiple API access)
@haasken-hpe haasken-hpe merged commit fa1d1e1 into integration Aug 2, 2023
2 checks passed
@haasken-hpe haasken-hpe deleted the CRAYSAT-1750-update-pyyaml branch August 2, 2023 16:41
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