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

Provide Anaconda package #383

Closed
impredicative opened this issue Mar 2, 2021 · 14 comments
Closed

Provide Anaconda package #383

impredicative opened this issue Mar 2, 2021 · 14 comments
Labels
help wanted Extra attention is needed

Comments

@impredicative
Copy link

impredicative commented Mar 2, 2021

Noting that pandas is available as a conda package in the conda-forge and anaconda channels, I request that py-polars also be available similarly. If provided, it would have to consistently be released at about the same time as the PyPI package. This is a low priority request as I can currently install and use the PyPI package.

@ritchie46
Copy link
Member

To my knowledge compiling for anaconda isn't trivial. It assumes pure python code, or a not-Rust compiler.

I shall tag it help-wanted. Maybe someone with more knowledge on anaconda/ cross-compiling could pick that up.

@ritchie46 ritchie46 added the help wanted Extra attention is needed label Mar 7, 2021
@alippai
Copy link

alippai commented Mar 7, 2021

I can try creating a conda package in 1-2 weeks if others don't succeed.

@ritchie46
Copy link
Member

@alippai That would be great!

@sugatoray
Copy link

@alippai @ritchie46 Any update on creating a conda package?

@sugatoray
Copy link

sugatoray commented Nov 2, 2021

cc: @alippai @ritchie46

I started a PR on conda-forge for polars. But am getting errors for the following experimental feature (SIMD). How do I disable SIMD while building polars for conda?

Link to code: SIMD

conda-forge polars branch: https://github.com/sugatoray/staged-recipes/tree/polars
PR: conda-forge/staged-recipes#16717
Latest job run failure (at build stage): https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=401212&view=logs&j=6f142865-96c3-535c-b7ea-873d86b887bd&t=22b0682d-ab9e-55d7-9c79-49f3c3ba4823

@Maxyme
Copy link
Contributor

Maxyme commented May 11, 2022

@sugatoray the issue is that simd is a nightly-only experimental API and therefore Polars needs rust-nightly to compile.
I created a PR here (conda-forge/staged-recipes#18906) and got most of my inspiration from ORJSON's feedstock (https://github.com/conda-forge/orjson-feedstock) to download and install rust-nightly from linux and windows.

@timkpaine
Copy link

@timkpaine
Copy link

@Maxyme hopefully yours works, mine was working but it takes >6 hours to run and times out conda's build limit

@Maxyme
Copy link
Contributor

Maxyme commented May 12, 2022

@timkpaine Thanks for the information, I was able to have a succesful macos build yesterday, and it looks like linux works too, just having some issues still with the windows build, either I can fix it, or will disable it for now.

@timkpaine
Copy link

timkpaine commented May 12, 2022

@Maxyme if you skip windows for now and add me on the feedstock I can look at windows. I would also add @ritchie46 and @sugatoray to the feedstock list (you can add folks after the feedstock is made with a simple command that skips CI as well)

@Maxyme
Copy link
Contributor

Maxyme commented May 12, 2022

@timkpaine I updated the pr to add suggested maintainers and skipping windows builds for now. Thanks for looking into this, I think it's quite close to building successfully, I linked the issue as a comment in the meta.yaml to help for the subsequent builds.
I'm excited to see this project on conda as it will open it up to more users.

@timkpaine
Copy link

Awesome this is good, im glad this will finally get across the line after 5 attempts! It will be good for other rust-based python projects down the line as well as this is likely the most popular/visible one onboarding to conda forge

@sugatoray
Copy link

@Maxyme Thank you, for putting time into this and making it work. 🚀

@Maxyme
Copy link
Contributor

Maxyme commented Jun 7, 2022

Update: polars is now an anaconda package on channel conda-forge: https://anaconda.org/conda-forge/polars/files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants