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

Replace deprecated BS findAll with find_all + minor rune ups around #20

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

yarikoptic
Copy link
Contributor

Otherwise we get

INFO    -  DeprecationWarning: Call to deprecated method findAll. (Replaced by find_all) -- Deprecated since version 4.0.0.
             File "/home/yoh/venvs/dev3.12/lib/python3.12/site-packages/mkdocs_panzoom_plugin/html_page.py", line 70, in _find_elements
               output += self.soup.findAll(class_=selector.lstrip("."))
             File "/home/yoh/venvs/dev3.12/lib/python3.12/site-packages/bs4/_deprecation.py", line 56, in alias
               warnings.warn(

Otherwise we get

    INFO    -  DeprecationWarning: Call to deprecated method findAll. (Replaced by find_all) -- Deprecated since version 4.0.0.
                 File "/home/yoh/venvs/dev3.12/lib/python3.12/site-packages/mkdocs_panzoom_plugin/html_page.py", line 70, in _find_elements
                   output += self.soup.findAll(class_=selector.lstrip("."))
                 File "/home/yoh/venvs/dev3.12/lib/python3.12/site-packages/bs4/_deprecation.py", line 56, in alias
                   warnings.warn(
@PLAYG0N
Copy link
Owner

PLAYG0N commented Feb 24, 2025

thanks

@PLAYG0N PLAYG0N merged commit 2814adb into PLAYG0N:main Feb 24, 2025
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