-
Notifications
You must be signed in to change notification settings - Fork 27
Enhancement: Add Python 3.12 and 3.13 #159
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
base: main
Are you sure you want to change the base?
Conversation
…ansion Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…rough an exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
jenniferjiangkells
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach looks sound to me. The most important thing is that it's backward compatible with the cookbook examples and sets up a solid foundation for future improvements, and this ticks the box.
I've made some general comments, but tbh the only change absolutely needed is removing spyne as a dependency in the pyproject.toml.
| # For FastAPI apps, use mount | ||
| self.mount(mount_path, router_or_app) | ||
| endpoints_registry[service_name].add(f"MOUNTED:{mount_path}") | ||
| logger.info(f"✅ Mounted app {service_name} at {mount_path}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logs
Description
This PR adds functionality for python 3.12
Address #127
This is achieved by removing Spyne as a dependency for SOAP servers.
In particular, we add a FastAPI server and a WSDL file while removing spyne and associated files.
Changes Made
Python 3.12 is added as an acceptable python version. The ci/cd will now additionally run on 3.12 as a test version. The publishing of the package will also be done on 3.12
Testing
Vibe coded tests were run, existing tests were modified to run on new code.
Additionally the Cookbook example for connecting to Medplum was confirmed to run and give the same output before and after.
Checklist