This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new b43689a6 Run `uv lock --upgrade` to upgrade pyparsing (#2850)
b43689a6 is described below

commit b43689a62447260f940f082f559ccc524c4f708e
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Dec 22 19:09:20 2025 +0100

    Run `uv lock --upgrade` to upgrade pyparsing (#2850)
    
    <!--
    Thanks for opening a pull request!
    -->
    
    <!-- In the case this PR will resolve an issue, please replace
    ${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
    Closes #2849
    
    # Rationale for this change
    
    A later version of PyParsing has a method deprecated:
    ```
    ImportError while loading conftest 
'/home/runner/work/iceberg-python/iceberg-python/tests/conftest.py'.
    tests/conftest.py:49: in <module>
        from pyiceberg.catalog import Catalog, load_catalog
    pyiceberg/catalog/__init__.py:45: in <module>
        from pyiceberg.serializers import ToOutputFile
    pyiceberg/serializers.py:25: in <module>
        from pyiceberg.table.metadata import TableMetadata, TableMetadataUtil
    pyiceberg/table/__init__.py:38: in <module>
        import pyiceberg.expressions.parser as parser
    pyiceberg/expressions/parser.py:72: in <module>
        ParserElement.enablePackrat()
    .venv/lib/python3.10/site-packages/pyparsing/util.py:445: in _inner
        warnings.warn(
    E   DeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
    make: *** [Makefile:96: test] Error 4
    ```
    
    ## Are these changes tested?
    
    ## Are there any user-facing changes?
    
    <!-- In the case of user-facing changes, please add the changelog label.
    -->
---
 pyiceberg/expressions/parser.py | 4 ++--
 uv.lock                         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pyiceberg/expressions/parser.py b/pyiceberg/expressions/parser.py
index 60846791..63b5b50d 100644
--- a/pyiceberg/expressions/parser.py
+++ b/pyiceberg/expressions/parser.py
@@ -69,7 +69,7 @@ from pyiceberg.expressions.literals import (
 from pyiceberg.typedef import L
 from pyiceberg.types import strtobool
 
-ParserElement.enablePackrat()
+ParserElement.enable_packrat()
 
 AND = CaselessKeyword("and")
 OR = CaselessKeyword("or")
@@ -82,7 +82,7 @@ LIKE = CaselessKeyword("like")
 BETWEEN = CaselessKeyword("between")
 
 unquoted_identifier = Word(alphas + "_", alphanums + "_$")
-quoted_identifier = QuotedString('"', escChar="\\", unquoteResults=True)
+quoted_identifier = QuotedString('"', esc_quote="\\", unquote_results=True)
 
 
 @quoted_identifier.set_parse_action
diff --git a/uv.lock b/uv.lock
index d33b96a8..53525061 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3925,11 +3925,11 @@ wheels = [
 
 [[package]]
 name = "pyparsing"
-version = "3.2.5"
+version = "3.3.0"
 source = { registry = "https://pypi.org/simple"; }
-sdist = { url = 
"https://files.pythonhosted.org/packages/f2/a5/181488fc2b9d093e3972d2a472855aae8a03f000592dbfce716a512b3359/pyparsing-3.2.5.tar.gz";,
 hash = 
"sha256:2df8d5b7b2802ef88e8d016a2eb9c7aeaa923529cd251ed0fe4608275d4105b6", size 
= 1099274, upload-time = "2025-09-21T04:11:06.277Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/62/1d/d559954c70be4aade5a6c292c2a940718c4f1da764866b82d8f4261eea3c/pyparsing-3.3.0.tar.gz";,
 hash = 
"sha256:0de16f2661afbab11fe6645d9472c3b96968d2fffea5b0cc9da88f5be286f039", size 
= 1550386, upload-time = "2025-12-22T14:49:04.322Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/10/5e/1aa9a93198c6b64513c9d7752de7422c06402de6600a8767da1524f9570b/pyparsing-3.2.5-py3-none-any.whl";,
 hash = 
"sha256:e38a4f02064cf41fe6593d328d0512495ad1f3d8a91c4f73fc401b3079a59a5e", size 
= 113890, upload-time = "2025-09-21T04:11:04.117Z" },
+    { url = 
"https://files.pythonhosted.org/packages/c8/23/c8dd17cbb1bd6614f306a983e260e31c01f3e8e8cc8954ba68749db6ae82/pyparsing-3.3.0-py3-none-any.whl";,
 hash = 
"sha256:d15038408e0097d3a01e7e0846731f7f2450c5b6e4a75a52baabd6bbf24585be", size 
= 121782, upload-time = "2025-12-22T14:49:02.822Z" },
 ]
 
 [[package]]

Reply via email to