You can try but you can also run into problems. I think it could work that you apply
toPythonModuleto the package but you might also run into the next problem.
The default toPythonModule does not allow me to overridePythonAttrs after the fact, such as to temporarily disable tests for a specific build; I had to modify it in an overlay to include the functions. Should that be raised as an issue on the nix / nixos report?
Yes, see the python language docs on how to do that.
I am aware of this, but the main reason I want to use the newer versions themselves is so that I don’t have to replicate any new build dependencies, ignored tests, check inputs, etc. Should I just grab anything I might need from from the new version, and override the source manually from there?
And got it; thanks for the confirmation on the overlay!