Skip to content

Fix: remove PETSc stub for tmp. typing fix#1004

Merged
mscroggs merged 3 commits into
mainfrom
schnellerhase/mypy-workaround
May 15, 2026
Merged

Fix: remove PETSc stub for tmp. typing fix#1004
mscroggs merged 3 commits into
mainfrom
schnellerhase/mypy-workaround

Conversation

@schnellerhase
Copy link
Copy Markdown
Contributor

@schnellerhase schnellerhase commented May 2, 2026

Pulls in workaround from fenics-dolfiny/dolfiny@a33092c for dolfinx not having caught up with new PETSc stubs.

(The underlying issue why this is not a problem in doflinx is that this runs the mypy check without venv on a full blown PETSc aware install - dolfinx is currently missing this)

Ref FEniCS/dolfinx#4059 (comment).

Depends on FEniCS/dolfinx#4216.

(To make PETSc aware typing checks work here, we need FEniCS/dolfinx#4095)

@schnellerhase schnellerhase added CI Continuous integration type-hints Python type hinting labels May 2, 2026
@schnellerhase schnellerhase changed the title Fix: remove PETSc stub for tmp fix Fix: remove PETSc stub for tmp. typing fix May 15, 2026
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-workaround branch from 8a0ea70 to 1e814b7 Compare May 15, 2026 09:56
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-workaround branch from 1e814b7 to 0b890de Compare May 15, 2026 09:59
@schnellerhase schnellerhase marked this pull request as ready for review May 15, 2026 10:18
Comment thread .github/workflows/dolfinx-tests.yml Outdated
@schnellerhase schnellerhase self-assigned this May 15, 2026
@mscroggs
Copy link
Copy Markdown
Member

Do we need to open a housekeeping issue to remind us to remove this later, or is it covered by FEniCS/dolfinx#4059?

@schnellerhase
Copy link
Copy Markdown
Contributor Author

Good idea, tracked there.

Merged via the queue into main with commit 8d76452 May 15, 2026
30 checks passed
@mscroggs mscroggs deleted the schnellerhase/mypy-workaround branch May 15, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration type-hints Python type hinting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants