Skip to content

fix: Handle ImportError for Django deprecation warnings - #1282

Merged
ahmed-arb merged 1 commit into
overhangio:mainfrom
feanil:patch-2
Oct 9, 2025
Merged

fix: Handle ImportError for Django deprecation warnings#1282
ahmed-arb merged 1 commit into
overhangio:mainfrom
feanil:patch-2

Conversation

@feanil

@feanil feanil commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

Wrap import and warning filter statements in a try-except block to handle potential ImportError gracefully. This can happen around django upgrade boundaries like the 4.2 -> 5.2 upgrade that's about to land.

Wrap import and warning filter statements in a try-except block to handle potential ImportError gracefully. This can happen around django upgrade boundaries like the 4.2 -> 5.2 upgrade that's about to land.

@ahmed-arb ahmed-arb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Merging this to main makes sense since Django 5.2 upgrade is coming with Ulmo (unless I'm mistaken).
It's a safe change, so no harm if it goes into the current release too, but priority should be main.

@feanil
feanil changed the base branch from release to main October 8, 2025 13:41
@feanil

feanil commented Oct 8, 2025

Copy link
Copy Markdown
Contributor Author

Updated the base to main for the PR.

@ahmed-arb
ahmed-arb merged commit b377403 into overhangio:main Oct 9, 2025
3 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Triage to Done in Tutor project management Oct 9, 2025
@feanil
feanil deleted the patch-2 branch October 9, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants