Skip to content

Remove support to use & as alias for AND with tag patterns - #5663

Open
sudheerr937-ai wants to merge 2 commits into
robotframework:masterfrom
sudheerr937-ai:fix/remove-ampersand-alias-5662
Open

sudheerr937-ai wants to merge 2 commits into
robotframework:masterfrom
sudheerr937-ai:fix/remove-ampersand-alias-5662

Conversation

@sudheerr937-ai

@sudheerr937-ai sudheerr937-ai commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #5662
Removes & operator support completely as planned for RF 8.0.

Changes:
Removed & handling block from TagPattern.from_string() in tags.py
Removed test_ampersand_is_deprecated from unit tests
Removed Deprecated & operator test cases from acceptance tests
Updated Validate deprecated operator warning keyword
Removed outdated note from documentation

Comment thread atest/robot/tags/include_and_exclude_with_rebot.robot Outdated
Comment thread doc/userguide/src/ExecutingTestCases/BasicUsage.rst
@pekkaklarck

Copy link
Copy Markdown
Member

Thanks for the PR. Other than the User Guide needing a note about the old syntax it looks good.

Because #5662 is targeted for RF 8.0, this PR cannot be merged until we start its development. That happens latest at the end of this year, so there's a risk for conflicts due to changes to code, tests or docs. Changes to docs are very likely, because we are planning to migrate the whole User Guide to new tech.

Anyway, we can leave this PR open and waiting for RF 8 development to start. We can then resolve conflicts or just redo the whole PR if needed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove support to use & as alias for AND with tag patterns

2 participants