-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove code that checks if the user is in a TTY
`globus-sdk==3.47.0` handles this class of errors for us by informing users on what to do when `input` receives `EOFError` during login flows.
- Loading branch information
1 parent
b568abd
commit fa73963
Showing
4 changed files
with
17 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Changed | ||
^^^^^^^ | ||
|
||
- Bumped dependency on ``globus-sdk-python`` to at least `version 3.47.0 <https://github.com/globus/globus-sdk-python/releases/tag/3.47.0>`_. | ||
This version includes changes to detect ``EOFErrors`` when logging in with the command | ||
line, obviating the need for existing ``globus-compute-sdk`` code that checks if a | ||
user is in an interactive terminal before logging in. The old Compute code raised a | ||
``RuntimeError`` in that scenario; the new code raises a | ||
``globus_sdk.login_flows.CommandLineLoginFlowEOFError`` if Python's ``input`` | ||
function raises an ``EOFError`` - which, in Compute, can happen if a previously | ||
command-line-authenticated endpoint tries to re-authenticate but no longer has access | ||
to a STDIN. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters