diff --git a/pccommon/requirements.txt b/pccommon/requirements.txt index a4b533e9..d4992e27 100644 --- a/pccommon/requirements.txt +++ b/pccommon/requirements.txt @@ -54,9 +54,10 @@ googleapis-common-protos==1.63.0 # via google-api-core html-sanitizer==2.4.0 # via pccommon (pccommon/setup.py) -idna==3.6 +idna==3.7 # via # anyio + # pccommon (pccommon/setup.py) # requests isodate==0.6.1 # via diff --git a/pccommon/setup.py b/pccommon/setup.py index b49207f9..cbcc29d4 100644 --- a/pccommon/setup.py +++ b/pccommon/setup.py @@ -17,6 +17,7 @@ "types-cachetools==4.2.9", "pyhumps==3.5.3", "redis==4.2.0-rc1", + "idna>=3.7.0", "html-sanitizer==2.4", # Soon available as lxml[html_clean] "lxml_html_clean==0.1.0", diff --git a/pcstac/requirements-server.txt b/pcstac/requirements-server.txt index 4f5bedfc..99f95af8 100644 --- a/pcstac/requirements-server.txt +++ b/pcstac/requirements-server.txt @@ -48,8 +48,10 @@ h11==0.14.0 # via uvicorn httptools==0.6.1 # via uvicorn -idna==3.6 - # via anyio +idna==3.7 + # via + # anyio + # pcstac (pcstac/setup.py) iso8601==1.1.0 # via stac-fastapi-types lark==0.12.0 diff --git a/pcstac/setup.py b/pcstac/setup.py index 0ad71ca0..70e60308 100644 --- a/pcstac/setup.py +++ b/pcstac/setup.py @@ -4,6 +4,7 @@ # Runtime requirements. inst_reqs = [ + "idna>=3.7.0", "stac-fastapi.api==2.4.8", "stac-fastapi.extensions==2.4.8", "stac-fastapi.pgstac==2.4.9", diff --git a/pctiler/requirements-dev.txt b/pctiler/requirements-dev.txt index e9c9e154..569cf82a 100644 --- a/pctiler/requirements-dev.txt +++ b/pctiler/requirements-dev.txt @@ -84,10 +84,11 @@ httpx==0.27.0 # via # cogeo-mosaic # rio-tiler -idna==3.6 +idna==3.7 # via # anyio # httpx + # pctiler (pctiler/setup.py) # requests jinja2==3.0.3 # via diff --git a/pctiler/requirements-server.txt b/pctiler/requirements-server.txt index e93d6da3..ee5ad6e6 100644 --- a/pctiler/requirements-server.txt +++ b/pctiler/requirements-server.txt @@ -92,10 +92,11 @@ httpx==0.27.0 # via # cogeo-mosaic # rio-tiler -idna==3.6 +idna==3.7 # via # anyio # httpx + # pctiler (pctiler/setup.py) # requests jinja2==3.0.3 # via diff --git a/pctiler/setup.py b/pctiler/setup.py index 0b2f3e1c..59ec46be 100644 --- a/pctiler/setup.py +++ b/pctiler/setup.py @@ -16,6 +16,7 @@ "boto3==1.34.71", "botocore==1.34.71", "pydantic==1.10.14", + "idna>=3.7.0", # titiler-pgstac "psycopg[binary,pool]", "titiler.pgstac==0.2.4", diff --git a/scripts/generate-requirements b/scripts/generate-requirements index 6110291f..dd5aa9cd 100755 --- a/scripts/generate-requirements +++ b/scripts/generate-requirements @@ -2,10 +2,6 @@ set -e -if [[ "${CI}" ]]; then - set -x -fi - echo "== Generating requirements.txt ..." pip_compile_options="--emit-index-url --annotate --verbose"