14
0
forked from pool/python-pyrad

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
This commit is contained in:
2020-12-16 13:06:57 +00:00
committed by Git OBS Bridge
parent 543f51c099
commit 719dc82b1f
4 changed files with 23 additions and 5 deletions

View File

@@ -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