Skip to content

[pull] master from robotframework:master - #145

Open
pull[bot] wants to merge 2076 commits into
testautomation:masterfrom
robotframework:master
Open

[pull] master from robotframework:master#145
pull[bot] wants to merge 2076 commits into
testautomation:masterfrom
robotframework:master

Conversation

@pull

@pull pull Bot commented May 10, 2022

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label May 10, 2022
@squash-labs

squash-labs Bot commented Feb 14, 2023

Copy link
Copy Markdown

Manage this branch in Squash

Test this branch here: https://master-n02a3.squash.io

pekkaklarck and others added 28 commits December 12, 2025 13:06
Emit deprecation warnigns only if VAR is used to set a non-local
variable without a value, not when it is set to a falsy value.

Fixes #5577.
`_name` should only be used with typing constructs. This was fixed
with `type_name` already in 04a6efc as part of #5433.
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Explicitly close the iterator returned by `ET.iterparse` to avoid warnings with Python 3.15.
- Add some return type hints
- Very minor performance optimization
Clarify that init files in parent directories of executed suite
files/directories have no effect. This was already explained in the
section discussing about `--suite`, but not in the section covering
init files themselves.

Fixes #5593.
Main motivation is making it easier to add Markdown support (#5304)
later.

Also enhance related tests a bit.
Anchore generated by Libdoc is uppercase `Introduction`, header
id should match that.

Fixes #5601
Shaurya2k06 and others added 30 commits August 3, 2026 18:30
Take Dialogs library documentation to Markdown and document
arguments, return values and exceptions explicitly. Related to #5709.

Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
Take DateTime library documentation to Markdown and document
arguments and return values explicitly. Related to #5709.

Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
- Split paragraphs to multiple lines
- Replace inline links with reference links
- Minor fine-tuning

Related to issue #5709 and PR #5711.
- Remove unnecessary explanation about Boolean conversion. Automatic
  type docs handle that.

- "user name" -> "username"
- Add missing headers to examples to get them highlighted properly.
- Prefer reference links over inline links.
- Minor doc cleanup in general.
- Minor code enhancements (`@overload` and whitespace).

Related to issue #5709 and PR #5715.
Implementation and tests for #4409.
Related to issue #4409 and PR #5685.
- Move test metadata files from `output` to `parsing` where other
  similar tests existed.
- Rename files in format `test_case_xxx.robot` and `testcase_xxx.robot`
  `test_xxx.robot` for consistency.

Somewhat related to issue #4409 and PR #5685.
Part of #5709.

Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
- Move argument docs to the beginning
- Fix examples (add header and name)
- Some general documentaion cleanup and enhancements
- Also minor code enhancements

Part of #5709. Related to PR #5714.
Python 3.15 enables UTF-8 mode by default (https://peps.python.org/pep-0686/)
which affects Windows. This causes two problems for us:

1. Process library encodes outputs using our `SYSTEM_ENCODING`. That
   is get using `locale.getencoding()` with new Python 3.11+ and it
   returs the real system encoding. Python itself now uses UTF-8
   anyway, so there was a mismatch. This caused several tests to fail.
   An easy fix was is setting `SYSTEM_ENCODING` to UTF-8 if the UTF-8
   mode is enabled.

2. `OperatingSystem.Run` used `os.popen` that failed with non-ASCII
   output on Windows. This was fixed by using `suprocess.Popen` that
   also `os.popen` nowadays uses internally. This made it possible to
   handle encodings better and also simplified code otherwise.

This is the main part of Python 3.15 compatibility (#5708). With these
changes all tests passed on my Windows virtual machine.
Part of Python 3.15 compatibility (#5708).
Disables running tests with other versions on purpose until
Python 3.15 configs are fixed.
Set encoding explicitly when running processes. This avoids problems
when testing Python 3.15 but running `atest/run.py` with an older
Python version.
- Enable running tests with older versions again
- Test can `chcp 850` be removed altogether
Actually this time compatibility is for Python < 3.15 on Windows,
because earlier change that fixed Python 3.15 broke tests with earlier
versions.
Part of #5709.

Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
These special case-insensitive strings yield the current date.

Fixes #5732.
PR #5720 converted BuilltIn docs to Markdown and took the new argument
and return value documentation syntax into use. Unfortunately most of
the argument docs turned out to be bad, probably due to AI
hallucination, and there were also various problems with examples and
otherwise.

This commit fixes the above problems and also enhances documentation
in different ways in general. Especially examples have been enhanced.

Converting standard library docs to Markdown and taking the new
argument and return value syntax is covered by issue #5709.
This environment variable is set by acceptance tests for interpreter
specific values to avoid problems with tests being run simultaneously
with multiple interpreters. That problem just happened to me locally.
Return type information is used only by Libdoc, and in that context
`Never` and `NoReturn` have the same semantics as not having return
type information at all.

Fixes #5737.
Explain how to use utilize the new Robot-data-embedded-to-Markdown-files feature (#5603) for living documentation. Most importantly, show how technical details can be hidden from generated HTML files by using Markdown comment blocks.
This makes the following documentation possible:

    Args:

      - first: Doc of the first argument.
      - second: Doc of the second argument.

The above works:
- With RF 7.5 with so that argument docs are handled properly.
- With older RF versions so that arguments are formatted as a list.
- With tools that support Markdown, but don't understand the Google
  style argument docs, so that arguments are formatted as a list. If
  this point isn't important, the empty row below `Args`: can be
  removed.

Part of #5604.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.