Skip to content

Commit 02e2cbe

Browse files
committed
chg: Bump bs4
1 parent e175722 commit 02e2cbe

File tree

3 files changed

+29
-26
lines changed

3 files changed

+29
-26
lines changed

har2tree/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(self, capture_uuid: str, **kwargs: Any):
8484
self.features_to_skip.add('ip_address')
8585

8686
def _compute_domhash(self) -> str:
87-
to_hash = "|".join(t.name for t in self.rendered_soup.findAll()).encode()
87+
to_hash = "|".join(t.name for t in self.rendered_soup.find_all()).encode()
8888
return sha256(to_hash).hexdigest()[:32]
8989

9090
def add_rendered_features(self, all_requests: list[str], rendered_html: BytesIO | None=None, downloaded_file: tuple[str, BytesIO | None] | None=None) -> None:

poetry.lock

Lines changed: 21 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "har2tree"
3-
version = "1.27.7"
3+
version = "1.27.8"
44
description = "HTTP Archive (HAR) to ETE Toolkit generator"
55
authors = [
66
{name="Raphaël Vinot", email="[email protected]"}
@@ -13,12 +13,14 @@ dynamic = [ "classifiers" ]
1313

1414
dependencies = [
1515
"ete3 (>=3.1.3)",
16-
"beautifulsoup4 [lxml,charset_normalizer] (>=4.12.3)",
17-
"publicsuffixlist (>=1.0.2.20250127)",
16+
"beautifulsoup4[charset-normalizer,lxml] (>=4.13.1)",
17+
"publicsuffixlist (>=1.0.2.20250202)",
1818
"filetype (>=1.2.0)",
19-
"numpy (<2.1) ; python_version == \"3.9\"",
19+
# poetry up fails with the version of numpy forced for python < 3.10.
20+
# The work around is to comment it, run poetry up, uncomment it. and run poetry update.
21+
"numpy (<=2.1) ; python_version == \"3.9\"",
2022
"numpy (>=2.2.2) ; python_version >= \"3.10\"",
21-
"w3lib (>=2.2.1)",
23+
"w3lib (>=2.3.1)",
2224
"tinycss2 (>=1.4.0)",
2325
"legacy-cgi (>=2.6.2) ; python_version >= \"3.13,<4.0\"",
2426
]

0 commit comments

Comments
 (0)