StackStorm / st2

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
https://stackstorm.com/
Apache License 2.0
6.09k stars 746 forks source link

Pants upgrade from 2.22.0 to 2.23.0a0 #6229

Closed cognifloyd closed 2 months ago

cognifloyd commented 3 months ago

This updates from pants 2.22 to 2.23. The stable version of 2.23 has not been released yet, but with so many features that we need, it's worth using an alpha to unblock other developments.

I also added a .gitattributes file to try and improve the UX of fixing lockfile merge conflicts.

I also included 2 minor commits extracted from #6202:

Follow-up PRs will allow us to run all of the pack and unit tests via pants + pytest.

Interesting new features in 2.23

The [export].py_hermetic_scripts option is renamed to [export].py_non_hermetic_scripts_in_resolve in 2.23:

This release adds the last 2 features we need from pants to get pants+pytest to run all of our unit and pack tests, based on work in #6202:

v2.23.0a0 also includes the nfpm plugin I wrote to replace our st2-packaging repo. nFPM builds system packages like rpm and deb without the complicated ruby+docker+the-kitchen-sink dance we do in st2-packaging.

pants-plugins lockfile diffs

From 2.22 to 2.23

Lockfile diff: lockfiles/pants-plugins.lock [pants-plugins]

==                    Upgraded dependencies                     ==

  pantsbuild-pants               2.22.0       -->   2.23.0a0
  pantsbuild-pants-testutil      2.22.0       -->   2.23.0a0
  pex                            2.3.1        -->   2.16.2
  typing-extensions              4.3.0        -->   4.12.2

==                      Added dependencies                      ==

  libcst                         1.4.0