3 bolts, 1 connector, some hassle, plus possibly a couple of plasters, and a chance to practice your more colourful vocabulary.
2 bolts are easy - top one visible with bonnet up. Inner one needs grille removed (3 screws)
Lower one is a pain, though, as wheel arch liner is in the way, and either needs to be removed, or bent out of the way. In winter, the liners have been known to crack instead of bend, but usually OK. I usually remove the screws on the arch, plus the one under the bumper, and squeeze my arm through. Ratchet spanner is very helpful here, but not essential.
Lower bolt can also pull the threaded insert out of the headlight bracket, leaving another problem to solve. Also, be sure you are removing the correct bolt, as there is a wing-securing bolt right next to it... easy to get the wrong one when working blind.
Once all 3 bolts are out, and connector removed, the light CAN be removed without removing the bumper, but you may have to loosen the 3 bumper bolts that were hidden under the grille.
The "book" says that the bumper has to come off, but none of my Pandas can read, so I never bother.
Some of the aftermarket headlights are total rubbish (and some suppliers don't know the difference between LHD and RHD).
I usually use second hand ones when possible, even if I have to replace a bracket (or two).