This pulls in 2 important fixes for commons python:
Fixes broken thrift handling in the run, repl, compile, test and
binary goals.
Fixes python thrift stub publishing to work in the setup-py goal.
The python thrift stub publishing fix does require a change to the old
publishing scheme where the plain python_library target depending on the
python thrift stub code would include that code in its sdist. That
arrangment was not generally provably sound (more than one
python_library might depend on the thrift stubs in which case both woul
publish with the embedded thrift stub code). The new arrangement just
requires published python_thrift_libraries have their own setup_py and
this change adds those for the 2 python_thrift_libraries that were
implicitly published previously.
Some additional BUILD and pants.ini config cleanups are also included.
See the pants changelog here: https://pypi.python.org/pypi/pantsbuild.pants/0.0.39
This pulls in 2 important fixes for commons python:
The python thrift stub publishing fix does require a change to the old publishing scheme where the plain python_library target depending on the python thrift stub code would include that code in its sdist. That arrangment was not generally provably sound (more than one python_library might depend on the thrift stubs in which case both woul publish with the embedded thrift stub code). The new arrangement just requires published python_thrift_libraries have their own setup_py and this change adds those for the 2 python_thrift_libraries that were implicitly published previously.
Some additional BUILD and pants.ini config cleanups are also included.
https://rbcommons.com/s/twitter/r/2530/