If the lens is a screw-fit SLR lens and not an r/f or Contax/Kiev fit, for use as a portrait lens either 39mm (+ 39-42mm adaptor) or 42mm will be fine … you'll not be worrying about slight infinity focus issues caused by flange distance differences at portrait distances
It's difficult to be 100% sure, but the bayonet mount in the pictures looks very much like a Canon EF fit … the Canon lens cap might be a clue!
Given the unlikely event of a 39mm-EF adaptor, it's probably M42-EF.
I'd like to see a side-on and front view of the lens to be totally sure.
The Jupiter 9 from my Russian r/f cameras was one of the reasons I bought a (non-Pentax) mirrorless body … it's a superb lens!
Yes, I have some of the "bazillion" 135mm lenses, also a 100mm f/2.8 and an 85mm soft-focus … the Jupiter 9 still has it's place in the bag
If the "price was right" I'd probably grab it