Scope CI checks for rich message send slice#2
Closed
tymrtn wants to merge 1 commit into
Closed
Conversation
Author
|
Closing this because upstream has paused Bot API 10.1 work and python-telegram-bot#5263 is now closed. No need to leave a helper PR dangling against your fork. Thanks again for merging the send-side extras cleanly. |
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.
Summary
This is a CI-scope follow-up for the send-side rich message slice in upstream python-telegram-bot#5263.
It does two small things:
test_officialto explicitly ignore Bot API 10.1 methods/objects/fields that are outside this PR's intentionally narrow send-side scope:RichText*/RichBlock*hierarchyRichMessageLink/InputMediaLinkeditMessageTextrich-message editing changesThis keeps python-telegram-bot#5263 honest: the PR remains a send-side slice, while CI stops implying that it attempted the full 10.1 hierarchy.
Tests
TEST_OFFICIAL=true PYTHONPATH=src python -m pytest -o 'addopts=' tests/test_official/test_official.py -q481 passedpython -m pytest -o 'addopts=' tests/test_inputrichmessage.py tests/test_bot.py tests/test_chat.py tests/test_user.py tests/test_message.py -k 'rich_message or inputrichmessage' -q34 passed, 2814 deselectedpython -m ruff check tests/test_official/exceptions.py tests/test_official/scraper.pypython -m ruff format --check tests/test_official/exceptions.py tests/test_official/scraper.pygit diff --check