-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: keep the backward compatibility for type hint #1052
Conversation
This is a hotfix issue, so I should merge it immediately. Check later, please. |
@mingrammer 3.8 support end 1 month ago: The unit tests run for Python 3.9 and greater. My opinion is to stick with the lower version of the tests 3.9. Note for later update the Readme. |
agree with @gabriel-tessier our pipeline is only scan code with Python version higher 3.8 so I think we don't need to support v3.8 |
Agree with all of you. I didn't check the EOL of 3.8. I'll update the badge and requirements in the readme. Thank you for checking it. |
I made a PR: #1064 |
* [979] Add icons * fix: icons size * bump: up to version 0.24.0 * Update version of codeql-analysis.yml (#1035) v2 will deprecate soon so we will move to v3 🌴 https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/ * Upgrade for 3.12/3.13 (#972) * fix tests (#1050) * chore(deps): bump jinja2 from 3.1.2 to 3.1.4 (#1037) * ci(test): add test trigger path * ci(test): add test trigger path * fix: update poetry lock * fix: keep the backward compatability for type hint (#1052) * Update installation command for mingrammer/round to use 'go install' with the latest version instead of 'go get'. (#1057) * fix(node): change elixir language image to one with no background (#976) * fix elixir image * fix website elixir image * Add diagrams.onprem.network.Mikrotik (#1058) * issue-982: add azure speech to text and Azure OpenAI (#1061) * Add Transit Gateway Attachment icon, its alias and Internet Gateway alias. (#1038) * issue-1056: add crowdstrike (#1062) * fix typo for crowdstrike (#1063) * Updated Legacy ENV Path (#1008) * Minor Change * fix: pin python version + fix font path * More recent Python version --------- Co-authored-by: tessier <[email protected]> * autogen.sh * Generate node * Revert build as node and set in _init * Clean generated files --------- Co-authored-by: mingrammer <[email protected]> Co-authored-by: Phuoc Tran <[email protected]> Co-authored-by: Tobias Bruckert <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nguyễn Đức Chiến <[email protected]> Co-authored-by: Gabriel Oliveira <[email protected]> Co-authored-by: laiminhtrung1997 <[email protected]> Co-authored-by: Abhishek Jadhav <[email protected]>
Hi @liancheng @gabriel-tessier . The
|
for type hint does not work for < Python 3.9. I fixed it with the Union function.