Repository navigation
update from RF Core - #1
Merged
Merged
Conversation
Part of Python 3.11 compatibility. #4401
Filter away new `^^^` lines showing where the error occurred.
Python 3.11 changed `typing.get_type_hints` so that `None` isn't anymore added to returned types automatically if an argument has `None` as a default value. That changed our argument conversion logic so that if you have an argument like `arg: str = None` and pass it a `None` object, it isn't passed as-is but instead converted to a string `None`. Argument conversion depending on Python versions wouldn't be great, so this commit changes the logic so that `None` is never converted if an argument has `None` as a default. The same change also changed how types are shown by Libdoc. Earlier `arg: str = None` was shown as `arg: str | None = None`, but nowadays it's just `arg: str = None`. I prefer the new formatting and just updated tests so that they expect that if Python 3.11+. This is part of Python 3.11 compatibility. #4401
- Run PRs against Python 3.6 and 3.10 instead of Python 3.6 and 3.9. - Use Python 3.10 as the "runner side" Python with acceptance tests. - Run tests also against Python 3.11. #4401
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
These fail on CI with Python 3.11 due to `^^^` lines it adds to tracebacks. It's strange same tests pass locally but hopefully filtering those lines fixes tests on CI as well. Part of #4401.
This test fails on CI with Python 3.11 due to `^^^` lines it adds to tracebacks. It's strange it passes locally, but hopefully filtering those lines fixes it on CI like it has fixed other similar tests. Part of #4401.
Too many dependencies we need seem to be unavailable at the moment.
This was missing from #4096.
Makes it possible to have translation like `Casos de Teste` instead of requiring apparently improper `Casos De Teste`. See PR #4396. Using the proper format in the original language definition makes it possible for other tools to use that format as well.
- f-strings - Note to Get From Dictionary that `default` is new in RF 5.1. - FIXME for a bug
Our is_dict_like didn't recognize it but registing it explicitly as a Mapping avoids that problem.
- PT by @HelioGuilherme66 - BT-BR by @HelioGuilherme66 - DE by @Snooz82 and @Noordsestern - NL by @Heatzone87 and @leeuwe - CS by @MoreFamed - FR
- Fix syntax - Change Finnish teardown from "Purku" to "Alasajo" - Test for Finnish "Metatiedot"
This was already done with settings earlier but now also header and BDD prefix translations can be specified in any case. Fixes #4411.
Part of #4390.
Part of #4390.
- Expose `Language` via `robot.api`. - Add `Language.from_name` for getting language instances. - Enhance `--language` option to works with language full names in docstrings - Enhance `--language` to ignore `-` to support e.g. `PT-BR`.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.