From 0fa4cb7ec855653c50e9b58a13d33e59f879d8f7e58494254502995455cec72d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Feb 2025 15:41:59 +0000 Subject: [PATCH] Accepting request 1243322 from home:glaubitz:branches:devel:languages:python - Update to 1.19.9 * Remove usage of deprecated assertEquals - Drop fix-test-assertion-methods.patch, fixed upstream OBS-URL: https://build.opensuse.org/request/show/1243322 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xkcdpass?expand=0&rev=24 --- fix-test-assertion-methods.patch | 13 ------------- python-xkcdpass.changes | 7 +++++++ python-xkcdpass.spec | 5 ++--- xkcdpass-1.19.8.tar.gz | 3 --- xkcdpass-1.19.9.tar.gz | 3 +++ 5 files changed, 12 insertions(+), 19 deletions(-) delete mode 100644 fix-test-assertion-methods.patch delete mode 100644 xkcdpass-1.19.8.tar.gz create mode 100644 xkcdpass-1.19.9.tar.gz diff --git a/fix-test-assertion-methods.patch b/fix-test-assertion-methods.patch deleted file mode 100644 index 9b4e872..0000000 --- a/fix-test-assertion-methods.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: xkcdpass-1.19.8/tests/test_xkcdpass.py -=================================================================== ---- xkcdpass-1.19.8.orig/tests/test_xkcdpass.py -+++ xkcdpass-1.19.8/tests/test_xkcdpass.py -@@ -58,7 +58,7 @@ class XkcdPasswordTests(unittest.TestCas - wordlist, numwords=numwords, random_delimiters=True - ) - # check that the result is the right length -- self.assertEquals(len(result), numwords * wordlength + (numwords - 1)) -+ self.assertEqual(len(result), numwords * wordlength + (numwords - 1)) - # check we have the right number of delimiters - self.assertEqual( - len([x for x in result if x in set(xkcd_password.DEFAULT_DELIMITERS)]), diff --git a/python-xkcdpass.changes b/python-xkcdpass.changes index ab00ab3..4c44e6f 100644 --- a/python-xkcdpass.changes +++ b/python-xkcdpass.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 5 11:42:34 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.19.9 + * Remove usage of deprecated assertEquals +- Drop fix-test-assertion-methods.patch, fixed upstream + ------------------------------------------------------------------- Fri Mar 15 00:00:07 UTC 2024 - Steve Kowalik diff --git a/python-xkcdpass.spec b/python-xkcdpass.spec index 59fcbd0..819d885 100644 --- a/python-xkcdpass.spec +++ b/python-xkcdpass.spec @@ -1,7 +1,7 @@ # # spec file for package python-xkcdpass # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,12 @@ Name: python-xkcdpass -Version: 1.19.8 +Version: 1.19.9 Release: 0 Summary: A flexible and scriptable password generator which generates strong passphrases License: BSD-3-Clause URL: https://github.com/redacted/XKCD-password-generator Source: https://files.pythonhosted.org/packages/source/x/xkcdpass/xkcdpass-%{version}.tar.gz -Patch0: fix-test-assertion-methods.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} diff --git a/xkcdpass-1.19.8.tar.gz b/xkcdpass-1.19.8.tar.gz deleted file mode 100644 index fb8ba12..0000000 --- a/xkcdpass-1.19.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30afff4399b83de362a11b26c4768c6cddb1edae12920572d31931baf9d4b9fa -size 2689908 diff --git a/xkcdpass-1.19.9.tar.gz b/xkcdpass-1.19.9.tar.gz new file mode 100644 index 0000000..8ab2f36 --- /dev/null +++ b/xkcdpass-1.19.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a94f871bda870668e5c65eb84296e939600362df2cc036b91c5ca3815bd292d7 +size 2689919