#3937 itsdangerous.int_to_bytest fails with attributeerror
Merged by pingou. Opened by karsten.
karsten/pagure update-to-itsdangerous-1  into  master

Download 3937.patch

int_to_bytes got moved to itsdangerous.encoding.int_to_bytes in
itsdangerous-1.0.0
This fixes for example the failure in py-test_pagure_flask_form:
https://ci.centos.org/job/pagure-pr/1630/consoleText

Signed-off-by: Karsten Hopp karsten@redhat.com

Will this work for older versions of itsdangerous, or do we need to raise the dependency to 1.0.0? If we do, is there a way we can support both old and new versions?

1 new commit added

  • Fall back to ItsDangerous-0.24 if itsdangerous.encoding throws an attribute error

Pull-Request has been merged by pingou

Metadata