djouallah opened a new issue, #375:
URL: https://github.com/apache/iceberg-python/issues/375
### Apache Iceberg version
main (development)
### Please describe the bug 🐞
trying to install rc2 in Fabric runtime
```
Installing collected packages: sortedcontainers, mmhash3, typing-extensions,
pyparsing, annotated-types, strictyaml, pydantic-core, pydantic
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.5.0
Uninstalling typing_extensions-4.5.0:
Successfully uninstalled typing_extensions-4.5.0
Attempting uninstall: pyparsing
Found existing installation: pyparsing 3.0.9
Uninstalling pyparsing-3.0.9:
Successfully uninstalled pyparsing-3.0.9
Attempting uninstall: pydantic
Found existing installation: pydantic 1.10.9
Uninstalling pydantic-1.10.9:
Successfully uninstalled pydantic-1.10.9
ERROR: pip's dependency resolver does not currently take into account all
the packages that are installed. This behaviour is the source of the following
dependency conflicts.
sentence-transformers 2.0.0 requires sentencepiece, which is not installed.
sentence-transformers 2.0.0 requires torchvision, which is not installed.
dash 2.14.0 requires Flask<2.3.0,>=1.0.4, but you have flask 3.0.0 which is
incompatible.
dash 2.14.0 requires Werkzeug<2.3.0, but you have werkzeug 3.0.1 which is
incompatible.
matplotlib 3.7.2 requires pyparsing<3.1,>=2.3.1, but you have pyparsing
3.1.1 which is incompatible.
tensorflow 2.12.1 requires typing-extensions<4.6.0,>=3.6.6, but you have
typing-extensions 4.9.0 which is incompatible.
Successfully installed annotated-types-0.6.0 mmhash3-3.0.1 pydantic-2.6.1
pydantic-core-2.16.2 pyparsing-3.1.1 sortedcontainers-2.4.0 strictyaml-1.7.3
typing-extensions-4.8.0
Note: you may need to restart the kernel to use updated packages.
```
then when I try to run it
```
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[23], line 1
----> 1 from pyiceberg.table import StaticTable
2 from pyiceberg.expressions import GreaterThanOrEqual
3 table =
StaticTable.from_metadata("/lakehouse/default/Files/database/customer/metadata/v1704189432100000000.metadata.json"
)
File
~/cluster-env/trident_env/lib/python3.10/site-packages/pyiceberg/table/__init__.py:44
28 from itertools import chain
29 from typing import (
30 TYPE_CHECKING,
31 Any,
(...)
41 Union,
42 )
---> 44 from pydantic import Field, SerializeAsAny
45 from sortedcontainers import SortedList
46 from typing_extensions import Annotated
ImportError: cannot import name 'SerializeAsAny' from 'pydantic'
(/home/trusted-service-user/cluster-env/trident_env/lib/python3.10/site-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]