Skip to content

Conversation

@msom
Copy link
Contributor

@msom msom commented Apr 17, 2025

Updates django to 5.2 (next LTS) and other packages to the latest version.

I also removed

  • pins to minor versions since python packages typically follow semantic versioning
  • most of the pins for dev packages (only keep pins for matching stubs and types)

@msom msom requested a review from benschs April 17, 2025 06:08
@msom msom force-pushed the feat-PB-1599-update-django branch from c5f13f9 to 18093c6 Compare April 17, 2025 06:49
@msom
Copy link
Contributor Author

msom commented Apr 17, 2025

While testing the docker image, I noticed that dockerrun does not work (and probably never has).

Fixed:

  • Use the current env file (may be set using the ENV_FILE env variable, defaults to .env.local / .env)
  • Remove LOGS_DIR configuration (I think this is a a copy paste thing from service-stac)
  • Remove SCRIPT_NAME (there is nothing in the code that evaluates that, no clue what that supposed to do)
  • Use settings_prod (settings_dev won't work)
  • Set ALLOWED_HOST
  • Start gunicorn, not python when running the command

@msom msom requested a review from benschs April 17, 2025 07:37
@msom msom merged commit 8a9bf19 into develop Apr 17, 2025
3 checks passed
@msom msom deleted the feat-PB-1599-update-django branch April 17, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants