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

BeautifulSoup Warnings After Upgrading #47

Open
pype-leila opened this issue Feb 20, 2025 · 1 comment
Open

BeautifulSoup Warnings After Upgrading #47

pype-leila opened this issue Feb 20, 2025 · 1 comment

Comments

@pype-leila
Copy link

After installing this package in a clean virtual environment, I'm receiving a number of warnings related to BeautifulSoup, which isn't pinned to any particular version:

tests/integration/studio/test_studio_get_metadata.py::test_successful_request_empty[auth]
tests/integration/studio/test_studio_get_metadata.py::test_successful_request_empty[auth-disabled]
tests/integration/studio/test_studio_get_metadata.py::test_successful_request[auth]
tests/integration/studio/test_studio_get_metadata.py::test_successful_request[auth-disabled]
  /home/leilas/workspace/bots/bot-manager/venv_new/lib/python3.11/site-packages/metadata_parser/__init__.py:2245: DeprecationWarning: Call to deprecated method findAll. (Replaced by find_all) -- Deprecated since version 4.0.0.
    meta = doc_searchpath.findAll(name="meta")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

The warning isn't present in version 4.12.3 and is in 4.13.3.

@jvanasco
Copy link
Owner

Thanks for the report.

Version pinning was purposefully avoided for BeautifulSoup for a few reasons due to how they did releases - that will obviously no longer work.

I will probably do a version bump that pins BeautifulSoup4<4.15.0 tomorrow, then look into figuring out a long term solution. According to their changelog, these deprecations will be removed on 4.15.

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

No branches or pull requests

2 participants