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

uwsgiconfig: Drop Homebrew-specific workaround #2314

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andreabolognani
Copy link

This is a tentative pull request because the necessary changes to Homebrew haven't been accepted yet.

In Homebrew/homebrew-core#74516, the libvirt developers have been attempting to get the yajl issues that 80c3d65 was intended to work around addressed in Homebrew. We have our own, similar workaround already in place, but we believe that the issue would be better fixed once and for all in Homebrew rather than worked around separately in each project that uses yajl and wants to support macOS.

The Homebrew maintainers have, quite understandably, been reluctant to introduce and carry a downstream-only patch. In a recent comment however, the maintainers declared themselves willing to consider incorporating the fix under the condition that at least one more project in addition to libvirt would ask for that to happen.

Would uwsgi developers be willing to join the libvirt developers in asking for this bug in yajl to be addressed in Homebrew instead of being worked around in each project that uses the library?

Thank you for your consideration!

As of

  <insert homebrew-core.git commit reference here>

the cflags obtained using pkg-config are already correct, so
it's no longer necessary to fix them ourselves before use.

Reverts: 80c3d65
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
@xrmx
Copy link
Collaborator

xrmx commented May 21, 2021

If we remove the workaround from our side won't it break with people with an older version of yajl installed from brew though?

@andreabolognani
Copy link
Author

andreabolognani commented May 21, 2021

If we remove the workaround from our side won't it break with people with an older version of yajl installed from brew though?

Yeah, depending on your platform support policy you might not be able to drop the workaround right away, but after some sensible delay it's going to be okay to assume people have upgraded their system. The exact definition of "sensible" in this context is left to you of course ;)

With that in mind, would you be willing to voice your support for this change being made in Homebrew, even though it might be a while before you can actually reap the benefits? If so, please drop a comment in Homebrew/homebrew-core#74516 indicating this and clearly stating your affiliation with the uwsgi project. Thank you!

@andreabolognani
Copy link
Author

Hi, just a polite ping :)

Any chance you could go to Homebrew/homebrew-core#74516 and show your support for working around the yajl pkg-config issue in Homebrew instead of yajl-using applications?

Thanks!

@andreabolognani
Copy link
Author

Hi, another polite ping :)

It'd be great if you would consider supporting this change in Homebrew! Doing so should only take a few minutes of your time.

Thanks :)

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

Successfully merging this pull request may close these issues.

2 participants