Debian released a new upstream version this week-end and applied the
same fix.

freezegun (1.1.0-1) unstable; urgency=medium

  * New upstream release

 -- Federico Ceratto <[email protected]>  Sat, 29 Jan 2022 13:07:17
+0000


$ head -n 15 patches/001-fix-staticmethod.patch
Author: Karthikeyan Singaravelan
Description: Fix Python 3.10 callable staticmethods
Forwarded: not-needed

--- a/freezegun/api.py
+++ b/freezegun/api.py
@@ -598,7 +598,7 @@
                         continue
                     seen.add(attr)
 
-                    if not callable(attr_value) or inspect.isclass(attr_value):
+                    if not callable(attr_value) or inspect.isclass(attr_value) 
or isinstance(attr_value, staticmethod):
                         continue
 
                     try:


Should this new version get integrated into jammy main, no sponsoring should be 
needed in Ubuntu.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959397

Title:
  Autopkgtest failure with Python 3.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freezegun/+bug/1959397/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to