Webapp: Use Python 3.12 and update dependencies#5473
Open
matyasselmeci wants to merge 5 commits into
Open
Conversation
4e096d6 to
86c4973
Compare
Collaborator
Author
|
This is running on topology-itb. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the webapp build/runtime stack to newer OS and Python versions to move off Python 3.9 EOL and align dependencies/CI accordingly.
Changes:
- Bump container base image to EL9 and install/use Python 3.12 in the Docker build.
- Refresh Python dependency pins (including mod_wsgi) for the webapp deployment.
- Update GitHub Actions validation workflows to run on Python 3.12.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| requirements-rootless.txt | Updates pinned Python dependencies; adds a couple of runtime deps (e.g., tzdata, typing-extensions). |
| requirements-apache.txt | Updates mod_wsgi version and adjusts build header comment for Python 3.12. |
| Dockerfile | Switches to EL9 base image; installs Python 3.12 toolchain and uses it for pip installs. |
| docker/apache.conf | Updates the mod_wsgi module load path to the Python 3.12 build. |
| .github/workflows/validate-data.yml | Runs data validation CI on Python 3.12.13. |
| .github/workflows/validate-code.yml | Runs code validation CI on Python 3.12.13. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
In theory more robust than the 'pip3.12' alias Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Python 3.9 is EOL and libraries are starting to drop support for it. Bring the software in the webapp up to date: