I’ve been going through some failed Python builds in the current Zero Hydra Failures and have found a couple packages that have the issue of having dependencies limited to an older release and nixpkgs containing a newer version.
twilio depends on
"PyJWT == 1.7.1" according to
pyjwt in Nixpkgs is currently at version
2.1.0 which makes the version check fail. Looking upstream, the change for this does not seem trivial, so just patching upstream is out of the question:
I also just tried to bump the dependency version but as expected, this produced a ton of unit test failures.
I am wondering what the correct course of action is for the fix. Can I make pyjwt come from an older nixpkgs commit that still contained 1.7.1?