Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polars build failed with poetry when trying to install polars[all] #15

Open
100mi opened this issue Nov 15, 2022 · 0 comments
Open

Polars build failed with poetry when trying to install polars[all] #15

100mi opened this issue Nov 15, 2022 · 0 comments
Labels
priority:low Issue priority is low

Comments

@100mi
Copy link
Contributor

100mi commented Nov 15, 2022

Following output came when tried to install complete version of polars, It failed for subdependency xlsx2csv

➜  hunting git:(feat/pandas-to-polars) ✗ poetry add "polars[all]"
Creating virtualenv hunting in /Users/somitragupta/factly/hunting/.venv
Using version ^0.14.28 for polars

Updating dependencies
Resolving dependencies... (13.6s)

  KeyError

  Package('xlsx2csv', '0.8.0')

  at /usr/local/Cellar/poetry/1.1.13/libexec/lib/python3.10/site-packages/poetry/puzzle/solver.py:270 in _solve
      266│ 
      267│                 continue
      268│ 
      269│             final_packages.append(package)
    → 270│             depths.append(results[package])
      271│ 
      272│         # Return the packages in their original order with associated depths
      273│         return final_packages, depths
      274│ 

As a workaround we are currently using polars with limited sub-dependencies by installing it as :

➜  hunting git:(feat/pandas-to-polars) ✗ poetry add "polars[numpy,pandas,pyarrow,fsspec]"
Using version ^0.14.28 for polars

NOTE : This is not a blocker.

@100mi 100mi added the priority:low Issue priority is low label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Issue priority is low
Projects
None yet
Development

No branches or pull requests

1 participant