From 8436378aeebd38884c4297ebddbac9fc332824b6 Mon Sep 17 00:00:00 2001 From: Gustavo Hidalgo Date: Mon, 1 Apr 2024 10:25:29 -0400 Subject: [PATCH] Fix LXML CI build break (#195) --- pccommon/setup.py | 4 +++- pcstac/requirements.txt | 19 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/pccommon/setup.py b/pccommon/setup.py index d330ecba..60cc7e8e 100644 --- a/pccommon/setup.py +++ b/pccommon/setup.py @@ -17,7 +17,9 @@ "types-cachetools==4.2.9", "pyhumps==3.5.3", "redis==4.2.0-rc1", - "html-sanitizer==1.9", + "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 9e72c0dc..48f38069 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,8 +101,12 @@ isodate==0.6.1 # via msrest lark==0.12.0 # via pygeofilter -lxml==4.9.2 - # via html-sanitizer +lxml[html-clean]==5.2.0 + # via + # html-sanitizer + # lxml-html-clean +lxml-html-clean==0.1.0 + # via pccommon (pccommon/setup.py) msal==1.22.0 # via # azure-identity @@ -143,9 +147,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 +184,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 +282,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