Version bump python, requirements.txt packages, and docker images#293
Open
ajbarnes wants to merge 15 commits into
Open
Version bump python, requirements.txt packages, and docker images#293ajbarnes wants to merge 15 commits into
ajbarnes wants to merge 15 commits into
Conversation
…s to 3.11, 3.12, and 3.13
…rfile base image from 13.2 to 17.5
…ats based on changes in pandas 2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This MR modernizes VA Explorer by bumping the underlying target python versions, upgrading requirements.txt packages to their latest versions, and using newer docker images to match.
Along the way, tweaks have been made to remedy any breaking/non-backwards compatible changes introduced by migrating between major versions of python, packages, or docker images.
Adds
crispy-bootstrap4dependency to comply with major version bump ondjango-crispy-formsmigration instructionsskip_postgeneration_save logictofactories.pyclasses to fix deprecation warning introduced byfactory-boybumpChanges
BaseUserCreationFormnow used in >=4.2 instead ofUserCreationFormused in <=4.1multi_select.pymonkeypatch updated to reflect latest version of django-multiselect sourcerequirements/base.pyto their latest versionsrequirements/local.txtto their latest versionsrequirements/docs.txtto their latest versionsrequirements/production.txtto their latest versionspython:3.8-slimtopython:3.12-slim-bookwormRemoves
logging_event_handlers.jsthat no longer existsTesting Suggestions
pytestrunservermanagement command. (Create a superuser to login with if needed viaseed_admin_usermanagement command) (ensure your local install of postgres matches 17.5 as well)docker compose up -dTo get a useful seeded environment both locally and in docker, use these commands: