Skip to content

Commit 4b90dfc

Browse files
authored
Merge branch 'main' into mergecd
2 parents 6612b17 + c7707e0 commit 4b90dfc

File tree

9 files changed

+449
-125
lines changed

9 files changed

+449
-125
lines changed

backend/app/async_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def done_callback(trio_main_outcome):
1919
*args,
2020
run_sync_soon_threadsafe=run_sync_soon_threadsafe,
2121
done_callback=done_callback,
22-
host_uses_signal_set_wakeup_fd=True
22+
host_uses_signal_set_wakeup_fd=True,
2323
)
2424
trio_main_outcome = await done_fut
2525
return trio_main_outcome.unwrap()

backend/app/services/crucible_svc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,9 @@ def __init__(self, configpath: str = "crucible"):
726726
self.auth = (self.user, self.password) if self.user or self.password else None
727727
self.url = self.cfg.get(configpath + ".url")
728728
self.versions = set()
729-
self.elastic = AsyncElasticsearch(self.url, http_auth=self.auth)
729+
self.elastic = AsyncElasticsearch(
730+
self.url, http_auth=self.auth, verify_certs=False
731+
)
730732
self.logger.info("Initializing CDM service to %s", self.url)
731733

732734
async def detect_versions(self):

backend/poetry.lock

Lines changed: 149 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openshift_perfscale_api"
3-
requires-python = "^3.9"
3+
requires-python = ">=3.9,<3.10"
44
dynamic = ["dependencies"]
55
version = "0.1.1"
66
description = "Python transformer of OpenShift performance and scale test results"
@@ -23,7 +23,7 @@ numpy = "1.26.4"
2323
orjson = "^3.5.3"
2424
pandas = "1.2.4"
2525
pydantic = "2.10.5"
26-
python = "^3.9"
26+
python = ">=3.9,<3.10"
2727
python-keycloak = "^3.12.0"
2828
pytest = "^8.3.5"
2929
pytest-asyncio = "^0.24"
@@ -37,6 +37,9 @@ uvloop = "^0.21.0"
3737
vyper-config = "1.0.0"
3838

3939
[tool.poetry.group.dev.dependencies]
40+
black = "^24.4.2"
41+
flake8 = "^7.3.0"
42+
isort = "^6.0.1"
4043
watchgod = "^0.7"
4144

4245
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)