Skip to content

Conversation

@mistercrunch
Copy link
Member

Someone reported that they had this mypy-related issue on py3.9, so I decided to fix it and to run pre-commit checks against more python versions to prevent this kind of issue from slipping into the repo

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Aug 5, 2024
@dosubot dosubot bot added the python Dependabot - Pull requests that update Python code label Aug 5, 2024
@rusackas
Copy link
Member

rusackas commented Aug 5, 2024

Not sure why the pre-commit job canceled here.

mistercrunch added a commit that referenced this pull request Aug 5, 2024
in order to get #29864 through, I first need to remove the `pre-commit` check, so that PR can be merged, and add new required checks for past, future and current
import logging
import uuid
from typing import Any
from typing import Any, Union
Copy link
Member Author

Choose a reason for hiding this comment

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

python 3.9 doesn't support the pipe operator in type hints...

@michael-s-molina michael-s-molina merged commit c7dc4dc into master Aug 6, 2024
@rusackas rusackas deleted the pre-commit-matrix branch August 6, 2024 17:47
nyohasstium pushed a commit to Webgains/superset that referenced this pull request Jan 2, 2025
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 5.0.0 First shipped in 5.0.0 labels Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels github_actions Pull requests that update GitHub Actions code python Dependabot - Pull requests that update Python code size/S 🚢 5.0.0 First shipped in 5.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants