From 719dc82b1f62d02bc611cd32cfa61e08f21d5c7c1ce2cdc74ed885b89f3028fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 16 Dec 2020 13:06:57 +0000 Subject: [PATCH] Accepting request 856430 from home:stroeder:branches:devel:languages:python - Fixed glob-pattern for tests - Update to version 2.4 * Support poetry for building this project * Use secrets.SysRandom instead of random.SystemRandom if possible * .get on Packets has an optional default parameter (to mimic dict.get()) * Fix: digestmod is not optional in python3.8 anymore * Fix: authenticator was refreshed before the packet was generated * Fix bug causing Message-Authenticator verification to fail if multiple instances of an attribute do not appear sequentially in the attributes list * Fixed #140 VerifyReply broken when multiple instances of same attribute are not adjacent on reply * Fixed #135 Missing send_packet for async Client * Fixed #126 python3 support for SaltCrypt (was previously broken) OBS-URL: https://build.opensuse.org/request/show/856430 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrad?expand=0&rev=9 --- 2.3.tar.gz | 3 --- 2.4.tar.gz | 3 +++ python-pyrad.changes | 18 ++++++++++++++++++ python-pyrad.spec | 4 ++-- 4 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 2.3.tar.gz create mode 100644 2.4.tar.gz diff --git a/2.3.tar.gz b/2.3.tar.gz deleted file mode 100644 index 45a993e..0000000 --- a/2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6bde1ddb563bc39cde7035d386b75a2a528793db2f79f1980470d5766c3f438 -size 51380 diff --git a/2.4.tar.gz b/2.4.tar.gz new file mode 100644 index 0000000..27f8f46 --- /dev/null +++ b/2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3312a68c0a0d60fd2222df7ad0d22089c269bc8430dd840f4648431fa02c59 +size 54431 diff --git a/python-pyrad.changes b/python-pyrad.changes index 2b5ec7c..ccc360a 100644 --- a/python-pyrad.changes +++ b/python-pyrad.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Dec 16 10:46:08 UTC 2020 - Michael Ströder + +- Fixed glob-pattern for tests +- Update to version 2.4 + * Support poetry for building this project + * Use secrets.SysRandom instead of random.SystemRandom if possible + * .get on Packets has an optional default parameter (to mimic dict.get()) + * Fix: digestmod is not optional in python3.8 anymore + * Fix: authenticator was refreshed before the packet was generated + * Fix bug causing Message-Authenticator verification to fail if + multiple instances of an attribute do not appear sequentially in + the attributes list + * Fixed #140 VerifyReply broken when multiple instances of same attribute are + not adjacent on reply + * Fixed #135 Missing send_packet for async Client + * Fixed #126 python3 support for SaltCrypt (was previously broken) + ------------------------------------------------------------------- Wed Jun 17 12:57:21 UTC 2020 - pgajdos@suse.com diff --git a/python-pyrad.spec b/python-pyrad.spec index ea8ee5d..70c1a6e 100644 --- a/python-pyrad.spec +++ b/python-pyrad.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyrad -Version: 2.3 +Version: 2.4 Release: 0 Summary: RADIUS tools License: BSD-3-Clause @@ -49,7 +49,7 @@ them and decoding responses. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -v -s pyrad/tests/*.py +%pytest -v -s tests/test*.py %files %{python_files} %license LICENSE.txt