Skip to content

Commit 68ebb0c

Browse files
author
ci bot
committed
Merge branch 'fix/TG-1120-misc-fixes' into 'enterprise'
fix: miscellaneous fixes (TG-1120 zip3 overflow, image CVE patches, project_memberships grant) See merge request dkinternal/testgen/dataops-testgen!560
2 parents ba66324 + ec669e6 commit 68ebb0c

4 files changed

Lines changed: 8 additions & 10 deletions

File tree

deploy/testgen-base.dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ RUN apk update && apk upgrade && apk add --no-cache \
2727
openblas=0.3.30-r2 \
2828
openblas-dev=0.3.30-r2 \
2929
unixodbc=2.3.14-r0 \
30-
unixodbc-dev=2.3.14-r0 \
31-
libarrow=21.0.0-r4 \
32-
apache-arrow-dev=21.0.0-r4
30+
unixodbc-dev=2.3.14-r0
3331

3432
COPY --chmod=775 ./deploy/install_linuxodbc.sh /tmp/dk/install_linuxodbc.sh
3533
RUN /tmp/dk/install_linuxodbc.sh
@@ -39,7 +37,7 @@ COPY ./pyproject.toml /tmp/dk/pyproject.toml
3937
RUN mkdir /dk
4038

4139
# Upgrading pip for security
42-
RUN python3 -m pip install --no-cache-dir --upgrade pip==26.0
40+
RUN python3 -m pip install --no-cache-dir --upgrade pip==26.1.2
4341

4442
# hdbcli only ships manylinux wheels (no musl). pip 26+ correctly rejects these on Alpine.
4543
# We download the wheel for the correct arch, then extract it directly into site-packages
@@ -73,8 +71,7 @@ RUN apk del \
7371
openssl \
7472
linux-headers \
7573
openblas-dev \
76-
unixodbc-dev \
77-
apache-arrow-dev
74+
unixodbc-dev
7875

7976
# Remove interactive ODBC tools — not needed at runtime, and iusql triggers
8077
# false-positive secret detection in security scanners (SECRET-3010)

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies = [
6161
"xlsxwriter==3.2.0",
6262
"psutil==5.9.8",
6363
"concurrent_log_handler==0.9.25",
64-
"cryptography==46.0.6",
64+
"cryptography==46.0.7",
6565
"validators==0.33.0",
6666
"reportlab==4.2.2",
6767
"cron-converter==1.2.1",
@@ -72,7 +72,7 @@ dependencies = [
7272
"holidays~=0.89",
7373

7474
# Pinned to match the manually compiled libs or for security
75-
"pyarrow==21.0.0",
75+
"pyarrow==23.0.1",
7676
"matplotlib==3.9.2",
7777
"scipy==1.14.1",
7878
"jinja2==3.1.6",
@@ -82,7 +82,7 @@ dependencies = [
8282
# MCP server
8383
"mcp[cli]==1.26.0",
8484
"uvicorn==0.41.0",
85-
"PyJWT==2.12.0",
85+
"PyJWT==2.13.0",
8686
"bcrypt==5.0.0",
8787

8888
# API & OAuth server

testgen/template/dbsetup/075_grant_role_rights.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ GRANT SELECT, INSERT, DELETE, UPDATE ON
4444
{SCHEMA_NAME}.job_executions,
4545
{SCHEMA_NAME}.settings,
4646
{SCHEMA_NAME}.notification_settings,
47+
{SCHEMA_NAME}.project_memberships,
4748
{SCHEMA_NAME}.test_definition_notes,
4849
{SCHEMA_NAME}.oauth2_clients,
4950
{SCHEMA_NAME}.oauth2_authorization_codes,

testgen/template/dbsetup_anomaly_types/profile_anomaly_types_Invalid_Zip3_USA.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ profile_anomaly_types:
1616
suggested_action: |-
1717
Review your source data, ingestion process, and any processing steps that update this column.
1818
dq_score_prevalence_formula: |-
19-
(NULLIF(p.record_ct, 0)::INT - NULLIF(SPLIT_PART(p.top_patterns, ' | ', 1), '')::BIGINT)::FLOAT/NULLIF(p.record_ct, 0)::FLOAT
19+
(NULLIF(p.record_ct, 0) - NULLIF(SPLIT_PART(p.top_patterns, ' | ', 1), '')::BIGINT)::FLOAT/NULLIF(p.record_ct, 0)::FLOAT
2020
dq_score_risk_factor: '1'
2121
dq_dimension: Validity
2222
impact_dimension: Conformance

0 commit comments

Comments
 (0)