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

Raise minimum required Robot Framework to 3.1 #1494

Closed
aaltat opened this issue Oct 20, 2019 · 1 comment · Fixed by #1567
Closed

Raise minimum required Robot Framework to 3.1 #1494

aaltat opened this issue Oct 20, 2019 · 1 comment · Fixed by #1567

Comments

@aaltat
Copy link
Contributor

aaltat commented Oct 20, 2019

To get better support for Python 3, raise minimum supported Robot Framework to 3.1. This will allow support for Python type annotations and allows Robot Framework to detect the type of the argument correctly and convert argument to correct type. When type is converted correctly by Robot Framework, SL can remove all code that explicitly handles the conversio, example this type of code:

if is_falsy(argument):
    code here

Also #1021 is automatically then done.

@pekkaklarck
Copy link
Member

I'm actually not sure about #1021. At least RF doesn't automatically convert non-typed arguments to strings. I also think it doesn't convert arguments to strings even if they'd be explicitly typed to be strings. That feature could be implemented but earliest in RF 3.2.

@aaltat aaltat added this to the v5.0.0 milestone Apr 7, 2020
@aaltat aaltat added the rc 1 label Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants