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

setup: Update charm-tools pin set #659

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

coreycb
Copy link
Contributor

@coreycb coreycb commented Jul 20, 2023

pyyaml 5.4.0 and 5.4.1 are broken with cython 3
yaml/pyyaml#724

jsonschema 4.18.0 depends on Rust (via rpds-py)

@ajkavanagh
Copy link
Contributor

This is similar to #656 - could we please consolidate them? So we also need to pin Cython<3.0.0 as that's also broken with PyYaml 6.0.1 (at the moment).

Copy link
Contributor

@ajkavanagh ajkavanagh left a comment

Choose a reason for hiding this comment

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

Do we also need to pin Cython?

@freyes freyes mentioned this pull request Aug 1, 2023
3 tasks
pyyaml 5.4.0 and 5.4.1 are broken with cython 3
yaml/pyyaml#724

jsonschema 4.18.0 depends on Rust (via rpds-py)

Co-authored-by: Felipe Reyes <[email protected]>
Copy link
Contributor

@freyes freyes left a comment

Choose a reason for hiding this comment

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

LGTM, waiting for CI.

@ajkavanagh ajkavanagh merged commit a20d039 into juju:master Aug 2, 2023
5 checks passed
@freyes
Copy link
Contributor

freyes commented Aug 8, 2023

we need a 3.0.7 release in pypi with this fix

@freyes freyes mentioned this pull request Aug 8, 2023
3 tasks
@markbeierl
Copy link

This change should be revisited now that 6.0.1 was released to fix the problem. I'm not sure, but it looks like the result of 'pyyaml>=5.0,!=5.4.0,!=5.4.1,<6.0' is 5.3.1, which has known CVEs.

pip install 'pyyaml>=5.0,!=5.4.0,!=5.4.1,<6.0'
Collecting pyyaml!=5.4.0,!=5.4.1,<6.0,>=5.0
  Using cached PyYAML-5.3.1-cp311-cp311-linux_x86_64.whl
Installing collected packages: pyyaml
Successfully installed pyyaml-5.3.1

@freyes
Copy link
Contributor

freyes commented Aug 9, 2023 via email

@freyes
Copy link
Contributor

freyes commented Aug 9, 2023

#663

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.

4 participants