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

Made paramiko and globus optional dependencies to fix #2218 #3473

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arhag23
Copy link
Contributor

@arhag23 arhag23 commented Jun 5, 2024

Description

Removed paramiko and globus_sdk from requirements.txt and added them as optional modules in setup.py. Added OptionalModuleMissing errors for the affected files if usage is attempted without the correct module being installed. Removed test that required globus_sdk to test external exceptions.

Changed Behaviour

If users have code that depends on these now optional modules they might have to ensure that the proper extra modules are installed as well.

Fixes

Fixes #2218

Type of change

  • Bug fix

@benclifford
Copy link
Collaborator

benclifford commented Jun 5, 2024

Hi. These changes mostly look ok. Can you check off which of the following you have tested still works:

  • globus transfer
  • ssh non-interactive
  • ssh interactive login
  • ssh oauth

then we can figure out what else needs testing.

@astro-friedel
Copy link

ssh non-interactive and interactive have been tested

@benclifford
Copy link
Collaborator

if you aren't in a position to test globus changes, you might submit the ssh/paramiko-only changes as a separate PR. That would fit well with issue #3515 which is making SSH related stuff much more optional in preparation for removal.

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.

make globus and paramiko optional dependencies
3 participants