calm-artist-46894
03/30/2020, 4:52 PMpants_version = "1.27.0.dev1"
default zip_safe
to true
for python_binary? (Used to be false
for earlier version).
Is it configurable for a given target? Or a global overwrite in pants.toml
?hundreds-father-404
03/30/2020, 5:41 PMTrue
since 2014. You override it in your BUILD file by setting zip_safe=False
for the python_binary
target.
But V2 does not yet respect the field if you have it in a BUILD file, which is only due to us not implementing it yet. If you’re trying to use V2 binary, we can gladly add that mechanism!calm-artist-46894
03/30/2020, 5:42 PMhundreds-father-404
03/30/2020, 5:44 PMemit_warnings
and shebang
.calm-artist-46894
03/30/2020, 5:44 PMhundreds-father-404
03/30/2020, 5:46 PMastonishing-jelly-60479
03/30/2020, 5:52 PMhundreds-father-404
03/30/2020, 5:58 PMpython_binary
fields, we simply haven’t finished implementing it yet.
Things that we won’t be porting to V2 have been going through the deprecation policy at https://www.pantsbuild.org/deprecation_policy.html (tl;dr: the deprecated thing must go through a complete release cycle before being removed so that you never have something removed on you without seeing a deprecation the release before).
We’ve been trying to identify things that we can have users start adapting to now to make the migration path to V2 very painless and something that only brings upside. For example, we deprecated ./pants --test-pytest-fast
, because that option and behavior doesn’t make sense in V2.happy-kitchen-89482
03/30/2020, 9:48 PMastonishing-jelly-60479
03/30/2020, 9:48 PMhappy-kitchen-89482
03/30/2020, 9:48 PMcalm-artist-46894
03/30/2020, 9:52 PMhundreds-father-404
04/02/2020, 9:34 PMpython_binary
fields like zip_safe
🙂calm-artist-46894
04/06/2020, 6:08 PM