Skip to content

lots of swig warnings running pytest #1201

@schaubh

Description

@schaubh

Describe the issue
When compiling with Python 3.11-3.13 and swig 4.2.1 to 4.3.1 we get lots of swig warnings when running

To reproduce
Steps to reproduce the behavior:

  1. Do clean build with Python 3.13
  2. run pytest -n auto src/tests/test_scenarioTest.py
  3. See lots of warnings about DeprecationWarning: builtin type swigvarlink has no __module__ attribute

Expected behavior
We should not be seeing these warnings.

Desktop (please complete the following information):

  • OS: macOS Tahoe
  • Version 26.2
  • Python version 3.11 to 3.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions