diff --git a/iceprod/scheduled_tasks/dataset_monitor.py b/iceprod/scheduled_tasks/dataset_monitor.py index c8554419..225e22d9 100644 --- a/iceprod/scheduled_tasks/dataset_monitor.py +++ b/iceprod/scheduled_tasks/dataset_monitor.py @@ -154,8 +154,9 @@ def main(): rest_client = create_rest_client(args) - logging.info("starting prometheus on {}", args.prometheus_port) - start_http_server(args.prometheus_port) + if args.prometheus_port: + logging.info("starting prometheus on {}", args.prometheus_port) + start_http_server(int(args.prometheus_port)) i = Info('iceprod', 'IceProd information') i.info({ 'version': version_string, diff --git a/requirements-docs.txt b/requirements-docs.txt index 3dcb0b14..13ee6816 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -14,11 +14,11 @@ attrs==25.1.0 # via # jsonschema # referencing -babel==2.16.0 +babel==2.17.0 # via sphinx -boto3==1.36.8 +boto3==1.36.14 # via iceprod (setup.py) -botocore==1.36.8 +botocore==1.36.14 # via # boto3 # s3transfer @@ -27,7 +27,7 @@ cachetools==5.5.1 # asyncache # iceprod (setup.py) # wipac-rest-tools -certifi==2024.12.14 +certifi==2025.1.31 # via # httpcore # httpx @@ -77,7 +77,7 @@ ldap3==2.9.1 # via iceprod (setup.py) markupsafe==3.0.2 # via jinja2 -motor==3.6.1 +motor==3.7.0 # via iceprod (setup.py) packaging==24.2 # via sphinx @@ -93,7 +93,7 @@ pygments==2.19.1 # via sphinx pyjwt[crypto]==2.10.1 # via wipac-rest-tools -pymongo==4.9.2 +pymongo==4.11 # via # iceprod (setup.py) # motor diff --git a/requirements-tests.txt b/requirements-tests.txt index ab09694d..5cce7072 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -12,13 +12,13 @@ attrs==25.1.0 # via # jsonschema # referencing -beautifulsoup4==4.12.3 +beautifulsoup4==4.13.3 # via iceprod (setup.py) -boto3==1.36.8 +boto3==1.36.14 # via # iceprod (setup.py) # moto -botocore==1.36.8 +botocore==1.36.14 # via # boto3 # moto @@ -28,7 +28,7 @@ cachetools==5.5.1 # asyncache # iceprod (setup.py) # wipac-rest-tools -certifi==2024.12.14 +certifi==2025.1.31 # via # httpcore # httpx @@ -95,9 +95,9 @@ mccabe==0.7.0 # via flake8 mock==5.1.0 # via iceprod (setup.py) -moto[s3]==5.0.27 +moto[s3]==5.0.28 # via iceprod (setup.py) -motor==3.6.1 +motor==3.7.0 # via iceprod (setup.py) packaging==24.2 # via pytest @@ -119,7 +119,7 @@ pyflakes==3.2.0 # via flake8 pyjwt[crypto]==2.10.1 # via wipac-rest-tools -pymongo==4.9.2 +pymongo==4.11 # via # iceprod (setup.py) # motor @@ -204,6 +204,7 @@ types-requests==2.32.0.20241016 typing-extensions==4.12.2 # via # anyio + # beautifulsoup4 # pyopenssl # referencing # wipac-dev-tools diff --git a/requirements.txt b/requirements.txt index 36820b4f..54852da1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,9 +12,9 @@ attrs==25.1.0 # via # jsonschema # referencing -boto3==1.36.8 +boto3==1.36.14 # via iceprod (setup.py) -botocore==1.36.8 +botocore==1.36.14 # via # boto3 # s3transfer @@ -23,7 +23,7 @@ cachetools==5.5.1 # asyncache # iceprod (setup.py) # wipac-rest-tools -certifi==2024.12.14 +certifi==2025.1.31 # via # httpcore # httpx @@ -65,7 +65,7 @@ jsonschema-specifications==2024.10.1 # via jsonschema ldap3==2.9.1 # via iceprod (setup.py) -motor==3.6.1 +motor==3.7.0 # via iceprod (setup.py) prometheus-client==0.21.1 # via iceprod (setup.py) @@ -77,7 +77,7 @@ pycparser==2.22 # via cffi pyjwt[crypto]==2.10.1 # via wipac-rest-tools -pymongo==4.9.2 +pymongo==4.11 # via # iceprod (setup.py) # motor