Skip to content

unable to install python CLI on python:3.13-slim docker container #4099

@Zevrap-81

Description

@Zevrap-81

Describe the bug

I have tried to install the polaris cli client on python docker image using test pypi as below:

pip install -i https://test.pypi.org/simple/ apache-polaris

however, i am getting this error

 pip install -i https://test.pypi.org/simple/ apache-polaris
Looking in indexes: https://test.pypi.org/simple/
Collecting apache-polaris
  Using cached https://test-files.pythonhosted.org/packages/72/4f/813aced132089175e580ebed62a83ce94ee7c7984428f6afac5e537a0b5e/apache_polaris-1.2.0.tar.gz (231 kB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error
  
  × installing build dependencies for apache-polaris did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      Looking in indexes: https://test.pypi.org/simple/
      ERROR: Could not find a version that satisfies the requirement poetry-core==2.2.1 (from versions: 1.2.0)
      ERROR: No matching distribution found for poetry-core==2.2.1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'apache-polaris' when installing build dependencies for apache-polaris

Even if install poetry before i am getting the same error

To Reproduce

No response

Actual Behavior

No response

Expected Behavior

No response

Additional context

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions