Skip to content

Commit 09ffb38

Browse files
committed
Merge branch 'main' of github.com:apache/iceberg-python into feat/update-sort-order
2 parents 46fd88b + 8c545d9 commit 09ffb38

File tree

131 files changed

+14716
-4241
lines changed

Some content is hidden

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

131 files changed

+14716
-4241
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.9.0 (latest release)"
31+
- "0.10.0 (latest release)"
32+
- "0.9.1"
33+
- "0.9.0"
3234
- "0.8.1"
3335
- "0.8.0"
3436
- "0.7.1"

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Thanks for opening a pull request!
77

88
# Rationale for this change
99

10-
# Are these changes tested?
10+
## Are these changes tested?
1111

12-
# Are there any user-facing changes?
12+
## Are there any user-facing changes?
1313

1414
<!-- 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on: pull_request
2222

2323
jobs:
2424
rat:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-latest
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ 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

38-
- uses: actions/setup-python@v5
38+
- uses: actions/setup-python@v6
3939
with:
4040
python-version: 3.12
4141

@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
matrix:
35-
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ]
35+
os: [ ubuntu-latest, windows-latest, macos-latest ]
3636

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

42-
- uses: actions/setup-python@v5
42+
- uses: actions/setup-python@v6
4343
with:
4444
python-version: |
4545
3.9
@@ -62,7 +62,7 @@ jobs:
6262
if: startsWith(matrix.os, 'ubuntu')
6363

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ concurrency:
3232

3333
jobs:
3434
docs:
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-latest
3636

3737
steps:
38-
- uses: actions/checkout@v4
39-
- name: Install poetry
40-
run: make install-poetry
41-
- uses: actions/setup-python@v5
38+
- uses: actions/checkout@v5
39+
- uses: actions/setup-python@v6
4240
with:
4341
python-version: 3.12
42+
- name: Install poetry
43+
run: make install-poetry
4444
- name: Install
4545
run: make docs-install
4646
- name: Build docs

.github/workflows/python-ci.yml

Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,65 @@ concurrency:
4444

4545
jobs:
4646
lint-and-test:
47-
runs-on: ubuntu-22.04
47+
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
5050
python: ['3.9', '3.10', '3.11', '3.12']
5151

5252
steps:
53-
- uses: actions/checkout@v4
54-
- name: Install poetry
55-
run: make install-poetry
56-
- uses: actions/setup-python@v5
53+
- uses: actions/checkout@v5
54+
- uses: actions/setup-python@v6
5755
with:
5856
python-version: ${{ matrix.python }}
59-
cache: poetry
60-
cache-dependency-path: ./poetry.lock
57+
- name: Install poetry
58+
run: make install-poetry
6159
- name: Install system dependencies
6260
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
6361
- name: Install
6462
run: make install-dependencies
65-
- name: Linters
63+
- name: Run linters
6664
run: make lint
67-
- name: Tests
68-
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-latest
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

.github/workflows/python-integration.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)