From 5ae013210082a94f079919a5fe20723292e85859 Mon Sep 17 00:00:00 2001 From: Spitap Date: Fri, 28 Apr 2023 13:41:41 +0200 Subject: [PATCH] updated workflow, update docker --- .github/workflows/modoboa.yml | 2 +- postgresql-requirements.txt | 2 +- test_project/test_project/urls.py | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index 7422e1eec..05a9d26b9 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -66,7 +66,7 @@ jobs: strategy: matrix: database: ['postgres', 'mysql'] - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.8, 3.9, '3.10'] fail-fast: false steps: diff --git a/postgresql-requirements.txt b/postgresql-requirements.txt index 78c082246..726a08b3e 100644 --- a/postgresql-requirements.txt +++ b/postgresql-requirements.txt @@ -1 +1 @@ -psycopg2-binary>=2.8,<2.9 +psycopg[binary]>=3.1 diff --git a/test_project/test_project/urls.py b/test_project/test_project/urls.py index 136bd8a16..7e9306eed 100644 --- a/test_project/test_project/urls.py +++ b/test_project/test_project/urls.py @@ -1,7 +1,8 @@ from __future__ import unicode_literals -from django.conf.urls import include, url +from django.conf.urls import include +from django.urls import re_path urlpatterns = [ - url(r"", include("modoboa.urls")), + re_path(r"", include("modoboa.urls")), ]