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

Fix for reference cycle from Target to BuildGraph #7666

Merged
merged 2 commits into from
May 7, 2019

Conversation

patliu85
Copy link
Contributor

@patliu85 patliu85 commented May 6, 2019

Problem

As described in #5668

Solution

Use weakref to remove the BuildGraph reference from Target.

Copy link
Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks!

@stuhood
Copy link
Member

stuhood commented May 6, 2019

@patricklaw : It looks like the OSX bootstrap shards got restarted at a bad point, so all of the OSX shards have failed: you should be able to ignore those.

But there are some actual errors on the contrib shards: https://travis-ci.org/pantsbuild/pants/jobs/529019651 ... it looks like it's because there are tests that do a bad job of mocking the BuildGraph.

@stuhood stuhood merged commit ba0132d into pantsbuild:master May 7, 2019
@stuhood stuhood deleted the pliu/5668 branch May 7, 2019 15:36
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