Skip to content

chore: Update minimum Flask and Django versions - #132

Merged
TheRealAgentK merged 1 commit into
masterfrom
feature/#130-Requirements
Jan 20, 2026
Merged

chore: Update minimum Flask and Django versions#132
TheRealAgentK merged 1 commit into
masterfrom
feature/#130-Requirements

Conversation

@TheRealAgentK

@TheRealAgentK TheRealAgentK commented Jan 18, 2026

Copy link
Copy Markdown
Contributor

Description 📝

Purpose:

Update minimum Flask and Django versions to align with the library's Python 3.9+ requirement.

Approach:

The previous minimums (Flask 0.10 from 2013, Django 1.8.8 from 2015) were incompatible with Python 3.9+. Updated to modern versions that are compatible:

  • flask>=0.10flask>=2.0 (requires Python 3.7+)
  • django>=1.8.8django>=3.2 (LTS, requires Python 3.8+)

Analysis performed:

  • Reviewed Flask middleware: Uses flask.signals.got_request_exception and flaskApp.extensions (available since Flask 0.7)
  • Reviewed Django middleware: Uses MiddlewareMixin (added in Django 1.10, with fallback)
  • Both middlewares use basic APIs that work with modern versions

Type of change

  • chore: Chore task, release or small impact change
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Updates

  • Updated flask minimum from 0.10 to 2.0 in pyproject.toml
  • Updated django minimum from 1.8.8 to 3.2 in pyproject.toml

Related issues

Closes #131

Test plan 🧪

  • Unit tests pass (70/70)
  • Ruff linting and formatting pass
  • Build succeeds

Author to check 👓

  • Project and all contained modules builds successfully
  • Self-/dev-tested
  • Unit/UI/Automation/Integration tests provided where applicable
  • Code is written to standards
  • Appropriate documentation written (code comments, internal docs)

Reviewer to check ✔️

  • Project and all contained modules builds successfully
  • Change has been dev-/reviewer-tested, where possible
  • Unit/UI/Automation/Integration tests provided where applicable
  • Code is written to standards
  • Appropriate documentation written (code comments, internal docs)

- flask>=0.10 → flask>=2.0 (Python 3.7+ compatible)
- django>=1.8.8 → django>=3.2 (LTS, Python 3.8+ compatible)

The previous minimums were from 2013/2015 and incompatible with
the library's Python 3.9+ requirement.
@TheRealAgentK
TheRealAgentK requested a review from Copilot January 18, 2026 02:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the minimum versions of Flask and Django dependencies to ensure compatibility with the library's Python 3.9+ requirement. The previous minimum versions (Flask 0.10 from 2013 and Django 1.8.8 from 2015) were incompatible with Python 3.9+.

Changes:

  • Updated Flask minimum version from 0.10 to 2.0 (requires Python 3.7+)
  • Updated Django minimum version from 1.8.8 to 3.2 LTS (requires Python 3.8+)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TheRealAgentK
TheRealAgentK merged commit 5d70a5d into master Jan 20, 2026
8 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.

Requirements: Flask and Django versions

3 participants