version 1.83 has an upgrade regression
It looks like you've reverted the upgrader class to work with 5.37 - but CRM_Extension_Upgrades::hasPending()
now returns this:
In Base.php line 83:
Too few arguments to function CRM_Dataprocessor_Upgrader_Base::__construct(
), 0 passed in /home/jon/local/arteffect/vendor/civicrm/civicrm-core/CRM/Ex
tension/Mapper.php on line 588 and exactly 2 expected
Assuming it's not reasonable to ask folks on 5.37 to upgrade manually, I recommend doing a version check to decide which version of the upgrader to use.