forked from pool/python-passlib
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
e503c6cbd8 | ||
|
090ebd628b | ||
|
2c862d14e1 | ||
64231465ec |
15
no-crypt-with-python-313.patch
Normal file
15
no-crypt-with-python-313.patch
Normal 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,
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 11 04:34:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch no-crypt-with-python-313.patch:
|
||||||
|
* Do not run tests requiring 'crypt' with Python 3.13.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 10:44:49 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Only run the full testsuite in openSUSE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 3 06:29:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu Aug 3 06:29:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-passlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -36,6 +36,8 @@ URL: https://foss.heptapod.net/python-libs/passlib
|
|||||||
Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE Posted to https://foss.heptapod.net/python-libs/passlib/-/issues/185
|
# PATCH-FIX-OPENSUSE Posted to https://foss.heptapod.net/python-libs/passlib/-/issues/185
|
||||||
Patch0: no-pkg_resources.patch
|
Patch0: no-pkg_resources.patch
|
||||||
|
# PATCH-FIX-OPENSUSE Skip crypt tests under Python 3.13
|
||||||
|
Patch1: no-crypt-with-python-313.patch
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@ -46,7 +48,7 @@ BuildRequires: %{python_module argon2_cffi}
|
|||||||
BuildRequires: %{python_module bcrypt}
|
BuildRequires: %{python_module bcrypt}
|
||||||
BuildRequires: %{python_module cryptography}
|
BuildRequires: %{python_module cryptography}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
BuildRequires: %{python_module Django}
|
BuildRequires: %{python_module Django}
|
||||||
BuildRequires: %{python_module scrypt}
|
BuildRequires: %{python_module scrypt}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user