pants

The Pants Build System

APACHE-2.0 License

Downloads
117.9K
Stars
3.1K
Committers
342

Bot releases are hidden (Show)

pants -

Published by stuhood about 3 years ago

Bug fixes

  • Fix shlexing of passthrough args. (#12547) (#12551)

Performance

  • Stream files into the local store while capturing them (cherrypick of #12563) (#12572)
pants -

Published by stuhood about 3 years ago

New Features

  • Add additional Google Cloud libraries to dependency inference's default module mapping (#12553)

  • Validate that pytest-cov is installed when [test].use_coverage is set (#12534)

User API Changes

  • Deprecate --pants-supportdir, rename --engine-visualize-to, and fix help for --loop. (#12558)

  • Change the PythonProtobufMypyPlugin option scope. (#12525)

Plugin API Changes

  • Upgrade packaging from 20.9 to 21.0 (#12561)

  • Allow newer versions of setuptools and wheel. (#12555)

  • Deprecate an options scope with underscores. (#12532)

  • Remove TestResult.skip() in favor of TestFieldSet.opt_out() (#12516)

  • Finally get rid of Optionable entirely. (#12538)

Bug fixes

  • Fix shfmt and --test-open-coverage to handle CPU architecture Platform changes (#12546)

  • Fix asdf directory lookup. (#12528)

  • Fix shlexing of passthrough args. (#12547)

  • pyenv should fall back to $HOME/.pyenv (#12527)

Performance

  • Stream files into the local store while capturing them (#12563)

  • use REAPI batch API for small blob writes (#12537)

  • add capabilties cache for remote store client (#12522)

pants -

Published by stuhood about 3 years ago

Bug fixes

  • Resolve plugins using the PEX --python option. (cherrypick of #12500) (#12505)
pants -

Published by stuhood about 3 years ago

New Features

  • Add skip_tests field to python_tests to facilitate incremental migrations (Cherry-pick of #12510) (#12511)

  • Adds support for Poetry group dependencies (Cherry-pick of #12492) (#12497)

User API Changes

  • Add to default module mapping: Django extensions, Google Cloud, Pillow, and python-dotenv (Cherry-pick of #12506) (#12507)

Bug fixes

  • Make the pantsd crash error message more precise. (#12512) (#12513)

  • Resolve plugins using the PEX --python option. (cherrypick of #12500) (#12504)

  • Shield isolated-Sessions / StreamingWorkunitHandlers from Ctrl+C. (cherrypick of #12483) (#12485)

Performance

  • Don't resolve constraints file / lockfile if no 3rd-party requirements used (Cherry-pick of #12488) (#12490)
pants -

Published by stuhood about 3 years ago

New Features

  • Add skip_tests field to python_tests to facilitate incremental migrations (#12510)

  • Adds support for Poetry group dependencies (#12492)

  • Tailor pex_binary targets for entry points. (#12478)

User API Changes

  • Add to default module mapping: Django extensions, Google Cloud, Pillow, and python-dotenv (#12506)

Plugin API Changes

  • Refactor Pex working directory handling. (#12479)

Bug fixes

  • Make the pantsd crash error message more precise. (#12512)

  • Resolve plugins using the PEX --python option. (#12500)

  • Shield isolated-Sessions / StreamingWorkunitHandlers from Ctrl+C. (#12483)

  • Fix default coverage collection. (#12477)

Performance

  • Don't resolve constraints file / lockfile if no 3rd-party requirements used (#12488)
pants -

Published by wisechengyi over 3 years ago

New Features

  • Allow restricting which versions are valid for ExternalTools. (#12332)

  • Add yapf Python formatter (#12317)

  • Add ASDF support to interpreter-search-paths (#12028)

Plugin API Changes

  • Validate option default values to be of correct type. (#12331)

Bug fixes

  • Do not leak subsystems as goals to the command line interface (#12337)

  • Fix anonymous telemetry logging. (#12340)

  • Fixup incorrect platform help message. (#12320)

Documentation

  • Improve wording for pex_binary platforms field help (#12304)

pants -

Published by illicitonion over 3 years ago

New Features

  • Add skimage module mapping for dependency inference (#12301)

  • Add experimental terraform plugin with fmt and lint rules (#11973)

  • Add support for MyPy report files (#12271)

  • Support running tailor on subdirs. (#12262)

  • Support building dists from preexisting setup.py. (#12250)

User API Changes

  • Don't tailor a python_library for a solitary init.py. (#12288)

  • Apply a concurrency limit to remote store/cache/execution gRPC requests (#12256)

Bug fixes

  • Fix poetry_requirements: ignore internal projects. (#12280)

  • Fix poetry_requirements handling of python. (#12278)

  • Do not use [python-setup].resolve_all_constraints when using platforms (#12268)

  • Hotfix for poetry_requirements not being recognized as a macro in build files (#12263)

  • Include experimental Go backends in pantsbuild.pants (#12290)

Documentation

  • Improve error for out-of-line Gets. (#12305)
pants -

Published by wisechengyi over 3 years ago

New Features

  • Allow setting --pantsd-max-memory-usage with GiB, MiB, and KiB units (#12123)

  • Register strip_pex_env field with pex_binary. (#12147)

User API Changes

  • Fix [python-setup].resolver_jobs default value to better recognize containers (#12139)

  • Deprecate broken [lint].reports_dir and make mechanism more flexible (#12122)

  • Change Docformatter to not try to use Python 2 and Python 3.5 by default (#12099)

Plugin API Changes

  • Allow overriding option default help display. (#12128)

  • Rename ProcessCacheScope.NEVER to ProcessCacheScope.PER_SESSION (#12100)

  • Replace ProcessCacheScope.PER_RESTART with ProcessCacheScope.PER_RESTART_ALWAYS and ProcessCacheScope.PER_RESTART_SUCCESSFUL (#12094)

Performance

  • add retries for reads and writes from remote CAS (#12132)

  • Fix --coverage-py-global-report for >9 test files. (#12144)

Documentation

  • Clarify the default values for parallelism options (#12119)

  • Make timeouts in tests less confusing (#12120)

  • Rewrite error message when Pantsd is shut down during run (#12107)

  • Fix scheduler initialization log (#12105)

pants -

Published by benjyw over 3 years ago

New Features

  • Allow skipping linters/formatters/typecheckers by target (#12008)

  • Add runtime_package_dependencies field to shunit2_tests (#11997)

  • Tell isort to use the config file at [isort].config when safe to do so (#11994)

  • Support [coverage.py] config files using pyproject.toml, setup.cfg, and tox.ini (#11993)

  • Check parent directories too for config files for tools Pants runs (#11992)

User API Changes

  • Make python-setup resolve_all_constraints a bool. (#11985)

  • Add back interpreter_constraints field to python_awslambda (#11982)

  • Add back interpreter_constraints field to pex_binary (#11977)

Plugin API Changes

  • Add mechanism for targets to opt out of field sets (#12002)

  • Add TriBoolField field template (#12004)

  • Discover config files automatically for tools Pants runs (#11995)

  • Don't require a kwarg for Target and Field constructors (#11984)

Performance

  • Don't parse string imports if not enabled (#11975)

Documentation

  • Don't include file name in deprecation warnings (#12007)

  • Stop falling back to docstring for help messages for Target and Field (#12003)

  • Suggest using ./pants tailor when target doesn't exist for a file argument (#11996)

  • Make remote cache warning less chatty for missing files (#11976)

pants -

Published by Eric-Arellano over 3 years ago

Bug fixes

  • Wait for all Sessions during pantsd shutdown (cherrypick of #11929) (#11934)

  • Retrieve RunTracker args from the OptionsBootstrapper. (cherrypick of #11931) (#11932)

pants -

Published by Eric-Arellano over 3 years ago

User API Changes

  • Upgrade the default mypy to a version that works with namespace packages (#11945)

  • Run MyPy only on specified files, not transitive closure (#11936)

Plugin API Changes

  • Upgrade Pants to Pex 2.1.40. (#11964)

Bug fixes

  • Release pants.pex in --unzip mode to workaround not loading properly (#11955)

  • Fix remote cache writes to not block the Pants run (#11947)

  • Fix python process name extraction. (#11966)

pants - release_2.5.0.dev1

Published by wisechengyi over 3 years ago

New Features

  • Add dependency inference for Shell (#11857)

  • Add Shell support with Shellcheck, shmft, and shunit2 test runner (#11844)

  • Warn if config files detected but not wired up to Pants (#11852)

  • Warn when dependency inference fails for protobuf_library targets due to ambiguity (#11849)

User API Changes

  • Remove deprecated unzip field for pex_binary (#11868)

  • Deprecate --ignore-pants-warnings in favor of --ignore-warnings (#11851)

Plugin API changes

  • Require WorkunitsCallback to set can_finish_async (#11687)

Documentation

  • Fix type in tags help message (#11836)
pants -

Published by benjyw over 3 years ago

Bug fixes

  • Fix a bug in unicode string dep inference. (cherrypick of #11879) (#11883)
pants -

Published by benjyw over 3 years ago

Bug fixes

  • Fix a bug in unicode string dep inference. (cherrypick of #11879) (#11881)
pants -

Published by illicitonion over 3 years ago

New Features

  • Subset lockfile resolves. (#11773)

User API Changes

  • Remove deprecated --process-execution-cleanup-local-dirs, --process-execution-use-local-cache, and --process-execution-local-enable-nailgun (#11821)

  • Always use new pip resolver and remove deprecated [python-setup].resolver_version (#11819)

  • Remove deprecated [setuptools].entry_point and [setuptools].interpreter_constraints (#11822)

  • Remove deprecated --mypy-plugin-version, pantsd.log file, --plugin-cache-dir

Plugin API Changes

  • Remove deprecated InteractiveProcess.hermetic_env.

  • Add RuleRunner.write_files() for more declarative tests (#11817)

  • Upgrade Pex to 2.1.38. (#11829)

Bug fixes

  • Fix transitive excludes for generating setup.py (#11811)

  • Fix workunit visibility calculation. (#11816)

  • Fix __run.sh to respect working_directory. (#11814)

Documentation

  • Fix misleading docs for [mypy].skip (#11810)
pants - https://github.com/pantsbuild/pants/releases/tag/release_1.9.0.dev0

Published by jsirois over 6 years ago