Turing shouldn't have entered into a homosexual relationship if it was illegal.
If he wanted to do so as an act of civil disobedience then he should have been prepared to endure the consequences as a public spectacle that would perhaps further his cause.
Some laws are unjust, sure, but I don't think laws punishing drug deals are unjust.
I'm sorry to hear that about your friend. Its never good to hear about how someone threw their life away for temporary rewards.
You say they weren't violent, but violence is not the only reason we incarcerate individuals. He broke the law, he knew it, he got caught, and now he's living with those consequences. I hope he learns a lot from this and decides to no longer break the law in the future. I hope others can read your story and decide that breaking the law is not worth it.
People are very cavalier with "non violent drug charges" as if dealing drugs is value neutral. It is not. There is societal harm to dealing drugs and I'm grateful for laws that forbid it and punish individuals that do it.
Criminals.