Skip to content

fix: inspect-ai requires Python >= 3.10#2110

Merged
gadenbuie merged 2 commits intomainfrom
fix/inspect-ai-min-python
Nov 3, 2025
Merged

fix: inspect-ai requires Python >= 3.10#2110
gadenbuie merged 2 commits intomainfrom
fix/inspect-ai-min-python

Conversation

@gadenbuie
Copy link
Collaborator

Also fixes a flake8 check failure

flake8 --show-source .
./shiny/_docstring.py:225:5: B042 Exception class with `__init__` should pass all args to `super().__init__()` in order to work with `copy.copy()`. It should also not take any kwargs.
    def __init__(
    ^
./shiny/_docstring.py:249:5: B042 Exception class with `__init__` should pass all args to `super().__init__()` in order to work with `copy.copy()`. It should also not take any kwargs.
    def __init__(
    ^
./shiny/types.py:182:5: B042 Exception class with `__init__` should pass all args to `super().__init__()` in order to work with `copy.copy()`. It should also not take any kwargs.
    def __init__(self, message: str, sanitize: bool = True, close: bool = False):
    ^
make: *** [check-flake8] Error 1

Copy link
Collaborator

@karangattu karangattu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM..thanks

@gadenbuie gadenbuie merged commit fcdc2d9 into main Nov 3, 2025
66 checks passed
@gadenbuie gadenbuie deleted the fix/inspect-ai-min-python branch November 3, 2025 21:25
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.

2 participants