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 <tessier@luxeys.com> * autogen.sh * Generate node * Revert build as node and set in _init * Clean generated files --------- Co-authored-by: mingrammer <mingrammer@gmail.com> Co-authored-by: Phuoc Tran <57540319+tvqphuoc01@users.noreply.github.com> Co-authored-by: Tobias Bruckert <62531735+tb102122@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nguyễn Đức Chiến <nobi@nobidev.com> Co-authored-by: Gabriel Oliveira <gabrieloliver8991@gmail.com> Co-authored-by: laiminhtrung1997 <68812829+laiminhtrung1997@users.noreply.github.com> Co-authored-by: Abhishek Jadhav <abhishek.jadhav64@gmail.com>
* [979] Add icons * fix: icons size * bump: up to version 0.24.0 * Update version of codeql-analysis.yml (mingrammer#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 (mingrammer#972) * fix tests (mingrammer#1050) * chore(deps): bump jinja2 from 3.1.2 to 3.1.4 (mingrammer#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 (mingrammer#1052) * Update installation command for mingrammer/round to use 'go install' with the latest version instead of 'go get'. (mingrammer#1057) * fix(node): change elixir language image to one with no background (mingrammer#976) * fix elixir image * fix website elixir image * Add diagrams.onprem.network.Mikrotik (mingrammer#1058) * issue-982: add azure speech to text and Azure OpenAI (mingrammer#1061) * Add Transit Gateway Attachment icon, its alias and Internet Gateway alias. (mingrammer#1038) * issue-1056: add crowdstrike (mingrammer#1062) * fix typo for crowdstrike (mingrammer#1063) * Updated Legacy ENV Path (mingrammer#1008) * Minor Change * fix: pin python version + fix font path * More recent Python version --------- Co-authored-by: tessier <tessier@luxeys.com> * autogen.sh * Generate node * Revert build as node and set in _init * Clean generated files --------- Co-authored-by: mingrammer <mingrammer@gmail.com> Co-authored-by: Phuoc Tran <57540319+tvqphuoc01@users.noreply.github.com> Co-authored-by: Tobias Bruckert <62531735+tb102122@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nguyễn Đức Chiến <nobi@nobidev.com> Co-authored-by: Gabriel Oliveira <gabrieloliver8991@gmail.com> Co-authored-by: laiminhtrung1997 <68812829+laiminhtrung1997@users.noreply.github.com> Co-authored-by: Abhishek Jadhav <abhishek.jadhav64@gmail.com>
* [979] Add icons * fix: icons size * bump: up to version 0.24.0 * Update version of codeql-analysis.yml (mingrammer#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 (mingrammer#972) * fix tests (mingrammer#1050) * chore(deps): bump jinja2 from 3.1.2 to 3.1.4 (mingrammer#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 (mingrammer#1052) * Update installation command for mingrammer/round to use 'go install' with the latest version instead of 'go get'. (mingrammer#1057) * fix(node): change elixir language image to one with no background (mingrammer#976) * fix elixir image * fix website elixir image * Add diagrams.onprem.network.Mikrotik (mingrammer#1058) * issue-982: add azure speech to text and Azure OpenAI (mingrammer#1061) * Add Transit Gateway Attachment icon, its alias and Internet Gateway alias. (mingrammer#1038) * issue-1056: add crowdstrike (mingrammer#1062) * fix typo for crowdstrike (mingrammer#1063) * Updated Legacy ENV Path (mingrammer#1008) * Minor Change * fix: pin python version + fix font path * More recent Python version --------- Co-authored-by: tessier <tessier@luxeys.com> * autogen.sh * Generate node * Revert build as node and set in _init * Clean generated files --------- Co-authored-by: mingrammer <mingrammer@gmail.com> Co-authored-by: Phuoc Tran <57540319+tvqphuoc01@users.noreply.github.com> Co-authored-by: Tobias Bruckert <62531735+tb102122@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nguyễn Đức Chiến <nobi@nobidev.com> Co-authored-by: Gabriel Oliveira <gabrieloliver8991@gmail.com> Co-authored-by: laiminhtrung1997 <68812829+laiminhtrung1997@users.noreply.github.com> Co-authored-by: Abhishek Jadhav <abhishek.jadhav64@gmail.com>
* [979] Add icons * fix: icons size * bump: up to version 0.24.0 * Update version of codeql-analysis.yml (mingrammer#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 (mingrammer#972) * fix tests (mingrammer#1050) * chore(deps): bump jinja2 from 3.1.2 to 3.1.4 (mingrammer#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 (mingrammer#1052) * Update installation command for mingrammer/round to use 'go install' with the latest version instead of 'go get'. (mingrammer#1057) * fix(node): change elixir language image to one with no background (mingrammer#976) * fix elixir image * fix website elixir image * Add diagrams.onprem.network.Mikrotik (mingrammer#1058) * issue-982: add azure speech to text and Azure OpenAI (mingrammer#1061) * Add Transit Gateway Attachment icon, its alias and Internet Gateway alias. (mingrammer#1038) * issue-1056: add crowdstrike (mingrammer#1062) * fix typo for crowdstrike (mingrammer#1063) * Updated Legacy ENV Path (mingrammer#1008) * Minor Change * fix: pin python version + fix font path * More recent Python version --------- Co-authored-by: tessier <tessier@luxeys.com> * autogen.sh * Generate node * Revert build as node and set in _init * Clean generated files --------- Co-authored-by: mingrammer <mingrammer@gmail.com> Co-authored-by: Phuoc Tran <57540319+tvqphuoc01@users.noreply.github.com> Co-authored-by: Tobias Bruckert <62531735+tb102122@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nguyễn Đức Chiến <nobi@nobidev.com> Co-authored-by: Gabriel Oliveira <gabrieloliver8991@gmail.com> Co-authored-by: laiminhtrung1997 <68812829+laiminhtrung1997@users.noreply.github.com> Co-authored-by: Abhishek Jadhav <abhishek.jadhav64@gmail.com>
Hi @liancheng @gabriel-tessier . The
|for type hint does not work for < Python 3.9. I fixed it with the Union function.