mirror of
https://gitlab.com/itsulu-odoo/runboat.git
synced 2026-05-30 23:41:27 +00:00
Merge pull request #62 from sbidoul/refresh-deps-sbi
Refresh dependencies
This commit is contained in:
commit
18f7d56af4
4 changed files with 23 additions and 29 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
mypy==0.942
|
||||
mypy==0.960
|
||||
mypy-extensions==0.4.3
|
||||
tomli==2.0.1
|
||||
types-urllib3==1.26.13
|
||||
types-urllib3==1.26.15
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
attrs==21.4.0
|
||||
coverage==6.3.2
|
||||
coverage==6.4
|
||||
iniconfig==1.1.1
|
||||
packaging==21.3
|
||||
pluggy==1.0.0
|
||||
py==1.11.0
|
||||
pyparsing==3.0.8
|
||||
pytest==7.1.1
|
||||
pyparsing==3.0.9
|
||||
pytest==7.1.2
|
||||
pytest-asyncio==0.18.3
|
||||
pytest-cov==3.0.0
|
||||
pytest-dotenv==0.5.2
|
||||
|
|
|
|||
|
|
@ -1,38 +1,38 @@
|
|||
# frozen requirements generated by pip-deepfreeze
|
||||
ansi2html==1.7.0
|
||||
anyio==3.5.0
|
||||
asgiref==3.5.0
|
||||
cachetools==5.0.0
|
||||
certifi==2021.10.8
|
||||
anyio==3.6.1
|
||||
asgiref==3.5.2
|
||||
cachetools==5.2.0
|
||||
certifi==2022.5.18.1
|
||||
charset-normalizer==2.0.12
|
||||
click==8.1.2
|
||||
click==8.1.3
|
||||
commonmark==0.9.1
|
||||
fastapi==0.75.2
|
||||
google-auth==2.6.5
|
||||
fastapi==0.78.0
|
||||
google-auth==2.6.6
|
||||
gunicorn==20.1.0
|
||||
h11==0.12.0
|
||||
httpcore==0.14.7
|
||||
httpx==0.22.0
|
||||
httpcore==0.15.0
|
||||
httpx==0.23.0
|
||||
idna==3.3
|
||||
Jinja2==3.1.1
|
||||
kubernetes==23.3.0
|
||||
Jinja2==3.1.2
|
||||
kubernetes==23.6.0
|
||||
MarkupSafe==2.1.1
|
||||
oauthlib==3.2.0
|
||||
pyasn1==0.4.8
|
||||
pyasn1-modules==0.2.8
|
||||
pydantic==1.9.0
|
||||
Pygments==2.11.2
|
||||
pydantic==1.9.1
|
||||
Pygments==2.12.0
|
||||
python-dateutil==2.8.2
|
||||
PyYAML==6.0
|
||||
requests==2.27.1
|
||||
requests-oauthlib==1.3.1
|
||||
rfc3986==1.5.0
|
||||
rich==12.2.0
|
||||
rich==12.4.4
|
||||
rsa==4.8
|
||||
six==1.16.0
|
||||
sniffio==1.2.0
|
||||
sse-starlette==0.10.3
|
||||
starlette==0.17.1
|
||||
starlette==0.19.1
|
||||
typing_extensions==4.2.0
|
||||
urllib3==1.26.9
|
||||
uvicorn==0.17.6
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
import sqlite3
|
||||
from enum import Enum
|
||||
from typing import Iterator, Protocol, cast
|
||||
from typing import Any, Iterator, Protocol, cast
|
||||
from weakref import WeakSet
|
||||
|
||||
from .github import CommitInfo
|
||||
|
|
@ -40,18 +40,12 @@ class BuildsDb:
|
|||
self._listeners.add(listener)
|
||||
|
||||
@classmethod
|
||||
def _build_from_row(cls, row: sqlite3.Row) -> Build:
|
||||
def _build_from_row(cls, row: "sqlite3.Row[Any]") -> Build:
|
||||
commit_info_fields = {"repo", "target_branch", "pr", "git_commit"}
|
||||
commit_info = CommitInfo(**{k: row[k] for k in commit_info_fields})
|
||||
# TODO: remove type ignore below with mypy > 0.943 which should include
|
||||
# https://github.com/python/typeshed/commit/b0611bc03105f9f7455846ddc
|
||||
return Build(
|
||||
commit_info=commit_info,
|
||||
**{
|
||||
k: row[k]
|
||||
for k in row.keys() # type: ignore[no-untyped-call]
|
||||
if k not in commit_info_fields
|
||||
},
|
||||
**{k: row[k] for k in row.keys() if k not in commit_info_fields},
|
||||
)
|
||||
|
||||
def reset(self) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue