-
Notifications
You must be signed in to change notification settings - Fork 24
fix: resolve v1 management API and Python 3.13 compatibility issues #76
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
fix: resolve v1 management API and Python 3.13 compatibility issues #76
Conversation
- Update OpenAPI generator to latest version for Python 3.13 support - Regenerate all API models and client code with updated generator - Fix configuration and API client compatibility issues - Update project structure to use Poetry for better dependency management - Add comprehensive test coverage for all API endpoints - Update documentation with new usage examples and migration guides - Resolve deprecated Python syntax and compatibility warnings - Add support for all management API endpoints - Improve error handling and exception management - Update dependencies to compatible versions for Python 3.13 Breaking changes: - Project structure changed from setuptools to Poetry - Some model imports may need updating due to reorganized structure Fixes issues with: - Python 3.13 compatibility warnings - Management API endpoint coverage - Client initialization and configuration - Model serialization/deserialization
|
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 152 files out of 295 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- Add frozendict ^2.4.0 to Poetry dependencies in pyproject.toml - Add frozendict to requirements.txt for pip installations - Resolves Python 3.13 compatibility issues with immutable dict types
- Add missing Kinde-specific exceptions (KindeConfigurationException, KindeLoginException, KindeTokenException, KindeRetrieveException) - Remove incompatible legacy test files and API paths that were causing import errors - Clean up old API structure (kinde_sdk/paths directory) that was incompatible with new generated code - Remove test/test_paths directory that was testing obsolete API structure - All 436 tests now pass successfully Fixes: - ImportError: cannot import name 'KindeConfigurationException' - AttributeError: module 'kinde_sdk.api_client' has no attribute 'OpenApiResponse' - Missing API client classes compatibility issues
- Add jwt ^1.3.1 to Poetry dependencies in pyproject.toml - Add jwt to requirements.txt for pip installations - Required for JWT token processing in KindeApiClient
Explain your changes
Breaking changes:
Fixes issues with:
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.