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

remove cryptography version pinning due to paramiko newer than 2.11.0 #1109

Merged
merged 5 commits into from
Mar 24, 2024

Conversation

TurnOffNOD
Copy link
Contributor

@TurnOffNOD TurnOffNOD commented Mar 27, 2023

Description

according to pull request #1055 and file setup.py
# Pinning cryptography should not be needed after paramiko 2.11.0.

Now that paramiko's version is 3.1.0, arch package python-paramiko version is 2.11.1, both newer than 2.11.0, so remove cryptography version pinning.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

@kahlstrm
Copy link

I would like this change as well, as I'm running into some annoying dependency conflicts.

@Kreijstal
Copy link

I would like this as well

@ambrahma
Copy link

ambrahma commented Feb 1, 2024

Any reason why this PR is still blocked?

# Pinning cryptography should not be needed after paramiko 2.11.0.
'cryptography == 36.0.2',
# Pinning cryptography is not needed after paramiko 2.11.0. Correct it
'cryptography >= 1.0.0',
Copy link
Member

Choose a reason for hiding this comment

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

If pinning is not needed, I think we can just delete this line, because we didn't depend on cryptography directly from code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I commit this pull request 11 months ago, at that time, I checked the commit history and found that cryptography >= 1.0.0 had been there before, and the version pinning to ==36.0.2 is edited from >= 1.0.0, so I thought it is better to revert to >= 1.0.0 than directly delete it.

Now that 11 months has passed and there are a lot of new commits, if it is better to directly delete this line, I will happily agree with it.

Copy link
Member

Choose a reason for hiding this comment

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

apologies for the delay 🥺

can you resolve the conflict as well? thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

apologies for the delay 🥺

can you resolve the conflict as well? thanks

Do you mean the "Resolve conversation" button below?

Copy link
Member

Choose a reason for hiding this comment

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

No, I mean, this PR can not be merged now, cause it has conflicts.

image

Can you rebase from main branch, or resubmit one? thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I mean, this PR can not be merged now, cause it has conflicts.
image

Can you rebase from main branch, or resubmit one? thanks.

Oh,please allow me some time.

@amjith
Copy link
Member

amjith commented Mar 24, 2024

Thank you!

@amjith amjith merged commit 2f7ea28 into dbcli:main Mar 24, 2024
3 of 5 checks passed
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.

7 participants