wufh43 opened a new issue, #3190:
URL: https://github.com/apache/iceberg-python/issues/3190

   ### Apache Iceberg version
   
   0.11.0 (latest release)
   
   ### Please describe the bug 🐞
   
   We've been using pyiceberg-core with uv like so:
   
   ```
   uv run --native-tls --with pyiceberg-core
   ```
   
   Before 0.9.0, this worked without having any rust tooling installed.
   
   With 0.9.0, it tries to build the pyiceberg-core package from sources, which 
requires rust.
   
   Here is the output for 0.8.0
   
   ```
   $ uv run -v --native-tls --with pyiceberg-core==0.8.0
   DEBUG uv 0.10.12 (x86_64-unknown-linux-gnu)
   DEBUG No project found; searching for Python interpreter
   DEBUG No Python version file found in ancestors of working directory: 
/home/user
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Searching for default Python interpreter in virtual environments, 
managed installations, or search path
   DEBUG Searching for managed installations at `.local/share/uv/python`
   DEBUG Found managed installation `cpython-3.15.0a2-linux-x86_64-gnu`
   DEBUG Found `cpython-3.15.0a2-linux-x86_64-gnu` at 
`/home/user/.local/share/uv/python/cpython-3.15.0a2-linux-x86_64-gnu/bin/python3.15`
 (managed installations)
   DEBUG Skipping pre-release installation cpython-3.15.0a2-linux-x86_64-gnu
   DEBUG Found managed installation `cpython-3.12.12-linux-x86_64-gnu`
   DEBUG Found `cpython-3.12.12-linux-x86_64-gnu` at 
`/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12`
 (managed installations)
   DEBUG Using Python 3.12.12 interpreter at: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG At least one requirement is not satisfied in the base environment: 
pyiceberg-core==0.8.0
   DEBUG Syncing `--with` requirements to cached environment
   DEBUG Assessing Python executable as base candidate: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Caching via base interpreter: 
`/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12`
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Solving with installed Python version: 3.12.12
   DEBUG Solving with target Python version: >=3.12.12
   DEBUG Adding direct dependency: pyiceberg-core>=0.8.0, <0.8.0+
   DEBUG No cache entry for: https://pypi.org/simple/pyiceberg-core/
   DEBUG Sending fresh GET request for: https://pypi.org/simple/pyiceberg-core/
   DEBUG Searching for a compatible version of pyiceberg-core (>=0.8.0, <0.8.0+)
   DEBUG Selecting: pyiceberg-core==0.8.0 [compatible] 
(pyiceberg_core-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl)
   DEBUG No cache entry for: 
https://files.pythonhosted.org/packages/95/4b/f799e5c7a2b2ede75514e64901503358a7a134ca1ea217fd86535af533b6/pyiceberg_core-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
   DEBUG Sending fresh GET request for: 
https://files.pythonhosted.org/packages/95/4b/f799e5c7a2b2ede75514e64901503358a7a134ca1ea217fd86535af533b6/pyiceberg_core-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
   DEBUG Tried 1 versions: pyiceberg-core 1
   DEBUG marker environment resolution took 0.066s
   Resolved 1 package in 67ms
   DEBUG Assessing Python executable as base candidate: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Using base executable for virtual environment: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Identified uncached distribution: pyiceberg-core==0.8.0
   DEBUG No cache entry for: 
https://files.pythonhosted.org/packages/95/4b/f799e5c7a2b2ede75514e64901503358a7a134ca1ea217fd86535af533b6/pyiceberg_core-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
   DEBUG Sending fresh GET request for: 
https://files.pythonhosted.org/packages/95/4b/f799e5c7a2b2ede75514e64901503358a7a134ca1ea217fd86535af533b6/pyiceberg_core-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
   Downloading pyiceberg-core (13.2MiB)
    Downloaded pyiceberg-core
   Prepared 1 package in 1.02s
   Installed 1 package in 95ms
    + pyiceberg-core==0.8.0
   ```
   
   And for 0.9.0:
   
   ```
   DEBUG uv 0.10.12 (x86_64-unknown-linux-gnu)
   DEBUG No project found; searching for Python interpreter
   DEBUG No Python version file found in ancestors of working directory: 
/home/user
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Searching for default Python interpreter in virtual environments, 
managed installations, or search path
   DEBUG Searching for managed installations at `.local/share/uv/python`
   DEBUG Found managed installation `cpython-3.15.0a2-linux-x86_64-gnu`
   DEBUG Found `cpython-3.15.0a2-linux-x86_64-gnu` at 
`/home/user/.local/share/uv/python/cpython-3.15.0a2-linux-x86_64-gnu/bin/python3.15`
 (managed installations)
   DEBUG Skipping pre-release installation cpython-3.15.0a2-linux-x86_64-gnu
   DEBUG Found managed installation `cpython-3.12.12-linux-x86_64-gnu`
   DEBUG Found `cpython-3.12.12-linux-x86_64-gnu` at 
`/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12`
 (managed installations)
   DEBUG Using Python 3.12.12 interpreter at: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG At least one requirement is not satisfied in the base environment: 
pyiceberg-core==0.9.0
   DEBUG Syncing `--with` requirements to cached environment
   DEBUG Assessing Python executable as base candidate: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Caching via base interpreter: 
`/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12`
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Solving with installed Python version: 3.12.12
   DEBUG Solving with target Python version: >=3.12.12
   DEBUG Adding direct dependency: pyiceberg-core>=0.9.0, <0.9.0+
   DEBUG Found fresh response for: https://pypi.org/simple/pyiceberg-core/
   DEBUG Searching for a compatible version of pyiceberg-core (>=0.9.0, <0.9.0+)
   DEBUG Selecting: pyiceberg-core==0.9.0 [compatible] 
(pyiceberg_core-0.9.0.tar.gz)
   DEBUG No cache entry for: 
https://files.pythonhosted.org/packages/fa/2f/ccb605b8f09dc417dc01345f13273688efcd08e9a4c8297749fab20a1441/pyiceberg_core-0.9.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.metadata
   DEBUG Sending fresh GET request for: 
https://files.pythonhosted.org/packages/fa/2f/ccb605b8f09dc417dc01345f13273688efcd08e9a4c8297749fab20a1441/pyiceberg_core-0.9.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.metadata
   DEBUG Tried 1 versions: pyiceberg-core 1
   DEBUG marker environment resolution took 0.024s
   Resolved 1 package in 25ms
   DEBUG Assessing Python executable as base candidate: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Using base executable for virtual environment: 
/home/user/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
   DEBUG Using request connect timeout of 10s and read timeout of 30s
   DEBUG Identified uncached distribution: pyiceberg-core==0.9.0
   DEBUG Found fresh response for: 
https://files.pythonhosted.org/packages/ab/a3/2fd5953aa1cdc8dca3b498b4d7691db8431a1199df95a4e826d120860880/pyiceberg_core-0.9.0.tar.gz
      Building pyiceberg-core==0.9.0
   ...
   ```
   
   
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


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