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

protobuf 3.12.2 #55423

Closed
wants to merge 1 commit into from
Closed

Conversation

anderscarling
Copy link
Contributor

Created with brew bump-formula-pr.

@anderscarling
Copy link
Contributor Author

#54950 also bumps a few other formulas, I'm not sure it that's needed for a minor update such as this. @alebcay could you advise?

@anderscarling
Copy link
Contributor Author

(Other bumps are probably not needed, as #55143 was merged without further changes.)

@anderscarling
Copy link
Contributor Author

If someone could advise on how to properly debug what actually causes the issue in the 10.15-check I could have a look at it.

Seems weird that there should be an issue on only one macOS-version if there is a compatibility issue with a library, does it not?

Copy link
Member

@chenrui333 chenrui333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chenrui333 chenrui333 requested a review from alebcay May 30, 2020 15:09
@chenrui333
Copy link
Member

@anderscarling looks like it was a flaky build?

@alebcay
Copy link
Member

alebcay commented May 31, 2020

I think it was a flaky build. I don't recall exactly what the logs mentioned previously, but it was something regarding postgresql I think (something about resource limits - maybe something about the postinstall step or related to shmget).

Seeing as the Catalina nodes have been falling behind and have probably been really stressed, I'm not too surprised that something broke.

Shouldn't need any revision bumps for a patch release like this, I think. Linkages all seem to be okay.

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@samford
Copy link
Member

samford commented May 31, 2020

Just a heads up for the future, the six resource in this formula should have been bumped to version 1.15.0 in this PR.

@anderscarling
Copy link
Contributor Author

@samford - is that just to keep the dependency up to date, or will building against 1.14 cause issues? If the later, we should probably fix asap.

@samford
Copy link
Member

samford commented May 31, 2020

is that just to keep the dependency up to date, or will building against 1.14 cause issues?

It may work fine on 1.14.0 but part of updating a formula is to update any relevant resources. Basically, the goal is to install the same versions as pip install protobuf would.

To be clear, we don't want to blindly bump the resource to the newest version on PyPi, as we have to take the dependency requirements for protobuf into account. There are a couple ways that you can determine the appropriate resource version for this formula.

The easy way is to install protobuf using pip and to note the version of six installed (afterward you can uninstall everything, to tidy up). This formula only has one resource, so you could also check the relevant dependency requirement in the setup.py file in the protobuf repo and check the latest version of the resource on PyPi.

Regardless of how you go about this, you want to pay attention to resource blocks when updating Python formulae. It's not uncommon for people to run brew bump-formula-pr and miss the resource update(s) but maintainers usually catch this in review and request an update.

I would just leave this as it is and we can update it the next time there's a protobuf version bump (unless someone encounters an issue in the interim time). I just mentioned this to make you aware of the issue for the future.

@anderscarling
Copy link
Contributor Author

Thanks for the great explanation @samford, much appreciated!

@anderscarling anderscarling mentioned this pull request Jun 3, 2020
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.

5 participants