diff --git a/manifest.toml b/manifest.toml index 77b901b..218bf3c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -68,7 +68,7 @@ ram.runtime = "50M" main.allowed = "visitors" [resources.apt] - packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-13" + packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-all python3-dev" [resources.database] type = "postgresql" diff --git a/sources/patches/main-001.patch b/sources/patches/main-001.patch new file mode 100644 index 0000000..c943b3a --- /dev/null +++ b/sources/patches/main-001.patch @@ -0,0 +1,11 @@ +diff --git a/requirements.txt b/requirements.txt +index 27c1a5c..a21fd3d 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,5 +1,5 @@ + Django>=2.2,<2.3 +-psycopg2>=2.8,<2.9 ++psycopg2>=2.9,<3.0 + # To match django-ldapdb version: + #python-ldap>=3.0,<3.1 + #wsgiref