userzhy opened a new pull request, #6893:
URL: https://github.com/apache/paimon/pull/6893
### Purpose
Linked issue: close #6838
This PR relaxes the overly strict dependency pins (`==`) in
`paimon-python/dev/requirements.txt` to use flexible version ranges (`>=x,<y`).
This makes `pypaimon` installable in modern Python environments where newer
versions of dependencies like pandas 2.x and pyarrow 17+ are required by other
libraries.
**Changes made:**
- `pandas`: Changed from strict version pins to `>=1.3,<3` (for Python
3.7-3.8) and `>=1.5,<3` (for Python 3.9+)
- `pyarrow`: Widened range from `>=16,<19` to `>=16,<20`
- `cachetools`, `fastavro`, `fsspec`, `packaging`, `polars`, `ray`,
`readerwriterlock`, `zstandard`, `pylance`, `ossfs`: All changed from `==` to
flexible `>=x,<y` ranges
### Tests
- [x] Verified dependency resolution with `pip install --dry-run`
- [x] Successfully installed all dependencies with latest compatible versions
- [x] All pypaimon unit tests pass:
- `data_types_test.py`: 5 passed
- `predicates_test.py`: 33 passed
- `binary_row_test.py`: 12 passed
- `serializable_test.py`: 1 passed
- [x] Verified pypaimon module imports correctly with new dependency
versions (pandas 2.3.3, pyarrow 19.0.1, polars 1.36.1, etc.)
### API and Format
No API or storage format changes.
### Documentation
No documentation changes needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]