Skip to content

Commit

Permalink
chg: Bump bs4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Feb 3, 2025
1 parent e175722 commit 02e2cbe
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
2 changes: 1 addition & 1 deletion har2tree/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, capture_uuid: str, **kwargs: Any):
self.features_to_skip.add('ip_address')

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

def add_rendered_features(self, all_requests: list[str], rendered_html: BytesIO | None=None, downloaded_file: tuple[str, BytesIO | None] | None=None) -> None:
Expand Down
41 changes: 21 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "har2tree"
version = "1.27.7"
version = "1.27.8"
description = "HTTP Archive (HAR) to ETE Toolkit generator"
authors = [
{name="Raphaël Vinot", email="[email protected]"}
Expand All @@ -13,12 +13,14 @@ dynamic = [ "classifiers" ]

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

0 comments on commit 02e2cbe

Please sign in to comment.