When you're learning a scale pattern. I.e Harmonic minor, Hungarian minor, ect do you have to learn a variation of every note? A-G.
If the question is actually 'When learning a scale pattern, do you have to learn it in all keys', then, eventually, yes. It makes sense, as you don't know now what key you may need to be playing in, in the future. How that's achieved is instrument dependent. On guitar, each key may only involve moving the shape up or down the fretboard. On others, it means learning a separate pattern of notes for each key.
There are various ways of learning and remembering scales. Depending on how you think of scales, you may or may not need to remember them differently for each scale degree.
Personally, I don't think of scales differently depending on what root note they're based on. I just think of the abstract 'shape' of the scale as a pattern of intervals, and then I mentally map that onto the layout of whatever instrument I'm playing.