Skip to content

Update python wrappers #495

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

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft

Update python wrappers #495

wants to merge 5 commits into from

Conversation

Sichao25
Copy link
Contributor

The Python wrappers have been out of date for some time and were only compatible with older versions of PUMI. This PR addresses several related issues:

  • Updates deprecated APIs in the interface files.
  • Comment out a few lines in the preprocessor to avoid a parsing problem in SWIG (other workarounds may also be possible).
  • Updates the Python test scripts accordingly.
  • Adds a .smd file as an alternative to .x_t to adapt to different versions of Simmetrix.
  • Adds a new CI workflow that builds and runs the Python test script without requiring Simmetrix.

@cwsmith
Copy link
Contributor

cwsmith commented Jun 13, 2025

Thank you @Sichao25 . Regarding the pre-processor issue, does the following SO post help?
https://stackoverflow.com/questions/11403520/preprocessor-macro-in-swig

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.

2 participants