Skip to content

Conversation

c00kiemon5ter
Copy link
Member

@c00kiemon5ter c00kiemon5ter commented Oct 7, 2025

Closes #976

Continuation of #978

Description

I recently wrote a blog post demonstrating how to use Django as a service provider, with pysaml2 serving as an example IdP. A reader has since pointed out that it doesn’t work with Python 3.13.

The feature or problem addressed by this PR

After some investigation, I found two issues:

What your changes do and why you chose this solution

This PR removes remaining usages of the deprecated cgi module and uses dbm.gnu as the default dbm backend which is used by _shelve_compat.

Checklist

  • Checked that no other issues or pull requests exist for the same issue/change
  • Added tests covering the new functionality
  • Updated documentation OR the change is too minor to be documented
  • Updated CHANGELOG.md OR changes are insignificant

ephes added 2 commits October 7, 2025 20:33
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
@c00kiemon5ter c00kiemon5ter merged commit c3ec719 into master Oct 7, 2025
2 checks passed
@c00kiemon5ter c00kiemon5ter deleted the py13-compat branch October 7, 2025 19:31
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.

Python 3.13 Compatibility

2 participants