-
Notifications
You must be signed in to change notification settings - Fork 6
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
Publish wheels #2
Comments
PyPI has strict binary distribution format like PEP 427 and PEP 491, etc., so it's hard to publish Cython wheels. It does not accept some of my wheels like
Maybe I can publish all wheels for Windows and macOS as they already have the acceptable names... 🤔 |
Yes, I saw the releases & tested them under Windows, Debian 11.x, RedHat 7.x & RedHat 8.x - all worked out of the box 🎉 (just tested with the simple usage example, but I guess that's enough) I agree Windows & macOS should be already ready as they are. What do you think? |
It looks interesting. I will try this weekend. |
I am trying to install a rather complex set of packages to support a particular github repository. A requirement is to install lapx wheel using pip. I am on an MacOS 13.4.1 system on M1 Max (arm64), Python 3.11.4. It fails the build. I will attach the error log here. What should I do to install the package? |
Hi, I don't have MacBook arm64 M1 or M2 to test, but I can tell you that lapx needs C++ compiler to build Cython extension. According to your log, the path of your clang compiler is not set or not recognized.
Maybe you should check if you can compile any C++ file from your terminal. This might be helpful for you: https://apple.stackexchange.com/questions/414622/installing-a-c-c-library-with-homebrew-on-m1-macs |
Perfect! Thank you. I had just the day before upgraded the OS (major from 12.something to the latest 13.4.1) and I did not check to see if the Mac xcode command line tools (which includes the CLANG and C++ compilers) had come along or needed to be installed. When I install the xcode command line tools afresh, the build worked perfectly. Thank you so much for quick response! |
I'm glad to hear that! Thanks for letting me know. |
Not yet finished.. I will try cibuildwheel under a new branch https://github.com/rathaROG/lapx/tree/cibuildwheel |
It's now completed! Try the new -> v0.5.3 Tested on latest Linux Mint 21.2 Tested on WSL Ubuntu Tested on native Windows 11 |
Looks great - thanks for the efforts. I did already some basic tests & everything seems to work as expected :) |
Thank you very much for the tests! |
Hi @rathaROG,
thanks for you efforts to make
lap
easier distributable - I really appreciate it!One question: Could it be that the wheels are not published to pypi.org? If I try to install if (on any platform) it downloads the .tar.gz & tries to build it locally (on the pypi.org webpage I find also only the .tar.gz).
Is it possible that the publish workflow (https://github.com/rathaROG/lapx/blob/main/.github/workflows/build_pypi.yaml#L25) does not do, what it should do?
The text was updated successfully, but these errors were encountered: