forked from robotframework/robotframework
-
Notifications
You must be signed in to change notification settings - Fork 1
[pull] master from robotframework:master #145
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
Open
pull
wants to merge
1,658
commits into
testautomation:master
Choose a base branch
from
robotframework:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Manage this branch in SquashTest this branch here: https://master-n02a3.squash.io |
Also prefer `from robot.utils import ...` over `from robot import utils`.
Also minor fixes.
- Acceptance test libraries gracefully handle the module not being available. Schema validation will obviously fail, but otherwise libraries work normally. - Acceptance tests needing jsonschema got a new `require-jsonschema` tag that can be used for skipping or excluding them. - Unit tests needing jsonschema are skipped if the module isn't installed. The motivation with these changes is making it possible to test Robot on Python 3.14 that isn't currently supported by jsonschema. (#5352)
The code is based on PR #5302 by @franzhaas, but contains some cleanup, doc updates, and fix for handling closed stdout/stderr PIPEs. Fixes #4173.
These features are tested also elsewhere. Also some cleanup.
The fix is based on the code in PR #5302 by @franzhaas. Fixes #5345. Now that `Popen.communicate()` gets a timeout, its implementation always gets to a code path where stdtout/stderr being a closed PIPE doesn't matter and we only need to care about stdin. As the result content written to PIPEs that are later closed is now available.
Also little cleanup.
Add step to archive acceptance test results on failure.
This avoids warnings when #5492 is implemented.
This makes it possible to show source and line number in import errors/warnings also when using `Import Library/Resource/Variables` keywords for importing libraries. Need by #5492.
Libraries imported with the same name as already imported libraries are ignored. This used to be silent, but after this commit there are warnings in these cases: - Library is re-imported with different arguments than earlier. - Library is imported using an alias that is used by another imported library. Fixes #5492.
Remove class references from docs when method has a return type.
- Run tests also with Python 3.14 (#5435). Hopefully using just '3.14' is enough when it's still in the RC phase. - Run unit tests with PRs with same Python versions as acceptance tests.
Trying to setup running tests with Python 3.14 on GitHub Actions (#5435). Using '3.14' as the version didn't work, because Python 3.14 is still in the RC phase. Using '3.14-dev' ought give us the latest preview release (and hopefully the final version vhen it's released): https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-input
In practice using VAR ${scalar} scope=TEST will cause a deprecation warning and should be replaced with VAR ${scalar} ${EMPTY} scope=TEST No changes to creating @{list} and &{dict} variables or when using the local scope implicitly or explicitly. Fixes #5439.
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.6.0 to 6.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5.6.0...v6.0.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Most importantly, try to fix tests on Windows.
Part of issue #5373. --------- Co-authored-by: Clemens Otto <[email protected]>
Values were already validated by keywords themselves so there are no real functional changes. The main benefit is getting the accepted values shown automatically in documentation and in some cases also error messages got better. In the future IDEs may also be able to auto-complete the accepted values. Existing argument validation wasn't removed from keywords to avoid problems in programmatic usage. This is related to adding typing to standard libraries (#5373).
We'd like the `Secret` type (#4537) to be implemented under `robot.api`, but that causes very-hard-to-resolve cyclic import issues. After some failed attempts, we decided to keep it under `robot.utils`. At some point the idea was to "hide" the implementation under `robot.utils` by naming the module `_secret`, but we haven't used such convention with other modules so better to go with normal `secret` name. The docs will be updated later to explain that the class should be imported under `robot.api.types`.
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )