How do I prevent the water in an automatic fish farm freezing?

I found that placing a glass block above the water prevents the water freezing while letting sunlight through

Fish farm with glass block


Water source blocks in a snowy biome will eventually freeze into ice if exposed to the sky from directly above, the light level immediately adjacent to the water block on all sides is less than 13, and there is at least one horizontally adjacent non-water block.

Glass above work if it doesn't conflict with the farm geometry. Another simple option is a torch, immediately adjacent to the water.