remove `Deref` implementations for old "gil refs" types
Follow-up on https://github.com/PyO3/pyo3/pull/4589#discussion_r1787491912
I'm open to whether this needs a CHANGELOG entry... I guess it does because it can affect type bounds (e.g. as it does in this PR). Maybe that's a good reason to park this until 0.24 as a low-ish priority (breaking) change, that's easier the longer ago GIL Refs died.
Yeah, it probably deserves a changelog entry. Targeting 0.24 seems fine to me. Do we want to add a milestone to track that?
Good idea, milestone created, will leave this in draft until then I guess.
Ok, CHANGELOG added, maybe we merge this just in time for 0.24? :)