Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BS4 (beautifulsoup4) dependency is missing the new "soupsieve" sub-dependency #166

Open
polyglot-jones opened this issue Apr 4, 2024 · 1 comment · Fixed by packagecontrol/channel#6

Comments

@polyglot-jones
Copy link

I have a package that specifies "bs4" (beautiful soup html scraper) in dependencies.json. My package worked until a month ago. Today, it fails with "Cannot execute CSS selectors because the soupsieve package is not installed." When I do Package Control: Satisfy Libraries, I get "Package Control: Installed library "beautifulsoup4" 4.12.3 for Python 3.8" which is the latest and greatest version of beautifulsoup4, which apparently now requires a new library called soupsieve.

The problem is that "https://packagecontrol.github.io/channel/channel_v4.json" (as of just now, 4/3/2024) refers to "https://files.pythonhosted.org/packages/b1/fe/e8c672695b37eecc5cbf43e1d0638d88d66ba3a44c4d321c796f4e59167f/beautifulsoup4-4.12.3-py3-none-any.whl", but it makes no mention to the now-required soupsieve wheel.

@FichteFoll
Copy link
Contributor

FichteFoll commented Apr 7, 2024

Indeed, the latest version of bs4 (and most likely earlier ones as well) requires soupsieve, which is currently not available as a dependencylibrary for PC. I've submitted a PR for it. Once it is merged, you should be able to also add soupsieve to your requirements (for the 3.8 host, i.e. ST4, only).

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 a pull request may close this issue.

2 participants