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

Consider building OS & platform-specific whl archives for PyPI #712

Closed
alexander-pv opened this issue Nov 19, 2023 · 0 comments · Fixed by #762
Closed

Consider building OS & platform-specific whl archives for PyPI #712

alexander-pv opened this issue Nov 19, 2023 · 0 comments · Fixed by #762
Labels
enhancement New feature or request

Comments

@alexander-pv
Copy link
Collaborator

alexander-pv commented Nov 19, 2023

Is your feature request related to a problem? Please describe.
Sometimes people face difficulties installing the package via pypi. Most of these difficulties are related to Cython code compilation. Current .tar.gz causalml archives in PyPI contain Cython code translated into pure C. The compilation process occurs on the user side. From time to time it may be a bit tricky and may require extra time, especially on Win.

I think we need to tackle this question by uploading to PyPI .whl packages with precompiled Cython code for the most commonly used OS & platform configurations:

  • Linux, x86_64
  • Win, x86_64
  • Darwin/MacOS, x86_64, aarch64

Nevertheless, .tar.gz should be also kept in PyPI for rare combinations of os and process architecture.

Related issues: #678, #703, #581

Describe the solution you'd like
GitHub Actions pipeline which builds platform-specific .whl packages with precompiled Cython code and pushes them into PyPI.

Describe alternatives you've considered

Additional context
I have tested .whl building with GitHub Actions for python 3.7-3.11 and everything seems to be working correctly.
Logs: https://github.com/alexander-pv/causalml/actions/runs/6920806678

Available free GitHub runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant