Skip to content

update swig#140

Merged
karosc merged 1 commit into
pyswmm:devfrom
karosc:dev_update_swig
Aug 31, 2025
Merged

update swig#140
karosc merged 1 commit into
pyswmm:devfrom
karosc:dev_update_swig

Conversation

@karosc

@karosc karosc commented Aug 31, 2025

Copy link
Copy Markdown
Member

This pull request includes updates to support using newer versions of swig. As time marches on, it gets more difficult to rely on older versions of software build tools like swig. We currently depend on 4.0.2 since more recent versions are not compatible with our configuration.

The main addition in this PR is a monkey patch to swig that reverts a breaking change for us made in 4.3. Also, calls to SWIG_Python_AppendOutput have been replaced with SWIG_AppendOutput per the recommendation in the swig release notes on 2024-10-05

@michaeltryby

Copy link
Copy Markdown
Collaborator

@karosc Awesome work! Thanks for contributing this patch

@karosc
karosc merged commit 2dd627c into pyswmm:dev Aug 31, 2025
3 checks passed
@karosc
karosc deleted the dev_update_swig branch September 10, 2025 00:35
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.

3 participants