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

rdk upgrade conflicting dependency #7994

Closed
choman opened this issue Jun 22, 2023 · 4 comments
Closed

rdk upgrade conflicting dependency #7994

choman opened this issue Jun 22, 2023 · 4 comments
Assignees
Labels
bug This issue is a bug. dependencies This issue is a problem in a dependency. p3 This is a minor priority issue source-distribution cli v2 source distritbution related issues

Comments

@choman
Copy link

choman commented Jun 22, 2023

Describe the issue

While using pip to upgrade to the latest rdk (was rule development kit), there becomes a round-robin of conflicting
dependencies.

Currently on rdk==0.9 and awcli==1.27.62

When upgrading to rdk==0.15 (latest as of 2023-06-22), it complains that two dependencies versions are conflicting
for awscli

  • boto3
  • pyyaml

Naturally, one then upgrades awscli to 1.27.158. This resolves the boto3 issue, however this is where the round-robin
issue begins.

the latest rdk==0.15 requires pyyaml > 6.0
the latest awscli==1.27.158 requires pyyaml <5.5,>=3.10

Additional Information/Context

No response

CLI version used

1.27.X

Environment details (OS name and version, etc.)

Ubuntu 23.04

@choman choman added needs-triage This issue or PR still needs to be triaged. source-distribution cli v2 source distritbution related issues labels Jun 22, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Jun 22, 2023
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. dependencies This issue is a problem in a dependency. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jun 22, 2023
@RyanFitzSimmonsAK
Copy link
Contributor

RyanFitzSimmonsAK commented Jun 22, 2023

Hi @choman, thanks for reaching out. Updating the pinned PyYAML version is something that has been requested in the past, and is on the team's radar. There is both a tracking issue and open PR for this. I'd encourage you to add your use case in one or both of those issues. In the meantime, the easiest workaround would be to update to AWS CLI v2, which does not use PyYAML, so you could use 6.0 to meet the RDK dependency. Hope that helps, and please let me know if you have any follow-up questions.

@RyanFitzSimmonsAK RyanFitzSimmonsAK added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jun 22, 2023
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jun 27, 2023
@choman
Copy link
Author

choman commented Jun 27, 2023

@RyanFitzSimmonsAK

Hi @choman, thanks for reaching out. Updating the pinned PyYAML version is something that has been requested in the past, and is on the team's radar. There is both a tracking issue and open PR for this. I'd encourage you to add your use case in one or both of those issues. In the meantime, the easiest workaround would be to update to AWS CLI v2, which does not use PyYAML, so you could use 6.0 to meet the RDK dependency. Hope that helps, and please let me know if you have any follow-up questions.

Thanks, did not know there was an awscli2. I will look into it

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Jun 28, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

@RyanFitzSimmonsAK RyanFitzSimmonsAK added the bug This issue is a bug. label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. dependencies This issue is a problem in a dependency. p3 This is a minor priority issue source-distribution cli v2 source distritbution related issues
Projects
None yet
Development

No branches or pull requests

2 participants