Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/paimon-python-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,24 @@ jobs:
- name: Verify Python version
run: python --version

- name: Verify requirements.txt dependencies can be installed
shell: bash
run: |
cd paimon-python
python -m pip install --upgrade pip
# Use --target to install to a temporary directory to verify dependencies
# This works for both Python 3.6 (pip 21.3.1) and Python 3.10+ (pip 22.2+)
# since --target is supported in all pip versions
TEMP_DIR=$(mktemp -d)
python -m pip install -r dev/requirements.txt --target "$TEMP_DIR" || {
echo "ERROR: Failed to resolve dependencies from dev/requirements.txt"
echo "This indicates a version conflict or unavailable package version"
rm -rf "$TEMP_DIR"
exit 1
}
rm -rf "$TEMP_DIR"
echo "✓ All dependencies in dev/requirements.txt can be resolved"

- name: Build Java
run: |
echo "Start compiling modules"
Expand Down
4 changes: 2 additions & 2 deletions paimon-python/dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ pyarrow>=16,<20; python_version >= "3.8"
pylance>=0.20,<1; python_version>="3.9"
pylance>=0.10,<1; python_version>="3.8" and python_version<"3.9"
pyroaring
ray>=2.10,<3
ray>=2.10,<3; python_version>="3.7"
readerwriterlock>=1,<2
torch
zstandard>=0.19,<1
cramjam>=0.6,<1; python_version>="3.7"
cramjam>=1.3.0,<3; python_version>="3.7"