From 48b6b4a8baf3c4a0137260adc90488d9f7acd4b5 Mon Sep 17 00:00:00 2001 From: Ivan Kropotkin Date: Wed, 13 Dec 2023 13:31:48 +0100 Subject: [PATCH] DINAR-PORT: update python to 3.10 Here is the error I'm trying to fix: ``` File "/home/runner/work/access-addons/access-addons/odoo-module-migrator/odoo_module_migrate/migration_scripts/migrate_160_170.py", line 35, in AbstractVisitor def add_change(self, old_node: ast.AST, new_node: ast.AST | str): TypeError: unsupported operand type(s) for |: 'type' and 'type' ``` --- static-files/all/.github/workflows/DINAR-PORT.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static-files/all/.github/workflows/DINAR-PORT.yml b/static-files/all/.github/workflows/DINAR-PORT.yml index 0d85b26..95230a2 100644 --- a/static-files/all/.github/workflows/DINAR-PORT.yml +++ b/static-files/all/.github/workflows/DINAR-PORT.yml @@ -38,7 +38,7 @@ jobs: ref: master - uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.10" - name: Install python tools run: | pip install plumbum pre-commit git-aggregator