Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 compatibility issue: spyne.util.six.moves not found #711

Open
MattiasBilaj opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@MattiasBilaj
Copy link

Hello Spyne maintainers,

I've encountered a compatibility issue when using Spyne with Python 3.12. The problem occurs because Python 3.12 no longer includes the six library, causing the following import to fail:

from spyne.util.six.moves.collections_abc import MutableSet

This results in a ModuleNotFoundError: No module named 'spyne.util.six.moves'.

To address this, I've submitted a pull request

from collections.abc import MutableSet

This change should maintain backwards compatibility while fixing the issue for Python 3.12 users.
I would appreciate if you could review this change and consider merging it to improve Spyne's compatibility with the latest Python version.
Thank you for your time and for maintaining this valuable library.
Best regards,
Mattias Bilaj
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

No branches or pull requests

1 participant