Skip to content

[py-libpysal] Depend on py-beautifulsoup4 - #306

Merged
3nids merged 2 commits into
mainfrom
py-libpysal-bs4
Nov 6, 2026
Merged

3nids merged 2 commits into
mainfrom
py-libpysal-bs4

Conversation

@3nids

@3nids 3nids commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

libpysal requires beautifulsoup4 (beautifulsoup4>=4.13.0) and imports it in libpysal.examples, which import libpysal loads. The port didn't declare it, so it only built when py-beautifulsoup4 happened to be installed first. Otherwise its import test fails with ModuleNotFoundError: No module named 'bs4'. The other requirements in libpysal's metadata are already declared.

Tested on an arm64 Mac, cross-building x64-osx-dynamic-release with the #299/#300/#302 stack: with bs4 removed, installing only py-libpysal builds py-beautifulsoup4 first, and libpysal and pysal import. That tree also had #305 (soupsieve), but this PR doesn't depend on it.

@3nids
3nids enabled auto-merge (squash) November 6, 2026 05:44
@3nids
3nids merged commit 2539e50 into main Nov 6, 2026
5 checks passed
@3nids
3nids deleted the py-libpysal-bs4 branch November 6, 2026 06:04
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.

1 participant