Fokko opened a new pull request, #1639:
URL: https://github.com/apache/iceberg-python/pull/1639

   Sometime I'm seeing this:
   
   ```
   ImportError while loading conftest 
'/home/runner/work/iceberg-python/iceberg-python/tests/conftest.py'.
   tests/conftest.py:52: in <module>
       from pyiceberg.catalog import Catalog, load_catalog
   pyiceberg/catalog/__init__.py:51: in <module>
       from pyiceberg.serializers import ToOutputFile
   pyiceberg/serializers.py:25: in <module>
       from pyiceberg.table.metadata import TableMetadata, TableMetadataUtil
   pyiceberg/table/__init__.py:65: in <module>
       from pyiceberg.io.pyarrow import ArrowScan, schema_to_pyarrow
   pyiceberg/io/pyarrow.py:141: in <module>
       from pyiceberg.table.locations import load_location_provider
   pyiceberg/table/locations.py:25: in <module>
       from pyiceberg.table import TableProperties
   E   ImportError: cannot import name 'TableProperties' from partially 
initialized module 'pyiceberg.table' (most likely due to a circular import) 
(/home/runner/work/iceberg-python/iceberg-python/pyiceberg/table/__init__.py)
   ```
   
   Also observed in: https://github.com/apache/iceberg-python/pull/1388
   
   I prefer the imports at the top, but I think this is a small price to pay to 
avoid having circular imports.


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to