-
Notifications
You must be signed in to change notification settings - Fork 140
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
SSHLibrary not working with RF#5.0a1 #401
Comments
This issue is due to SSHLibrary using Robot's Python 2/3 compatibility layer. RF 5.0 doesn't need it anymore itself, but we have preserved it to avoid breaking libraries and tools using it (robotframework/robotframework#4150). The problem is that SSHLibrary imports the from robot.utils.platform import PY2 to from robot.utils import PY2 It would be great if you could do that soon and test how SSHLibrary in general works with RF 5. If there's something we have broken, let as know ASAP and we hopefully can still fix it before the final RF 5.0 release. Ping @mihaiparvu. |
So far it seems the only problem was the old Python 2/3 compatibility layer. After making the fix and testing everything works as expected. |
Great, thanks for testing! I checked the PR and noted that also |
I also tested this in my environment and didn't see any problem other than reported one here. thanks! |
Add `robot.utils.platform.PY2` back to avoid breaking SSHLibrary. MarketSquare/SSHLibrary#401
|
What's the schedule for dropping Python 2.7 (and indeed EOL 3.4-3.6) in SSHLibrary? |
Please see PR #407 for an alternate compatibility fix. |
Performing a simple suite with SSHLibrary.
The error I've got:
Importing library 'SSHLibrary' failed: AttributeError: module 'robot.utils.platform' has no attribute 'PY2'
The text was updated successfully, but these errors were encountered: