Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add BeautifulSoup dependency for HTML parsing in tests
  • Loading branch information
dariomesic committed Oct 28, 2025
commit 801125b94355c7b79ea1c509d26f6277d4631866
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ test = [
"defusedxml>=0.7.1", # for secure XML/HTML parsing
"setuptools>=70.0", # for Cython compilation
"typing_extensions>=4.9", # for typing_extensions.Unpack
"beautifulsoup4>=4.12", # for HTML parsing in tests
]
translations = [
"babel>=2.13",
Expand Down
6 changes: 4 additions & 2 deletions tests/test_builders/test_build_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
from __future__ import annotations

import re
from typing import TYPE_CHECKING, Any
from typing import TYPE_CHECKING

import pytest
from bs4 import BeautifulSoup # type: ignore[import-not-found]
from bs4 import BeautifulSoup

if TYPE_CHECKING:
from typing import Any

from sphinx.testing.util import SphinxTestApp


Expand Down
Loading