Skip to content

vendor_eudsl: remove np.bool post-install patch#3007

Merged
hunhoffe merged 3 commits into
mainfrom
fix/remove-np-bool-vendor-patch
May 18, 2026
Merged

vendor_eudsl: remove np.bool post-install patch#3007
hunhoffe merged 3 commits into
mainfrom
fix/remove-np-bool-vendor-patch

Conversation

@hunhoffe
Copy link
Copy Markdown
Collaborator

Removes the post-install text-replacement workaround that patched np.bool → np.bool_ in the vendored eudsl code. The fix will hopefully live upstream in llvm/eudsl (pending llvm/eudsl#374).

Also remove the prefix/util_path derivation lines that existed solely to support this patch.

Note: update python/requirements.txt to pin the eudsl release that includes the upstream fix before merging.

@erwei-xilinx -- just tagging you so you see this too!

The root cause (np.bool used as a dict key in eudsl's mlir/extras/util.py)
has been fixed upstream in llvm/eudsl. Now that eudsl ships np.bool_ directly,
the post-install text-replacement workaround in vendor_eudsl.py is no longer
needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hunhoffe hunhoffe changed the title endor_eudsl: remove np.bool post-install patch vendor_eudsl: remove np.bool post-install patch Mar 27, 2026
@hunhoffe
Copy link
Copy Markdown
Collaborator Author

hunhoffe commented Mar 27, 2026

eudsl change is merged; this is now waiting for when eudsl is updated at next llvm update.

@hunhoffe hunhoffe added this to the IRON 1.3.2 milestone May 6, 2026
@hunhoffe hunhoffe marked this pull request as ready for review May 18, 2026 14:30
@hunhoffe hunhoffe added this pull request to the merge queue May 18, 2026
@hunhoffe hunhoffe removed this pull request from the merge queue due to a manual request May 18, 2026
@hunhoffe hunhoffe added this pull request to the merge queue May 18, 2026
Merged via the queue into main with commit 71e859d May 18, 2026
71 checks passed
@hunhoffe hunhoffe deleted the fix/remove-np-bool-vendor-patch branch May 18, 2026 21:42
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