diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index cb05e6e..3ebbe61 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4.2.0 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a665629..7ca9dc3 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4.2.0 diff --git a/.github/workflows/packager.yml b/.github/workflows/packager.yml index f54b3de..dc23c24 100644 --- a/.github/workflows/packager.yml +++ b/.github/workflows/packager.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4.2.0 diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index b5be1e0..d7000c6 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4.2.0 diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 4d26f69..30e7ca7 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Get source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4.2.0 @@ -58,7 +58,7 @@ jobs: steps: - name: Get source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Print QGIS version run: qgis --version diff --git a/gml_application_schema_toolbox/core/load_gmlas_in_qgis.py b/gml_application_schema_toolbox/core/load_gmlas_in_qgis.py index 7f09e31..e1db338 100644 --- a/gml_application_schema_toolbox/core/load_gmlas_in_qgis.py +++ b/gml_application_schema_toolbox/core/load_gmlas_in_qgis.py @@ -138,6 +138,8 @@ def import_in_qgis( } sql = f"select o.layer_name, o.layer_xpath, o.layer_category, o.layer_pkid_name, o.layer_parent_pkid_name, g.f_geometry_column, g.srid from {schema_s}_ogr_layers_metadata o left join geometry_columns g on g.f_table_name = o.layer_name" PlgLogger.log(message=f"DEBUG Get list of layers with query : {sql}", log_level=4) + + result = [] try: result = conn.executeSql(sql) PlgLogger.log(message=f"DEBUG List of layers : {result}", log_level=4) diff --git a/requirements/development.txt b/requirements/development.txt index 65398a8..b6303a6 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -4,6 +4,6 @@ black flake8>=3.8,<4.1 flake8-builtins>=1.5,<1.6 -flake8-eradicate>=1.0,<1.4 +flake8-eradicate>=1.0,<1.5 flake8-isort>=4.0,<4.3 pre-commit>=2.12,<2.21 diff --git a/requirements/documentation.txt b/requirements/documentation.txt index ee15bbf..c0138b7 100644 --- a/requirements/documentation.txt +++ b/requirements/documentation.txt @@ -2,7 +2,7 @@ # ------------- ghp-import>=2.0,<2.2 -furo==2022.6.21 +furo==2022.9.29 myst-parser[linkify]>=0.15,<0.19 sphinx-autobuild==2021.3.14 sphinx-copybutton>=0.3,<1 diff --git a/requirements/packaging.txt b/requirements/packaging.txt index cb19583..038a2d6 100644 --- a/requirements/packaging.txt +++ b/requirements/packaging.txt @@ -1,4 +1,4 @@ # Packaging # --------- -qgis-plugin-ci>=2.0,<2.4 +qgis-plugin-ci>=2.0,<2.6