Update known-good dependencies
This commit is contained in:
parent
2f26ed9095
commit
7bf2f9e5e2
5 changed files with 32 additions and 33 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
mypy==0.960
|
||||
mypy==0.971
|
||||
mypy-extensions==0.4.3
|
||||
tomli==2.0.1
|
||||
types-urllib3==1.26.15
|
||||
types-urllib3==1.26.24
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
attrs==21.4.0
|
||||
coverage==6.4
|
||||
attrs==22.1.0
|
||||
coverage==6.4.4
|
||||
iniconfig==1.1.1
|
||||
packaging==21.3
|
||||
pluggy==1.0.0
|
||||
py==1.11.0
|
||||
pyparsing==3.0.9
|
||||
pytest==7.1.2
|
||||
pytest-asyncio==0.18.3
|
||||
pytest==7.1.3
|
||||
pytest-asyncio==0.19.0
|
||||
pytest-cov==3.0.0
|
||||
pytest-dotenv==0.5.2
|
||||
pytest-mock==3.7.0
|
||||
python-dotenv==0.20.0
|
||||
pytest-mock==3.8.2
|
||||
python-dotenv==0.21.0
|
||||
tomli==2.0.1
|
||||
|
|
|
|||
|
|
@ -1,39 +1,38 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
ansi2html==1.7.0
|
||||
ansi2html==1.8.0
|
||||
anyio==3.6.1
|
||||
asgiref==3.5.2
|
||||
cachetools==5.2.0
|
||||
certifi==2022.5.18.1
|
||||
charset-normalizer==2.0.12
|
||||
certifi==2022.9.14
|
||||
charset-normalizer==2.1.1
|
||||
click==8.1.3
|
||||
commonmark==0.9.1
|
||||
fastapi==0.78.0
|
||||
google-auth==2.6.6
|
||||
fastapi==0.85.0
|
||||
google-auth==2.11.0
|
||||
gunicorn==20.1.0
|
||||
h11==0.12.0
|
||||
httpcore==0.15.0
|
||||
httpx==0.23.0
|
||||
idna==3.3
|
||||
idna==3.4
|
||||
Jinja2==3.1.2
|
||||
kubernetes==23.6.0
|
||||
kubernetes==24.2.0
|
||||
MarkupSafe==2.1.1
|
||||
oauthlib==3.2.0
|
||||
oauthlib==3.2.1
|
||||
pyasn1==0.4.8
|
||||
pyasn1-modules==0.2.8
|
||||
pydantic==1.9.1
|
||||
Pygments==2.12.0
|
||||
pydantic==1.10.2
|
||||
Pygments==2.13.0
|
||||
python-dateutil==2.8.2
|
||||
PyYAML==6.0
|
||||
requests==2.27.1
|
||||
requests==2.28.1
|
||||
requests-oauthlib==1.3.1
|
||||
rfc3986==1.5.0
|
||||
rich==12.4.4
|
||||
rsa==4.8
|
||||
rich==12.5.1
|
||||
rsa==4.9
|
||||
six==1.16.0
|
||||
sniffio==1.2.0
|
||||
sse-starlette==0.10.3
|
||||
starlette==0.19.1
|
||||
typing_extensions==4.2.0
|
||||
urllib3==1.26.9
|
||||
uvicorn==0.17.6
|
||||
websocket-client==1.3.2
|
||||
sniffio==1.3.0
|
||||
sse-starlette==1.1.6
|
||||
starlette==0.20.4
|
||||
typing_extensions==4.3.0
|
||||
urllib3==1.26.12
|
||||
uvicorn==0.18.3
|
||||
websocket-client==1.4.1
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ async def init_log(name: str) -> str:
|
|||
log = await build.init_log()
|
||||
if not log:
|
||||
raise HTTPException(status_code=HTTP_404_NOT_FOUND, detail="No log found.")
|
||||
return Ansi2HTMLConverter().convert(log) # type: ignore [no-any-return]
|
||||
return Ansi2HTMLConverter().convert(log)
|
||||
|
||||
|
||||
@router.get(
|
||||
|
|
@ -158,7 +158,7 @@ async def log(name: str) -> str:
|
|||
log = await build.log()
|
||||
if not log:
|
||||
raise HTTPException(status_code=HTTP_404_NOT_FOUND, detail="No log found.")
|
||||
return Ansi2HTMLConverter().convert(log) # type: ignore [no-any-return]
|
||||
return Ansi2HTMLConverter().convert(log)
|
||||
|
||||
|
||||
@router.post("/builds/{name}/start")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import logging
|
|||
import sqlite3
|
||||
from collections.abc import Iterator
|
||||
from enum import Enum
|
||||
from typing import Any, Protocol, cast
|
||||
from typing import Protocol, cast
|
||||
from weakref import WeakSet
|
||||
|
||||
from .github import CommitInfo
|
||||
|
|
@ -41,7 +41,7 @@ class BuildsDb:
|
|||
self._listeners.add(listener)
|
||||
|
||||
@classmethod
|
||||
def _build_from_row(cls, row: "sqlite3.Row[Any]") -> Build:
|
||||
def _build_from_row(cls, row: "sqlite3.Row") -> Build:
|
||||
commit_info_fields = {"repo", "target_branch", "pr", "git_commit"}
|
||||
commit_info = CommitInfo(**{k: row[k] for k in commit_info_fields})
|
||||
return Build(
|
||||
|
|
|
|||
Loading…
Reference in a new issue