From 98248a5b094748cbe558007a058eee8159d741a7 Mon Sep 17 00:00:00 2001 From: Derek Date: Sat, 21 Nov 2026 15:12:31 +1100 Subject: [PATCH] fix(deps): bump scalo to 2.32.10 With scalo 2.32.10, a ServiceApp reads its env prefix and --config file for version_check, otel tracing and the Kafka health thresholds. The test config turns off the version check under the engine prefixes and at the bare key. That keeps test runs from posting to the release endpoint. --- pyproject.toml | 2 +- tests/conftest.py | 8 ++++---- uv.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 76b15b19b..e9708311b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" dependencies = [ # [kafka] supplies genson to scalo.kafka.providers. Without [metrics], /metrics 404s. - "scalo[api,cli,expression,http,kafka,metrics,secrets-kubernetes]>=2.32.8,<3", + "scalo[api,cli,expression,http,kafka,metrics,secrets-kubernetes]>=2.32.10,<3", # Floor: query_log_archive 1.1.0, the CPU columns the smoother reads. "dfe-schemas>=0.2.32,<1", "pandas>=3.0.3", diff --git a/tests/conftest.py b/tests/conftest.py index 423e20246..e24270ad3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,10 +51,10 @@ ): os.environ.setdefault(_otel_key, _otel_val) -# Never post to the release endpoint: create_app() wires scalo's startup version -# check with a real api_url, and version_check.enabled is read from the -# bare-prefix cascade (Dynaconf, so VERSION_CHECK__ENABLED). Off for the run. -os.environ.setdefault("VERSION_CHECK__ENABLED", "false") +# Never post to the release endpoint. Each ServiceApp reads version_check.enabled +# under its own env prefix, and code that runs before an app starts reads the bare key. +for _prefix in ("", "DFE_ENGINE_API_", "DFE_ENGINE_"): + os.environ.setdefault(f"{_prefix}VERSION_CHECK__ENABLED", "false") # -------------------------------------------------------------------------- # Declare the dev posture explicitly. `DFE_ENGINE_ENV` defaults to "production", and diff --git a/uv.lock b/uv.lock index d7e5f6ccf..63cb4565a 100644 --- a/uv.lock +++ b/uv.lock @@ -740,7 +740,7 @@ requires-dist = [ { name = "pyyaml", specifier = ">=6.0.3" }, { name = "requests", specifier = ">=2.34.2" }, { name = "ruamel-yaml", specifier = ">=0.19.1" }, - { name = "scalo", extras = ["api", "cli", "expression", "http", "kafka", "metrics", "secrets-kubernetes"], specifier = ">=2.32.8,<3" }, + { name = "scalo", extras = ["api", "cli", "expression", "http", "kafka", "metrics", "secrets-kubernetes"], specifier = ">=2.32.10,<3" }, { name = "scim2-models", specifier = ">=0.6.12,<0.7" }, { name = "sqlglot", specifier = ">=30.22.0" }, { name = "sse-starlette", specifier = ">=3.4.5" }, @@ -2393,7 +2393,7 @@ wheels = [ [[package]] name = "scalo" -version = "2.32.8" +version = "2.32.10" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, @@ -2411,9 +2411,9 @@ dependencies = [ { name = "tomli-w" }, { name = "typer" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3c/db/164b37ec0eede476f5e90d3dbccf79ca889ce1762d3002053c77a252cccc/scalo-2.32.8.tar.gz", hash = "sha256:25ede9b7fd5fbd329e9ef5bfc9e053bfc69dbf4ba83d9af2c370628699d8bd6f", size = 551720, upload-time = "2026-11-17T01:40:17.902Z" } +sdist = { url = "https://files.pythonhosted.org/packages/08/38/71099ff43b0bdae421bbefe5a5c4bdcf57b5ceef526748eaf59dc9947b60/scalo-2.32.10.tar.gz", hash = "sha256:356c7afb62e5469a14c7fccea5c1a012bf01c66d8e000b60ac69b9cb8b45932b", size = 553651, upload-time = "2026-11-21T03:16:52.202Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/8e/b45d090c1f621dfa52c389fb11af11f03403882f00af99ebc7a589f26004/scalo-2.32.8-py3-none-any.whl", hash = "sha256:da02c0f3e3f950d2b92c80c1a5147d31930eb2054197932ebf7cda5282bfe9bd", size = 644879, upload-time = "2026-11-17T01:40:16.092Z" }, + { url = "https://files.pythonhosted.org/packages/28/14/f2b2a2a987320acd79684772427d168f7799430b541eb90675e6de1b8e8e/scalo-2.32.10-py3-none-any.whl", hash = "sha256:adfa8cdebc0e05e2389a69695727165c048601a2094865752ff84f1ee9466b0a", size = 646954, upload-time = "2026-11-21T03:16:50.841Z" }, ] [package.optional-dependencies]