Skip to content

Commit

Permalink
Merge branch 'feat/update-dependencies' of github.com:PnX-SI/gn_modul…
Browse files Browse the repository at this point in the history
…e_import into feat/update-dependencies
  • Loading branch information
Pierre-Narcisi committed Dec 7, 2023
2 parents 863e6e6 + a5ea8d5 commit 49a4e70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ jobs:
GEONATURE_CONFIG_FILE: dependencies/GeoNature/config/test_config.toml
- name: Install import module backend
run: |
pip install --editable .
pip install -r requirements-dev.in
pip install .
- name: Install import module database
run: |
geonature upgrade-modules-db IMPORT
Expand Down
5 changes: 4 additions & 1 deletion backend/gn_module_import/routes/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

from flask import request, current_app, jsonify, g, stream_with_context, send_file
from werkzeug.exceptions import Conflict, BadRequest, Forbidden, Gone
from werkzeug.urls import url_quote
# url_quote was deprecated in werkzeug 3.0 https://stackoverflow.com/a/77222063/5807438
from urllib.parse import (
quote as url_quote,
)
from sqlalchemy import or_, func, desc
from sqlalchemy.inspection import inspect
from sqlalchemy.orm import joinedload, Load, load_only, undefer, contains_eager, class_mapper
Expand Down

0 comments on commit 49a4e70

Please sign in to comment.