1.27.x
Some highlights:
- Improved formatting of
./pants helpand./pants goals. .gitignorewill auto-populate the global option--pants-ignore, by default, through the new global option--pants-use-gitignore.- The
dependenciesgoal has a new--type=3rdpartyoption to list the requirement strings of your third-party dependencies. - The
filedepsgoal has a new--transitiveflag to include all used files from dependencies, instead of only files used the target itself. ./pants binarywill now use all fields defined on apython_binarytarget, likezip_safeandplatforms.- When resolving third-party Python dependencies, you can now use the
reposoption in[python-setup]to use custom repositories other than PyPI. ./pants binaryand./pants runbetter support globs of targets; they will filter out all irrelevant targets for you../pants -ldebugand-ltracewill enable logging in PEX for better troubleshooting.- Pytest coverage reports can be written to the console through
--pytest-coverage-report=console. - Pytest coverage reports can be automatically opened through
./pants test --open-coverage. - Fixed how interpreter constraints are applied from dependencies.
See here for a detailed change log.