File tree Expand file tree Collapse file tree 4 files changed +18
-19
lines changed
Expand file tree Collapse file tree 4 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ RUN <<EOT
4646 set -ex
4747 python3 -m venv /root/ansible_env
4848 source /root/ansible_env/bin/activate
49- pip3 install -r celery.txt ansible-core==2.12.10
49+ pip3 install -r celery.txt ansible-core==2.15.12
5050EOT
5151
5252RUN <<EOT
Original file line number Diff line number Diff line change 1010import urllib .parse
1111from threading import Event
1212
13+ import jwt
1314from celery .contrib .abortable import AbortableAsyncResult
1415from celery .exceptions import TimeoutError
1516from celery .states import READY_STATES , RECEIVED , STARTED
2122)
2223from fastapi .responses import JSONResponse
2324from fastapi .security import HTTPBearer
24- from jose import JWTError , jwt
2525from sqlalchemy import select
2626
2727from alts .scheduler import CONFIG
@@ -213,7 +213,7 @@ async def authenticate_user(credentials: str = Depends(http_bearer_scheme)):
213213 CONFIG .jwt_secret ,
214214 algorithms = [CONFIG .hashing_algorithm ],
215215 )
216- except JWTError :
216+ except jwt . PyJWTError :
217217 raise HTTPException (
218218 status_code = status .HTTP_401_UNAUTHORIZED ,
219219 detail = "Could not validate credentials" ,
Original file line number Diff line number Diff line change 1- PyYAML==6.0.1
2- asyncssh==2.14.2
1+ PyYAML==6.0.2
2+ asyncssh==2.17.0
33azure-storage-blob==12.19.0
44boto3==1.34.40
5- celery[redis]==5.3.6
5+ celery[redis]==5.4.0
66cryptography==43.0.1
7- filelock==3.13 .1
7+ filelock==3.16 .1
88filesplit==3.0.2,<4.0
9- librabbitmq==2.0.0
10- mako==1.3.2
11- plumbum==1.8.2
12- pulpcore-client==3.45.2
13- pydantic==2.6.1
14- pyone==6.8.1
15- requests==2.32.2
9+ mako==1.3.5
10+ plumbum==1.8.3
11+ pulpcore-client==3.61.0
12+ pydantic==2.9.2
13+ pyone==6.10.0
14+ requests==2.32.3
1615syncer==2.0.3
1716tap.py==3.1
Original file line number Diff line number Diff line change 11-r base.txt
2- SQLAlchemy==1.4.51
3- aiohttp==3.10.2
2+ SQLAlchemy==1.4.54
3+ aiohttp==3.10.5
44databases[sqlite]==0.8.0
5- fastapi==0.109.2
6- python-jose==3.3 .0
7- uvicorn==0.27.1
5+ fastapi==0.115.0
6+ pyjwt==2.9 .0
7+ uvicorn==0.30.6
You can’t perform that action at this time.
0 commit comments