From 271765557fc3f62dd439cbc2d8cae5565c3bcc93 Mon Sep 17 00:00:00 2001 From: nixsiow Date: Thu, 21 Mar 2024 18:13:08 +1000 Subject: [PATCH] remove postgres 10 & 11 --- README.md | 4 +--- cookiecutter.json | 2 +- docs/project-generation-options.rst | 2 -- tests/test_cookiecutter_generation.py | 2 -- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a604e9498..995303b42 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ _These features can be enabled during initial project setup._ ## Constraints - Only maintained 3rd party libraries are used. -- Uses PostgreSQL everywhere: 10 - 16 ([MySQL fork](https://github.com/mabdullahadeel/cookiecutter-django-mysql) also available). +- Uses PostgreSQL everywhere: 12 - 16 ([MySQL fork](https://github.com/mabdullahadeel/cookiecutter-django-mysql) also available). - Environment variables for configuration (This won't work with Apache/mod_wsgi). ## Support this Project! @@ -138,8 +138,6 @@ Answer the prompts with your own desired [options](http://cookiecutter-django.re 3 - 14 4 - 13 5 - 12 - 6 - 11 - 7 - 10 Choose from 1, 2, 3, 4, 5 [1]: 1 Select cloud_provider: 1 - AWS diff --git a/cookiecutter.json b/cookiecutter.json index 6d6dbeb75..4eeede9c0 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -18,7 +18,7 @@ "windows": "n", "editor": ["None", "PyCharm", "VS Code"], "use_docker": "n", - "postgresql_version": ["16", "15", "14", "13", "12", "11", "10"], + "postgresql_version": ["16", "15", "14", "13", "12"], "cloud_provider": ["AWS", "GCP", "Azure", "None"], "mail_service": [ "Mailgun", diff --git a/docs/project-generation-options.rst b/docs/project-generation-options.rst index a3bd737ba..23c8e9178 100644 --- a/docs/project-generation-options.rst +++ b/docs/project-generation-options.rst @@ -71,8 +71,6 @@ postgresql_version: 3. 14 4. 13 5. 12 - 6. 11 - 7. 10 cloud_provider: Select a cloud provider for static & media files. The choices are: diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py index 14f1ae0d9..6b581b03a 100755 --- a/tests/test_cookiecutter_generation.py +++ b/tests/test_cookiecutter_generation.py @@ -62,8 +62,6 @@ SUPPORTED_COMBINATIONS = [ {"postgresql_version": "14"}, {"postgresql_version": "13"}, {"postgresql_version": "12"}, - {"postgresql_version": "11"}, - {"postgresql_version": "10"}, {"cloud_provider": "AWS", "use_whitenoise": "y"}, {"cloud_provider": "AWS", "use_whitenoise": "n"}, {"cloud_provider": "GCP", "use_whitenoise": "y"},