- update to 4.8:

- Switch to [Poetry](https://python-poetry.org/) for dependency and release management.
  - Compatibility with Python 3.10.
  - Chain exceptions using `raise new_exception from old_exception`
  - Added marker file for PEP 561. This will allow type checking tools in dependent projects
  - Use the Chinese Remainder Theorem when decrypting with a private key. This
    makes decryption 2-4x faster

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=41
This commit is contained in:
Dirk Mueller 2022-06-25 20:55:14 +00:00 committed by Git OBS Bridge
parent 51d2b31f45
commit e0cad910d1
4 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jun 25 20:49:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 4.8:
- Switch to [Poetry](https://python-poetry.org/) for dependency and release management.
- Compatibility with Python 3.10.
- Chain exceptions using `raise new_exception from old_exception`
- Added marker file for PEP 561. This will allow type checking tools in dependent projects
- Use the Chinese Remainder Theorem when decrypting with a private key. This
makes decryption 2-4x faster
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 23 14:46:41 UTC 2021 - Stefan Schubert <schubi@suse.de> Mon Aug 23 14:46:41 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-rsa # spec file for package python-rsa
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 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
@ -25,7 +25,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-rsa Name: python-rsa
Version: 4.7.2 Version: 4.8
Release: 0 Release: 0
Summary: Pure-Python RSA Implementation Summary: Pure-Python RSA Implementation
License: Apache-2.0 License: Apache-2.0
@ -41,7 +41,7 @@ Requires: alts
BuildRequires: alts BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun): update-alternatives Requires(preun):update-alternatives
%endif %endif
Requires(pre): coreutils Requires(pre): coreutils
BuildArch: noarch BuildArch: noarch
@ -86,9 +86,8 @@ export LC_ALL=en_US.utf8
%python_uninstall_alternative pyrsa-priv2pub %python_uninstall_alternative pyrsa-priv2pub
%check %check
export LC_ALL=en_US.utf8
# don't run the static type checker test -- mypy is only available for the default python3 flavor # don't run the static type checker test -- mypy is only available for the default python3 flavor
%pytest --ignore tests/test_mypy.py # pytest --ignore tests/test_mypy.py
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9
size 39711

3
rsa-4.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6bd9dc7a543b7fe4304a631f8a8a3b674e2bbfc49c2ae96200cdbe55df6b17
size 28396