Skip to content

Commit eb17ef4

Browse files
authored
Merge branch 'main' into main
2 parents 51fe1e4 + 52ff684 commit eb17ef4

File tree

161 files changed

+16934
-5243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+16934
-5243
lines changed

.asf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
2222

2323
github:
24-
description: "Apache PyIceberg"
24+
description: "PyIceberg"
2525
homepage: https://py.iceberg.apache.org/
2626
labels:
2727
- iceberg

.github/ISSUE_TEMPLATE/iceberg_bug_report.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ body:
2828
description: What Apache Iceberg version are you using?
2929
multiple: false
3030
options:
31-
- "0.8.1 (latest release)"
31+
- "0.9.1 (latest release)"
32+
- "0.9.0"
33+
- "0.8.1"
3234
- "0.8.0"
3335
- "0.7.1"
3436
- "0.7.0"

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ updates:
2222
- package-ecosystem: "pip"
2323
directory: "/"
2424
schedule:
25-
interval: "daily"
25+
interval: "weekly"
2626
open-pull-requests-limit: 50
2727
- package-ecosystem: "github-actions"
2828
directory: "/"
2929
schedule:
30-
interval: "daily"
30+
interval: "weekly"

.github/pull_request_template.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!--
2+
Thanks for opening a pull request!
3+
-->
4+
5+
<!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
6+
<!-- Closes #${GITHUB_ISSUE_ID} -->
7+
8+
# Rationale for this change
9+
10+
## Are these changes tested?
11+
12+
## Are there any user-facing changes?
13+
14+
<!-- In the case of user-facing changes, please add the changelog label. -->

.github/workflows/check-md-link.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@master
39-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
39+
- uses: tcort/github-action-markdown-link-check@v1

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
rat:
2525
runs-on: ubuntu-22.04
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
- run: dev/check-license

.github/workflows/nightly-pypi-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
outputs:
3232
VERSION: ${{ steps.set-version.outputs.VERSION }}
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
with:
3636
fetch-depth: 1
3737

@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- name: Download all the artifacts
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@v5
7575
with:
7676
merge-multiple: true
7777
path: dist/

.github/workflows/pypi-build-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ]
3636

3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v5
3939
with:
4040
fetch-depth: 1
4141

@@ -62,7 +62,7 @@ jobs:
6262
if: startsWith(matrix.os, 'ubuntu')
6363

6464
- name: Build wheels
65-
uses: pypa/cibuildwheel@v2.22.0
65+
uses: pypa/cibuildwheel@v3.1.4
6666
with:
6767
output-dir: wheelhouse
6868
config-file: "pyproject.toml"

.github/workflows/python-ci-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-22.04
3636

3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v5
3939
- name: Install poetry
4040
run: make install-poetry
4141
- uses: actions/setup-python@v5

.github/workflows/python-ci.yml

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,59 @@ jobs:
5050
python: ['3.9', '3.10', '3.11', '3.12']
5151

5252
steps:
53-
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v5
5454
- name: Install poetry
5555
run: make install-poetry
5656
- uses: actions/setup-python@v5
5757
with:
5858
python-version: ${{ matrix.python }}
59-
cache: poetry
60-
cache-dependency-path: ./poetry.lock
59+
- name: Install system dependencies
60+
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
6161
- name: Install
6262
run: make install-dependencies
63-
- name: Linters
63+
- name: Run linters
6464
run: make lint
65-
- name: Tests
66-
run: make test-coverage
65+
- name: Run unit tests with coverage
66+
run: COVERAGE=1 make test
67+
- name: Generate coverage report (85%) # Coverage threshold should only increase over time — never decrease it!
68+
run: COVERAGE_FAIL_UNDER=85 make coverage-report
69+
70+
integration-test:
71+
runs-on: ubuntu-22.04
72+
strategy:
73+
matrix:
74+
python: ['3.9', '3.10', '3.11', '3.12']
75+
76+
steps:
77+
- uses: actions/checkout@v5
78+
- name: Install system dependencies
79+
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
80+
- name: Install
81+
run: make install
82+
83+
- name: Run integration tests with coverage
84+
run: COVERAGE=1 make test-integration
85+
- name: Show debug logs
86+
if: ${{ failure() }}
87+
run: docker compose -f dev/docker-compose.yml logs
88+
89+
- name: Run s3 integration tests with coverage
90+
run: COVERAGE=1 make test-s3
91+
- name: Show debug logs
92+
if: ${{ failure() }}
93+
run: docker compose -f dev/docker-compose.yml logs
94+
95+
- name: Run adls integration tests with coverage
96+
run: COVERAGE=1 make test-adls
97+
- name: Show debug logs
98+
if: ${{ failure() }}
99+
run: docker compose -f dev/docker-compose-azurite.yml logs
100+
101+
- name: Run gcs integration tests with coverage
102+
run: COVERAGE=1 make test-gcs
103+
- name: Show debug logs
104+
if: ${{ failure() }}
105+
run: docker compose -f dev/docker-compose-gcs-server.yml logs
106+
107+
- name: Generate coverage report (75%) # Coverage threshold should only increase over time — never decrease it!
108+
run: COVERAGE_FAIL_UNDER=75 make coverage-report

0 commit comments

Comments
 (0)