-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix type of sshexecutor stdin parameter #314
Conversation
python3 -m pip install --upgrade pip | ||
python3 -m pip install .[contrib] | ||
python3 -m pip install coverage codecov | ||
python3.11 -m pip install --upgrade pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change to fix the Mac OS deployment test, which by default uses Python 3.12 now. However, some of our dependencies are not yet supporting 3.12 by now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #314 +/- ##
=======================================
Coverage 98.86% 98.86%
=======================================
Files 55 55
Lines 2210 2210
=======================================
Hits 2185 2185
Misses 25 25
☔ View full report in Codecov by Sentry. |
2dc18c0
to
392a3e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me. 👍 Thanks
During migration of our active C/T instances to a different host, we are using the first time the
HTCondorSiteAdapter
in combination with theSSHExecutor
. In addition, theHTCondorSiteAdapter
is the only adapter that uses thestdin
to add input to thecondor_submit
.That triggered a bug in the
SSHExecutor
, which assumed thatasyncssh
requiresstdin
to be in bytes format. However, according to the documentation, it is required to be in string format.This pull request changes the type of
SSHExecutor
from byte format to string format.