Skip to content

Commit

Permalink
Chore: Unpin beautifulsoup4
Browse files Browse the repository at this point in the history
  • Loading branch information
izeigerman committed Feb 3, 2025
1 parent 3a37590 commit 9f3f0d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"agate==1.7.1",
f"apache-airflow=={os.environ.get('AIRFLOW_VERSION', '2.9.1')}",
"opentelemetry-proto==1.27.0", # pip was having trouble resolving this transitive dependency of airflow
"beautifulsoup4==4.12.3",
"beautifulsoup4",
"clickhouse-connect",
"cryptography",
"custom-materializations",
Expand Down
4 changes: 2 additions & 2 deletions tests/integrations/jupyter/test_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def convert_all_html_output_to_tags():
def _convert_html_to_tags(html: str) -> t.List[str]:
# BS4 automatically adds html and body tags so we remove those since they are not actually part of the output
return [
tag.name
tag.name # type: ignore
for tag in BeautifulSoup(html, "html").find_all()
if tag.name not in {"html", "body"}
if tag.name not in {"html", "body"} # type: ignore
]

def _convert(output: CapturedIO) -> t.List[t.List[str]]:
Expand Down

0 comments on commit 9f3f0d1

Please sign in to comment.