Skip to content

[#10109] fix(docs): update Python version requirements in build and usage documentation#10179

Open
yuqi1129 wants to merge 3 commits intoapache:mainfrom
yuqi1129:issue_10109
Open

[#10109] fix(docs): update Python version requirements in build and usage documentation#10179
yuqi1129 wants to merge 3 commits intoapache:mainfrom
yuqi1129:issue_10109

Conversation

@yuqi1129
Copy link
Contributor

@yuqi1129 yuqi1129 commented Mar 4, 2026

What changes were proposed in this pull request?

This pull request updates the documentation to reflect changes in the supported Python versions for building and using the Gravitino Python client and GVFS. The main changes involve raising the minimum required Python version and clarifying the default and supported versions for different components.

Python version requirements and build instructions:

  • Updated the minimum required Python version for building the Gravitino Python client to 3.10, removing support for Python 3.9 in docs/how-to-build.md.
  • Changed the default Python version for building the Python client to 3.12, and updated instructions to support Python 3.10, 3.11, and 3.13 instead of 3.9, 3.10, 3.11, and 3.12 in docs/how-to-build.md.
  • Updated the minimum required Python version for using GVFS to 3.12, replacing references to Python 3.9 in docs/how-to-use-gvfs.md.

Why are the changes needed?

Python 3.9 is not supported any more.

Fix: #10109

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

It's docs.

Copilot AI review requested due to automatic review settings March 4, 2026 03:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a documentation-only update to correct Python version requirements across two documentation files (docs/how-to-build.md and docs/how-to-use-gvfs.md), addressing issue #10109. It removes Python 3.9 from the supported build versions, sets 3.12 as the new default, and raises the minimum required Python version for GVFS to 3.12.

Changes:

  • Remove Python 3.9 from supported build/use versions throughout the documentation
  • Update the default Python build version to 3.12 and adjust the supported version list in how-to-build.md
  • Raise the minimum required Python version for GVFS to 3.12 in how-to-use-gvfs.md

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/how-to-build.md Removes Python 3.9, sets 3.12 as default, and updates the list of alternative versions
docs/how-to-use-gvfs.md Updates the GVFS minimum Python version requirement from 3.9 to 3.12

```

Or:
For the Python client, the `./gradlew build` command builds the Python client with Python 3.12 by default. If you want to use Python 3.10, 3.11, or 3.13 to build, please modify the property `pythonVersion` to 3.10, 3.11, or 3.13 in the `gradle.properties` file, or specify the version with `-P` like:
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an inconsistency in the supported Python versions across this PR:

  1. Line 16 (Prerequisites section) lists "Python 3.10, 3.11, or 3.12" — Python 3.13 is missing here.
  2. Line 50 lists "Python 3.10, 3.11, or 3.13" — Python 3.12 appears to be incorrectly replaced with 3.13, since 3.12 is the default and is clearly tested (lines 64-66 show a 3.12 example command, and the CI workflow tests 3.12 but not 3.13).

The shell command examples on lines 52–66 still show only 3.10, 3.11, and 3.12 (no 3.13 example), which is inconsistent with the text on line 50 that says 3.13 is an alternative.

Additionally, clients/client-python/setup.py classifiers only enumerate Python 3.10, 3.11, and 3.12 (no 3.13), and the CI workflow .github/workflows/python-integration-test.yml only tests against 3.10, 3.11, and 3.12 — neither source confirms that Python 3.13 is officially supported.

The text on line 50 should likely read "Python 3.10, 3.11, 3.12, or 3.13" (i.e., keep 3.12 and add 3.13 if it is truly supported), or drop the 3.13 reference entirely if it has not been verified. The Prerequisites on line 16 should also be updated to be consistent with whatever the final list is.

Suggested change
For the Python client, the `./gradlew build` command builds the Python client with Python 3.12 by default. If you want to use Python 3.10, 3.11, or 3.13 to build, please modify the property `pythonVersion` to 3.10, 3.11, or 3.13 in the `gradle.properties` file, or specify the version with `-P` like:
For the Python client, the `./gradlew build` command builds the Python client with Python 3.12 by default. If you want to use Python 3.10, 3.11, or 3.12 to build, please modify the property `pythonVersion` to 3.10, 3.11, or 3.12 in the `gradle.properties` file, or specify the version with `-P` like:

Copilot uses AI. Check for mistakes.
@yuqi1129 yuqi1129 added the branch-1.2 Automatically cherry-pick commit to branch-1.2 label Mar 4, 2026
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Code Coverage Report

Overall Project 65.19% +0.06% 🟢
Files changed 88.0% 🟢

Module Coverage
aliyun 1.73% 🔴
api 46.15% 🟢
authorization-common 85.96% 🟢
aws 1.1% 🔴
azure 2.6% 🔴
catalog-common 10.0% 🔴
catalog-fileset 80.02% 🟢
catalog-hive 80.98% 🟢
catalog-jdbc-clickhouse 77.71% 🟢
catalog-jdbc-common 36.84% 🔴
catalog-jdbc-doris 80.94% 🟢
catalog-jdbc-hologres 57.71% 🟢
catalog-jdbc-mysql 79.23% 🟢
catalog-jdbc-oceanbase 78.38% 🟢
catalog-jdbc-postgresql 81.22% 🟢
catalog-jdbc-starrocks 78.27% 🟢
catalog-kafka 77.01% 🟢
catalog-lakehouse-generic 45.07% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 87.25% 🟢
catalog-lakehouse-paimon 77.71% 🟢
catalog-model 77.72% 🟢
cli 44.51% 🟢
client-java 77.73% 🟢
common 49.13% 🟢
core 81.2% 🟢
filesystem-hadoop3 76.97% 🟢
flink 38.86% 🔴
flink-runtime 0.0% 🔴
gcp 14.2% 🔴
hadoop-common 10.39% 🔴
hive-metastore-common 45.82% 🟢
iceberg-common 50.21% 🟢
iceberg-rest-server 66.24% 🟢
integration-test-common 0.0% 🔴
jobs 62.55% 🟢
lance-common 23.78% 🔴
lance-rest-server 57.84% 🟢
lineage 53.02% 🟢
optimizer 82.7% +0.35% 🟢
server 85.76% 🟢
server-common 68.6% 🟢
spark 35.09% 🔴
spark-common 39.88% 🔴
trino-connector 31.62% 🔴
Files
Module File Coverage
optimizer Recommender.java 89.58% 🟢
CompactionJobContext.java 50.0% 🔴

+ Git
+ A Java Development Kit, version 17, installed in your environment to launch Gradle
+ Python 3.9, 3.10, 3.11, or 3.12 to build the Gravitino Python client
+ Python 3.10, 3.11, 3.12, or 3.13 to build the Gravitino Python client
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support python 3.13 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch-1.2 Automatically cherry-pick commit to branch-1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] Correct document how-to-build.md since python 3.9 is not support

3 participants