From ef728664977001b33bf061e923321e79ae2d2201 Mon Sep 17 00:00:00 2001 From: Gustavo Hidalgo Date: Mon, 1 Apr 2024 09:56:10 -0400 Subject: [PATCH 1/2] update html-sanitizer --- pccommon/setup.py | 2 +- pcstac/requirements.txt | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/pccommon/setup.py b/pccommon/setup.py index d330ecba..2cc84245 100644 --- a/pccommon/setup.py +++ b/pccommon/setup.py @@ -17,7 +17,7 @@ "types-cachetools==4.2.9", "pyhumps==3.5.3", "redis==4.2.0-rc1", - "html-sanitizer==1.9", + "html-sanitizer==2.4", ] extra_reqs = { diff --git a/pcstac/requirements.txt b/pcstac/requirements.txt index 9e72c0dc..b768d2b4 100644 --- a/pcstac/requirements.txt +++ b/pcstac/requirements.txt @@ -87,7 +87,7 @@ googleapis-common-protos==1.59.1 # via google-api-core h11==0.14.0 # via uvicorn -html-sanitizer==1.9.0 +html-sanitizer==2.4.0 # via pccommon (pccommon/setup.py) httptools==0.5.0 # via uvicorn @@ -101,7 +101,7 @@ isodate==0.6.1 # via msrest lark==0.12.0 # via pygeofilter -lxml==4.9.2 +lxml[html-clean]==5.2.0 # via html-sanitizer msal==1.22.0 # via @@ -143,9 +143,7 @@ protobuf==4.23.2 psutil==5.9.5 # via opencensus-ext-azure psycopg[binary]==3.1.9 - # via - # psycopg - # pypgstac + # via pypgstac psycopg-binary==3.1.9 # via psycopg psycopg-pool==3.1.7 @@ -182,7 +180,6 @@ pyjwt[crypto]==2.7.0 pypgstac[psycopg]==0.7.9 # via # pcstac (pcstac/setup.py) - # pypgstac # stac-fastapi-pgstac pystac==1.9.0 # via @@ -281,9 +278,7 @@ urllib3==1.26.16 # google-auth # requests uvicorn[standard]==0.17.6 - # via - # pcstac (pcstac/setup.py) - # uvicorn + # via pcstac (pcstac/setup.py) uvloop==0.17.0 # via uvicorn version-parser==1.0.1 From 59b047dc4d842de5c5ba760f7fbd1986d453b1dd Mon Sep 17 00:00:00 2001 From: Gustavo Hidalgo Date: Mon, 1 Apr 2024 10:15:07 -0400 Subject: [PATCH 2/2] depend on the right lxmlx --- pccommon/setup.py | 2 ++ pcstac/requirements.txt | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pccommon/setup.py b/pccommon/setup.py index 2cc84245..60cc7e8e 100644 --- a/pccommon/setup.py +++ b/pccommon/setup.py @@ -18,6 +18,8 @@ "pyhumps==3.5.3", "redis==4.2.0-rc1", "html-sanitizer==2.4", + # Soon available as lxml[html_clean] + "lxml_html_clean==0.1.0", ] extra_reqs = { diff --git a/pcstac/requirements.txt b/pcstac/requirements.txt index b768d2b4..48f38069 100644 --- a/pcstac/requirements.txt +++ b/pcstac/requirements.txt @@ -102,7 +102,11 @@ isodate==0.6.1 lark==0.12.0 # via pygeofilter lxml[html-clean]==5.2.0 - # via html-sanitizer + # via + # html-sanitizer + # lxml-html-clean +lxml-html-clean==0.1.0 + # via pccommon (pccommon/setup.py) msal==1.22.0 # via # azure-identity