diff --git a/.github/workflows/data-update.yml b/.github/workflows/data-update.yml index 5c2a86d4..cb249b65 100644 --- a/.github/workflows/data-update.yml +++ b/.github/workflows/data-update.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' architecture: 'x64' - name: Install Python dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2dab8736..ae3812db 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: [3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9, "3.10"] steps: - name: Checkout uses: actions/checkout@v2 @@ -86,7 +86,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' architecture: 'x64' - name: Cache Python dependencies id: cache-python diff --git a/requirements-dev.txt b/requirements-dev.txt index 1ea33e50..f75938bb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,8 @@ cov-core==1.15.0 pycodestyle==2.8.0 pylint==2.12.2 splinter==0.17.0 -transifex-client==0.14.3 +transifex-client==0.14.3; python_version < '3.10' +transifex-client==0.12.1; python_version == '3.10' selenium==4.1.0 twine==3.7.1 Pallets-Sphinx-Themes==2.0.2 diff --git a/utils/searx.sh b/utils/searx.sh index 412f651d..39f4c59a 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -418,7 +418,7 @@ install_settings() { err_msg "you have to install searx first" exit 42 fi - mkdir -p "$(dirname ${SEARX_SETTINGS_PATH})" + mkdir -p "$(dirname "${SEARX_SETTINGS_PATH}")" if [[ ! -f ${SEARX_SETTINGS_PATH} ]]; then info_msg "install settings ${SEARX_SETTINGS_TEMPLATE}"