System Information
Operating system: Windows 10 Pro for Workstations 21H1 64Bits
Graphics card: NVIDIA GeForce RTX3080
Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: rBdc2d18018171
Worked: (newest version of Blender that worked as expected)
Short description of error
Driver not updated when [join] armature
Exact steps for others to reproduce the error
Prepare an armature ('Armature') and an empty armature ('Armature.001')
to which the driver is connected with the armature internal bone,
and change the driver variable in'Armature' to'Armature.001' with bpy.
Then [join] to'Armature.001'.