Uh oh!
There was an error while loading. Please reload this page.
Use correct name for Beautiful Soup in dependencies - #1296
Conversation
As noted at https://pypi.org/project/bs4/, the official name of the Beautiful Soup package is beautifulsoup4, while bs4 is just an alias. In distribution packaging (such as Fedora) the package may not be available under this alias, so it's better to use the official name. Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
codecov-commenter
commented
Jan 16, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@## master #1296 +/- ##
=======================================
Coverage 34.36% 34.36% =======================================
Files 45 45 Lines 8241 8241 Branches 1146 1146 =======================================
Hits 2832 2832 Misses 5295 5295 Partials 114 114 ☔ View full report in Codecov by Sentry. |
gonchik
commented
Jan 16, 2024
Thanks, I have not known |
FCamborda
commented
Jan 16, 2024
This should've been added to |
WOnder93
commented
Jan 16, 2024
|
gsemet
commented
Jan 16, 2024
The official package is "beautifulsoup4", yes, but the module inside is bs4. does not work. It should be: See the official documentation: |
FCamborda
commented
Jan 16, 2024
Exactly, that's the issue. The import statement should be |
alexandre-fabra
commented
Jan 16, 2024
This is the new error message with 3.41.6: |
alonsomoya
commented
Jan 16, 2024
same here |
OmerFarukMerey
commented
Jan 16, 2024
gsemet
commented
Jan 16, 2024
not difficult, just follow the doc |
This is not an useful comment. The problem still arises. |
zbika73
commented
Jan 16, 2024
Check this PR addressing |


As noted at https://pypi.org/project/bs4/, the official name of the Beautiful Soup package is beautifulsoup4, while bs4 is just an alias. In distribution packaging (such as Fedora) the package may not be available under this alias, so it's better to use the official name.