Conversation
Co-authored-by: erokemwa <111133254+erokemwa@users.noreply.github.com>
… itsdangerous 2.x Co-authored-by: erokemwa <111133254+erokemwa@users.noreply.github.com>
Co-authored-by: erokemwa <111133254+erokemwa@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update requirements.txt for compatibility with modern Python
Upgrade requirements to modern package versions and fix Python 3.9+ compatibility
Mar 9, 2026
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.
requirements.txtwas pinned to 2017–2018 package versions incompatible with modern Python and setuptools, causing CI to fail withImportError: cannot import name 'Feature' from 'setuptools'when buildingMarkupSafe==1.0.requirements.txt
All 20 packages updated to current stable versions (Flask 3.0.3, SQLAlchemy 2.0.29, itsdangerous 2.2.0, etc.).
Breaking API fixes
itsdangerous2.x —TimedJSONWebSignatureSerializerremoved; migrated toURLSafeTimedSerializer:SQLAlchemy 2.0 —
Query.get()removed; replaced withdb.session.get(Model, id):Flask-SQLAlchemy 3.0 —
Query.get_or_404(),Query.first_or_404(), andQuery.paginate()removed from the query interface; migrated todb-level methods with explicitselect()statements:Housekeeping
.gitignorecovering__pycache__/,instance/, and*.dbexcept:toexcept Exception:in token verificationOriginal prompt
This pull request was created from Copilot chat.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.