Skip to content

Conversation

@lemontree210
Copy link
Member

@lemontree210 lemontree210 commented Jun 22, 2023

plugin_github_group.py triggers exception when running CI tasks

AttributeError: '_HookCaller' object has no attribute '_nonwrappers'

This attribute is indeed absent, however the attribute ._hookimpls contains the necessary keys.

@lemontree210 lemontree210 self-assigned this Jun 22, 2023
@lemontree210 lemontree210 changed the title try downgrading pytest back to 7.3.1 fix CI issue (_nowrappers) Jun 22, 2023
@lemontree210 lemontree210 added bug 🐛 ⚙️ tests affected functionality: tests 🔗 github-actions related technology: github-actions labels Jun 22, 2023
@lemontree210 lemontree210 changed the title fix CI issue (_nowrappers) fix CI issue (_nonwrappers) Jun 22, 2023
@lemontree210 lemontree210 marked this pull request as ready for review June 22, 2023 12:46
@harshil21
Copy link
Member

3.11 macos tests show passing even though there was an internal pytest error (looks like it was flaky, and not related to this PR).

I believe it showed passing cause https://github.com/python-telegram-bot/python-telegram-bot/blob/master/.github/workflows/test.yml#L69 ran with no tests and then gave an exit code of 0.

@Bibo-Joshi
Copy link
Member

Ah, the pleasures of using protected members 🫠 Replacing one protected member with another one doesn't sound overly desirable to me TBH. Is there a way to do wtih with proper public API? How terrible do the GitHub Actions logs look like if we remove this custom plugin all together?

@Bibo-Joshi
Copy link
Member

superseded by #3776

@Bibo-Joshi Bibo-Joshi closed this Jun 26, 2023
@Bibo-Joshi Bibo-Joshi deleted the fix-ci-pytest-fail branch June 26, 2023 17:53
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2023
@Bibo-Joshi Bibo-Joshi added 🔌 bug pr description: bug and removed bug 🐛 labels Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🔌 bug pr description: bug 🔗 github-actions related technology: github-actions ⚙️ tests affected functionality: tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants