14
0

- Add patch support-bcrypt-5.0.patch:

* Support changes required by bcrypt 5.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=59
This commit is contained in:
2025-10-08 01:42:10 +00:00
committed by Git OBS Bridge
commit 3f0b6c7fd9
9 changed files with 482 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Index: passlib-1.7.4/passlib/tests/utils.py
===================================================================
--- passlib-1.7.4.orig/passlib/tests/utils.py
+++ passlib-1.7.4/passlib/tests/utils.py
@@ -3360,6 +3360,10 @@ class OsCryptMixin(HandlerCase):
if hasattr(self.handler, "orig_prefix"):
raise self.skipTest("not applicable to wrappers")
+ # crypt module removed in Python 3.13
+ if sys.version_info[:2] >= (3, 13):
+ raise self.skipTest("no crypt module with Python 3.13")
+
# look for first entry that matches current system
# XXX: append "/" + platform.release() to string?
# XXX: probably should rework to support rows being dicts w/ "minver" / "maxver" keys,