I'm sorry to hear of your loss.
If your partner passed away in 2022, the Canada Revenue Agency (CRA) will still require their information on your return, and your information will be required on their return.
You can enter an estimate for now, and then put in the actual number before you file.