-
Notifications
You must be signed in to change notification settings - Fork 105
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
support pep517 builds - poetry install on Mac fails #133
Comments
Following #130 , build will no longer be necessary for this library - we just need to get a release out. I was hoping to transfer the repo first (so I can be maintainer), but I suppose there's no real reason to wait. Also worth pointing out, that conda has always been a more reliable way to get python+binary packages. |
Are you saying we could work around the issue by not using |
And for that release to be adopted downstream, of course. |
Not build, just get :)
Actually no, unless anyone is pinning versions. It should be a drop-in replacement that looks like a new version of this package, but is calling cramjam. |
I'm sure a lot of people are. It's a common practice to manage dependencies and allow regression testing etc before updating, to avoid having users get annoyed when their project randomly stops working when nothing apparently changed. |
Then they presumably are not using a setup in which build didn't work :) |
Unfortunately that assumption is not valid. There are differences in build success across platforms. |
please check https://pypi.org/project/python-snappy/0.7.0.dev1/ |
I can confirm that Using |
On MacOS 14.3, python 3.11.7, in a project that needs python-snappy as a dependency of another library (in this case, localstack). After installing snappy with brew, the attempt to build python-snappy fails with:
I can manually cause python-snappy to be built with pip, outside of the pep517 / poetry infrastructure, with a workaround command such as the one in the README, e.g. for me:
CPPFLAGS="-I$(brew --prefix)/include -L$(brew --prefix)/lib" poetry run pip install python-snappy
This works but is really frustrating - I see there are quite a lot of MacOS-related build issues already, and am trying to avoid raising a duplicate.
Obviously I'd prefer that the build script just worked entirely, but even if I had to manually set
CPPFLAGS
it would be a big improvement if python-snappy were to support PEP 517 builds directly.The text was updated successfully, but these errors were encountered: