Skip to content

fix: Correct pyo3 module definitions and add missing exception class export#2964

Merged
maximilianruesch merged 20 commits intomainfrom
mr/feat/py-linking
Mar 18, 2026
Merged

fix: Correct pyo3 module definitions and add missing exception class export#2964
maximilianruesch merged 20 commits intomainfrom
mr/feat/py-linking

Conversation

@maximilianruesch
Copy link
Contributor

Does:

  • Correct / add missing parent module names to the existing modules (as far as I know this is mainly for the specifier displayed when printing the module in e.g. a Python REPL)
  • Correct module definitions for exception classes (again, I think this only has display / introspection impact)
  • Add a missing reexport of an exception class in the linking module (and add a test for it from Python to ensure it exists).

Related to #2947

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.87%. Comparing base (1d6af9a) to head (50728da).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2964   +/-   ##
=======================================
  Coverage   83.87%   83.87%           
=======================================
  Files         267      267           
  Lines       52943    52943           
  Branches    46857    46857           
=======================================
  Hits        44408    44408           
  Misses       6266     6266           
  Partials     2269     2269           
Flag Coverage Δ
python 88.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maximilianruesch maximilianruesch added this pull request to the merge queue Mar 18, 2026
Merged via the queue into main with commit 3df73f4 Mar 18, 2026
29 checks passed
@maximilianruesch maximilianruesch deleted the mr/feat/py-linking branch March 18, 2026 15:55
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