kevinjqliu commented on issue #3064:
URL: 
https://github.com/apache/iceberg-python/issues/3064#issuecomment-3941910321

   Thanks for the report! I see its in both 0.10 and 0.11
   
   Repro:
   
   ```
   ➜  ~ uv run --python 3.13 --with pyiceberg==0.11.0 -- python -Werror -c 
"from pyiceberg.table import Table"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
       from pyiceberg.table import Table
     File 
"/Users/kevinliu/.cache/uv/archive-v0/DyuS_4kGtSxpu8iwksh55/lib/python3.13/site-packages/pyiceberg/table/__init__.py",
 line 37, in <module>
       import pyiceberg.expressions.parser as parser
     File 
"/Users/kevinliu/.cache/uv/archive-v0/DyuS_4kGtSxpu8iwksh55/lib/python3.13/site-packages/pyiceberg/expressions/parser.py",
 line 268, in <module>
       predicate = (between | comparison | in_check | null_check | nan_check | 
starts_check | boolean).set_results_name("predicate")
     File 
"/Users/kevinliu/.cache/uv/archive-v0/DyuS_4kGtSxpu8iwksh55/lib/python3.13/site-packages/pyparsing/core.py",
 line 653, in set_results_name
       return self._setResultsName(name, list_all_matches)
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Users/kevinliu/.cache/uv/archive-v0/DyuS_4kGtSxpu8iwksh55/lib/python3.13/site-packages/pyparsing/core.py",
 line 4927, in _setResultsName
       return super()._setResultsName(name, list_all_matches)
              ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/Users/kevinliu/.cache/uv/archive-v0/DyuS_4kGtSxpu8iwksh55/lib/python3.13/site-packages/pyparsing/core.py",
 line 4455, in _setResultsName
       warnings.warn(warning, PyparsingDiagnosticWarning, stacklevel=3)
       ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   pyparsing.warnings.PyparsingDiagnosticWarning: 
warn_ungrouped_named_tokens_in_collection: setting results name 'predicate' on 
MatchFirst expression collides with 'boolean' on contained expression
   ```
   
   ```
   ➜  ~ uv run --python 3.13 --with pyiceberg==0.10.0 -- python -Werror -c 
"from pyiceberg.table import Table"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
       from pyiceberg.table import Table
     File 
"/Users/kevinliu/.cache/uv/archive-v0/XZLhb1FjPwKtEGgF5eieN/lib/python3.13/site-packages/pyiceberg/table/__init__.py",
 line 46, in <module>
       import pyiceberg.expressions.parser as parser
     File 
"/Users/kevinliu/.cache/uv/archive-v0/XZLhb1FjPwKtEGgF5eieN/lib/python3.13/site-packages/pyiceberg/expressions/parser.py",
 line 72, in <module>
       ParserElement.enablePackrat()
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
     File 
"/Users/kevinliu/.cache/uv/archive-v0/XZLhb1FjPwKtEGgF5eieN/lib/python3.13/site-packages/pyparsing/util.py",
 line 472, in _inner
       warnings.warn(
       ~~~~~~~~~~~~~^
           f"{compat_name!r} deprecated - use {fn.__name__!r}",
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           PyparsingDeprecationWarning,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           stacklevel=2,
           ^^^^^^^^^^^^^
       )
       ^
   pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - 
use 'enable_packrat'
   ```


-- 
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]

Reply via email to