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 issue with python_bundle_create over multiple targets #3993

Conversation

toddgardner
Copy link

The python_pex_product was being added to the "binary" variable which was from the previous for loop, so what the pex product actually gets added to is just a random target if there's >1. This includes a test which demonstrates the problem.

@stuhood
Copy link
Sponsor Member

stuhood commented Oct 21, 2016

Thanks @tmgardner ! Please see http://www.pantsbuild.org/howto_contribute.html for info on how to post this rbcommons.

@toddgardner toddgardner force-pushed the tmgardner_fix_python_binaries branch from a4a7e66 to 0b30d7c Compare March 26, 2017 03:08
@derrley
Copy link
Contributor

derrley commented Apr 6, 2017

Oof.

I fixed this bug myself a few weeks ago. No need to merge this branch. Although, the test case that @toddgardner has added looks important.

afc17b4

As a side note, I've also developed my own docker plugin, which exposed this bug. Now that @toddgardner 's is getting so much press I'm going to work with my company's open source policy such that I can offer it up for feedback. :D

@jsirois
Copy link
Member

jsirois commented Apr 21, 2017

I'm closing this since #4389 was solved by #4390 as noted by @derrley above in master @ afc17b4
Thanks for the effort to fix this though @toddgardner!

@jsirois jsirois closed this Apr 21, 2017
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.

None yet

5 participants