Skip to content

Commit 86bf1db

Browse files
snazyrenovate-botdimas-bXN137MonkeyCanCode
authored
Dremio merge 2025 09 09 13 05 (apache#111)
* Update dependency io.netty:netty-codec-http2 to v4.2.6.Final (apache#2520) * Update dependency org.testcontainers:localstack to v1.21.3 (apache#2497) * Allow overriding createCatalog calls in integrations tests (apache#2516) This is mostly to add testing flexibility in downstream projects. * Allow `PolarisServerManager` implementations to define custom client headers (apache#2510) `PolarisServerManager` is a plugin point for downstream builds to define runtime env. for tests under `integration-tests`. This change allows more flexibility for test runtime environments by allowing injecting extra headers into test clients. * Fix deprecation warnings around RandomStringUtils (apache#2507) the `RandomStringUtils.random` method is deprecated since commons-lang 3.17.0 apache/commons-lang@69cb996 * Add support for poetry build with wheel (apache#2425) * Core: Clarify the purpose of REPLACE_NEW_LOCATION_PREFIX_WITH_CATALOG_DEFAULT_KEY (apache#2509) * Update gradle/actions digest to ed40850 (apache#2524) * Update dependency com.fasterxml.jackson:jackson-bom to v2.20.0 (apache#2470) * Update hadoop to v3.4.2 (apache#2466) * Last merged commit a1d1176 --------- Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: Dmitri Bourlatchkov <dmitri.bourlatchkov@gmail.com> Co-authored-by: Christopher Lambert <xn137@gmx.de> Co-authored-by: Yong Zheng <yongzheng0809@gmail.com> Co-authored-by: Yufei Gu <yufei@apache.org>
1 parent f866828 commit 86bf1db

File tree

20 files changed

+87
-62
lines changed

20 files changed

+87
-62
lines changed

.github/actions/ci-incr-build-cache-prepare/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
fi
4646
4747
- name: Gradle / Setup
48-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
48+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
4949
with:
5050
cache-read-only: ${{ inputs.cache-read-only }}
5151
validate-wrappers: false

.github/workflows/gradle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
java-version: '21'
4848
distribution: 'temurin'
4949
- name: Setup Gradle
50-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
50+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
5151
with:
5252
validate-wrappers: false
5353
- name: Prepare Gradle build cache
@@ -88,7 +88,7 @@ jobs:
8888
java-version: '21'
8989
distribution: 'temurin'
9090
- name: Setup Gradle
91-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
91+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
9292
with:
9393
validate-wrappers: false
9494
- name: Prepare Gradle build cache
@@ -126,7 +126,7 @@ jobs:
126126
java-version: '21'
127127
distribution: 'temurin'
128128
- name: Setup Gradle
129-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
129+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
130130
with:
131131
validate-wrappers: false
132132
- name: Prepare Gradle build cache
@@ -164,7 +164,7 @@ jobs:
164164
java-version: '21'
165165
distribution: 'temurin'
166166
- name: Setup Gradle
167-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
167+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
168168
with:
169169
validate-wrappers: false
170170
- name: Collect partial Gradle build caches

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
java-version: '21'
5454
distribution: 'temurin'
5555
- name: Setup Gradle
56-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
56+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
5757
with:
5858
validate-wrappers: false
5959
- name: Publish SNAPSHOTs to Apache Nexus Repository

.github/workflows/regtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
distribution: 'temurin'
4242

4343
- name: Setup Gradle
44-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
44+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
4545
with:
4646
validate-wrappers: false
4747

.github/workflows/spark_client_regtests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
distribution: 'temurin'
4242

4343
- name: Setup Gradle
44-
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
44+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4
4545
with:
4646
validate-wrappers: false
4747

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ client-integration-test: client-setup-env ## Run client integration tests
162162
@echo "Tearing down Docker Compose services..."
163163
@$(DOCKER) compose -f $(PYTHON_CLIENT_DIR)/docker-compose.yml down || true # Ensure teardown even if tests fail
164164

165+
.PHONY: client-build
166+
client-build: client-setup-env ## Build client distribution
167+
@echo "--- Building client distribution ---"
168+
@$(ACTIVATE_AND_CD) && poetry build -f wheel
169+
@echo "--- Client distribution build complete ---"
170+
165171
.PHONY: client-cleanup
166172
client-cleanup: ## Cleanup virtual environment and Python cache files
167173
@echo "--- Cleaning up virtual environment and Python cache files ---"

client/python/generate_clients.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
Path("README.md"),
8383
Path("generate_clients.py"),
8484
Path(".venv"),
85+
Path("dist/"),
8586
]
8687
EXCLUDE_EXTENSIONS = [
8788
"json",

client/python/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,9 @@ polaris = "cli.polaris_cli:main"
4646

4747
[tool.poetry]
4848
requires-poetry = "==2.1.4"
49-
packages = [
50-
{ include = "polaris" },
51-
{ include = "cli" }
52-
]
5349
include = [
54-
"polaris/**"
50+
{ path = "polaris/**", format = "wheel" },
51+
{ path = "cli/**", format = "wheel" },
5552
]
5653

5754
[tool.poetry.group.dev.dependencies]

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
[versions]
2121
checkstyle = "10.25.0"
22-
hadoop = "3.4.1"
22+
hadoop = "3.4.2"
2323
hive = "3.1.3"
2424
iceberg = "1.9.2" # Ensure to update the iceberg version in regtests to keep regtests up-to-date
2525
quarkus = "3.25.4"
@@ -67,7 +67,7 @@ immutables-builder = { module = "org.immutables:builder", version.ref = "immutab
6767
immutables-value-annotations = { module = "org.immutables:value-annotations", version.ref = "immutables" }
6868
immutables-value-processor = { module = "org.immutables:value-processor", version.ref = "immutables" }
6969
iceberg-bom = { module = "org.apache.iceberg:iceberg-bom", version.ref = "iceberg" }
70-
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version = "2.19.2" }
70+
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version = "2.20.0" }
7171
jakarta-annotation-api = { module = "jakarta.annotation:jakarta.annotation-api", version = "3.0.0" }
7272
jakarta-enterprise-cdi-api = { module = "jakarta.enterprise:jakarta.enterprise.cdi-api", version = "4.1.0" }
7373
jakarta-inject-api = { module = "jakarta.inject:jakarta.inject-api", version = "2.0.1" }
@@ -82,7 +82,7 @@ jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
8282
jmh-generator-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
8383
junit-bom = { module = "org.junit:junit-bom", version = "5.13.4" }
8484
keycloak-admin-client = { module = "org.keycloak:keycloak-admin-client", version = "26.0.6" }
85-
localstack = { module = "org.testcontainers:localstack", version = "1.19.7" }
85+
localstack = { module = "org.testcontainers:localstack", version = "1.21.3" }
8686
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.18" }
8787
micrometer-bom = { module = "io.micrometer:micrometer-bom", version = "1.15.4" }
8888
microprofile-fault-tolerance-api = { module = "org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-api", version = "4.1.2" }

integration-tests/src/main/java/org/apache/polaris/service/it/env/IcebergHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static RESTCatalog restCatalog(
3939
.put(CatalogProperties.URI, endpoints.catalogApiEndpoint().toString())
4040
.put(OAuth2Properties.TOKEN, authToken)
4141
.put("warehouse", catalog)
42-
.put("header." + endpoints.realmHeaderName(), endpoints.realmId())
42+
.putAll(endpoints.extraHeaders("header."))
4343
.putAll(extraProperties);
4444

4545
restCatalog.initialize("polaris", propertiesBuilder.buildKeepingLast());

0 commit comments

Comments
 (0)