Page MenuHomeDevCentral

Upgrade PsySH to v0.11.15 to get PHP 8.2 compatibility
ClosedPublic

Authored by dereckson on Apr 13 2023, 00:34.
Tags
None
Referenced Files
F3786987: D3009.id7681.diff
Tue, Nov 26, 17:29
Unknown Object (File)
Sun, Nov 24, 18:59
Unknown Object (File)
Sun, Nov 24, 18:59
Unknown Object (File)
Sun, Nov 24, 18:44
Unknown Object (File)
Sun, Nov 24, 17:59
Unknown Object (File)
Sun, Nov 24, 11:55
Unknown Object (File)
Wed, Nov 13, 12:24
Unknown Object (File)
Mon, Nov 11, 07:00
Subscribers
None

Details

Summary

An initial upgrade was proposed to PsySH v0.11.13, but has the following
issue under PHP 8.2: Undefined constant "Psy\Readline\Hoa\DS".
Reported upstream under https://github.com/bobthecow/psysh/issues/757

The 0.11.15 version includes this fix, so we can remove the hotfix
from WindRiver and install it through Salt.

Changes: https://github.com/bobthecow/psysh/compare/v0.11.11...v0.11.15

Test Plan

Remove hotfix for psysh on WindRiver, deploy, run psysh.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4756
Build 5037: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)
WindRiver
$ psysh -V
Psy Shell v0.11.15 (PHP 8.2.4 — cli)
$ psysh
Psy Shell v0.11.15 (PHP 8.2.4 — cli) by Justin Hileman
> 
This revision is now accepted and ready to land.Apr 13 2023, 00:35