Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use python 3.8 to install Django 4 #67

Merged
merged 3 commits into from
Jan 30, 2024

Conversation

Xpirix
Copy link
Collaborator

@Xpirix Xpirix commented Jan 23, 2024

According to #56 and #61 , we should use Django 4 to fix the spatial filter map. I think this is also an opportunity to upgrade to the new LTS because version 3.2 extended support will end in April 2024.

Current situation

  • This version of Django needs Python 3.8+.
  • In production, the build raises an error when using the Python 3.8 image:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <the_pubkey> 

Proposed fixes

  • Upgrade to Python 3.8 and Django 4. I pushed the image on the Docker hub (xpirix/qgisfeed:production-1.4) so we don't have to upgrade the Docker version or build it on the server.
  • Upgrade to Postgresql 16 because Django 4 depends on 12+ (The current version is 11).

EDIT: I also added the code folder in the mounted volume so we don't have to build the image to have each change inside the container.

@dimasciput dimasciput merged commit a2f1a69 into qgis:master Jan 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants