This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 30bd692688 [python] Remove oss and pylance from requirements deps
30bd692688 is described below
commit 30bd69268883c27bef99927961bd85a559ba8665
Author: JingsongLi <[email protected]>
AuthorDate: Sat Mar 7 12:10:47 2026 +0800
[python] Remove oss and pylance from requirements deps
---
paimon-python/dev/requirements.txt | 5 -----
paimon-python/setup.py | 10 +++++++---
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/paimon-python/dev/requirements.txt
b/paimon-python/dev/requirements.txt
index 3b7b6e1b98..936fd23198 100644
--- a/paimon-python/dev/requirements.txt
+++ b/paimon-python/dev/requirements.txt
@@ -15,15 +15,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
-# Core dependencies for pypaimon
cachetools>=4.2,<6; python_version=="3.6"
cachetools>=5,<6; python_version>"3.6"
dataclasses>=0.8; python_version < "3.7"
fastavro>=1.4,<2
fsspec>=2021.10,<2026; python_version<"3.8"
fsspec>=2023,<2026; python_version>="3.8"
-ossfs>=2021.8; python_version<"3.8"
-ossfs>=2023; python_version>="3.8"
packaging>=21,<26
pandas>=1.1,<2; python_version < "3.7"
pandas>=1.3,<3; python_version >= "3.7" and python_version < "3.9"
@@ -32,8 +29,6 @@ polars>=0.9,<1; python_version<"3.8"
polars>=1,<2; python_version>="3.8"
pyarrow>=6,<7; python_version < "3.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
readerwriterlock>=1,<2
zstandard>=0.19,<1
diff --git a/paimon-python/setup.py b/paimon-python/setup.py
index 0e77e85d4a..18af2e3f76 100644
--- a/paimon-python/setup.py
+++ b/paimon-python/setup.py
@@ -57,9 +57,13 @@ setup(
'torch': [
'torch',
],
- 'all': [
- 'ray>=2.10,<3; python_version>="3.7"',
- 'torch'
+ 'oss': [
+ 'ossfs>=2021.8; python_version<"3.8"',
+ 'ossfs>=2023; python_version>="3.8"'
+ ],
+ 'lance': [
+ 'pylance>=0.20,<1; python_version>="3.9"',
+ 'pylance>=0.10,<1; python_version>="3.8" and python_version<"3.9"'
],
},
description="Apache Paimon Python API",