Skip to content

Commit

Permalink
Modify nersc_controller to avoid getting OOM killed (#272)
Browse files Browse the repository at this point in the history
* Modify nersc_controller to avoid getting OOM killed
* Pacify CI/CD
  • Loading branch information
blinkdog authored Jan 11, 2024
1 parent 1d39a31 commit 6fa23c5
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 108 deletions.
7 changes: 7 additions & 0 deletions lta.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"folders": [
{
"path": "."
}
]
}
4 changes: 2 additions & 2 deletions lta/lta_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,9 @@ async def catalog_path(args: Namespace) -> ExitCode:
"""Display records by path from the File Catalog."""
# if the user didn't specify a path
if not args.path:
print(f"Missing path")
print("Missing path")
return EXIT_ERROR

# if the user specified a site
site = "WIPAC"
if args.site:
Expand Down
86 changes: 45 additions & 41 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ backoff==2.2.1
# opentelemetry-exporter-otlp-proto-http
binpacking==1.5.2
# via lta (setup.py)
cachetools==5.3.1
cachetools==5.3.2
# via wipac-rest-tools
certifi==2023.7.22
certifi==2023.11.17
# via requests
cffi==1.16.0
# via cryptography
charset-normalizer==3.3.0
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
Expand All @@ -30,120 +30,124 @@ colorama==0.4.6
# lta (setup.py)
coloredlogs==15.0.1
# via wipac-telemetry
coverage[toml]==7.3.2
# via pytest-cov
coverage[toml]==7.4.0
# via
# coverage
# pytest-cov
crayons==0.4.0
# via pycycle
cryptography==41.0.4
cryptography==41.0.7
# via pyjwt
deprecated==1.2.14
# via
# opentelemetry-api
# opentelemetry-exporter-otlp-proto-http
dnspython==2.4.2
# via pymongo
exceptiongroup==1.1.3
exceptiongroup==1.2.0
# via pytest
flake8==6.1.0
flake8==7.0.0
# via lta (setup.py)
future==0.18.3
# via binpacking
googleapis-common-protos==1.56.2
googleapis-common-protos==1.59.1
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-otlp-proto-http
grpcio==1.59.0
grpcio==1.60.0
# via opentelemetry-exporter-jaeger-proto-grpc
humanfriendly==10.0
# via coloredlogs
hurry-filesize==0.9
# via lta (setup.py)
idna==3.4
idna==3.6
# via requests
importlib-metadata==6.8.0
importlib-metadata==6.11.0
# via opentelemetry-api
iniconfig==2.0.0
# via pytest
jinja2==3.1.2
jinja2==3.1.3
# via click-completion
markupsafe==2.1.3
# via jinja2
mccabe==0.7.0
# via flake8
motor==3.3.1
motor==3.3.2
# via lta (setup.py)
mypy==1.5.1
mypy==1.8.0
# via lta (setup.py)
mypy-extensions==1.0.0
# via mypy
opentelemetry-api==1.20.0
opentelemetry-api==1.22.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# opentelemetry-sdk
# wipac-telemetry
opentelemetry-exporter-jaeger==1.20.0
opentelemetry-exporter-jaeger==1.21.0
# via wipac-telemetry
opentelemetry-exporter-jaeger-proto-grpc==1.20.0
opentelemetry-exporter-jaeger-proto-grpc==1.21.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-jaeger-thrift==1.20.0
opentelemetry-exporter-jaeger-thrift==1.21.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-otlp-proto-common==1.20.0
opentelemetry-exporter-otlp-proto-common==1.22.0
# via opentelemetry-exporter-otlp-proto-http
opentelemetry-exporter-otlp-proto-http==1.20.0
opentelemetry-exporter-otlp-proto-http==1.22.0
# via wipac-telemetry
opentelemetry-proto==1.20.0
opentelemetry-proto==1.22.0
# via
# opentelemetry-exporter-otlp-proto-common
# opentelemetry-exporter-otlp-proto-http
opentelemetry-sdk==1.20.0
opentelemetry-sdk==1.22.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# wipac-telemetry
opentelemetry-semantic-conventions==0.41b0
opentelemetry-semantic-conventions==0.43b0
# via opentelemetry-sdk
packaging==23.2
# via pytest
pluggy==1.3.0
# via pytest
prometheus-client==0.17.1
prometheus-client==0.19.0
# via lta (setup.py)
protobuf==3.20.3
protobuf==4.25.2
# via
# googleapis-common-protos
# opentelemetry-proto
# wipac-telemetry
pycodestyle==2.11.0
pycodestyle==2.11.1
# via flake8
pycparser==2.21
# via cffi
pycycle==0.0.8
# via lta (setup.py)
pyflakes==3.1.0
pyflakes==3.2.0
# via flake8
pyjwt[crypto]==2.8.0
# via wipac-rest-tools
pymongo==4.5.0
# via
# pyjwt
# wipac-rest-tools
pymongo==4.6.1
# via
# lta (setup.py)
# motor
pypng==0.20220715.0
# via qrcode
pytest==7.4.2
pytest==7.4.4
# via
# lta (setup.py)
# pycycle
# pytest-asyncio
# pytest-cov
# pytest-mock
pytest-asyncio==0.21.1
pytest-asyncio==0.23.3
# via lta (setup.py)
pytest-cov==4.1.0
# via lta (setup.py)
pytest-mock==3.11.1
pytest-mock==3.12.0
# via lta (setup.py)
qrcode==7.4.2
# via wipac-rest-tools
Expand All @@ -156,7 +160,7 @@ requests==2.31.0
# wipac-rest-tools
requests-futures==1.0.1
# via wipac-rest-tools
shellingham==1.5.3
shellingham==1.5.4
# via click-completion
six==1.16.0
# via
Expand All @@ -169,34 +173,34 @@ tomli==2.0.1
# coverage
# mypy
# pytest
tornado==6.3.3
tornado==6.4
# via
# lta (setup.py)
# wipac-rest-tools
types-requests==2.31.0.8
types-requests==2.31.0.20240106
# via lta (setup.py)
typing-extensions==4.8.0
typing-extensions==4.9.0
# via
# mypy
# opentelemetry-sdk
# qrcode
# wipac-dev-tools
# wipac-telemetry
urllib3==2.0.6
urllib3==2.1.0
# via
# requests
# types-requests
# wipac-rest-tools
wipac-dev-tools==1.7.0
wipac-dev-tools==1.8.2
# via
# lta (setup.py)
# wipac-rest-tools
# wipac-telemetry
wipac-rest-tools==1.5.3
wipac-rest-tools==1.6.0
# via lta (setup.py)
wipac-telemetry==0.3.0
# via lta (setup.py)
wrapt==1.15.0
wrapt==1.16.0
# via deprecated
zipp==3.17.0
# via importlib-metadata
Expand Down
Loading

0 comments on commit 6fa23c5

Please sign in to comment.