1
0

Accepting request 1133133 from home:pgajdos:python

pmmu version update

OBS-URL: https://build.opensuse.org/request/show/1133133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argon2-cffi?expand=0&rev=26
This commit is contained in:
Markéta Machová 2023-12-15 12:14:13 +00:00 committed by Git OBS Bridge
parent 39829fd576
commit 8b55c33ff1
4 changed files with 38 additions and 9 deletions

BIN
argon2-cffi-21.3.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
argon2_cffi-23.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Thu Dec 14 09:14:35 UTC 2023 - Petr Gajdos <pgajdos@suse.com>
- update to 23.1.0:
* The only new feature is the possibility to pass an own salt
to `argon2.PasswordHasher.hash()`, however a lot has changed
around documentation and packaging to make *argon2-cffi*
maintainable in the future.
* Python 3.6 is not supported anymore.
* The `InvalidHash` exception is deprecated in favor of
`InvalidHashError`. No plans for removal currently exist and
the names can (but shouldn't) be used interchangeably.
* `argon2.hash_password()`, `argon2.hash_password_raw()`, and
`argon2.verify_password()` that have been soft-deprecated
since 2016 are now hard-deprecated. They now raise
`DeprecationWarning`s and will be removed in 2024.
* Official support for Python 3.11 and 3.12. No code changes
were necessary.
* `argon2.exceptions.InvalidHashError` as a replacement for
`InvalidHash`.
* *salt* parameter to `argon2.PasswordHasher.hash()` to allow
for custom salts. This is only useful for specialized use-
cases -- leave it on None unless you know exactly what you
are doing. \#153
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 9 06:25:05 UTC 2023 - ecsos <ecsos@opensuse.org> Fri Jun 9 06:25:05 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -18,13 +18,16 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-argon2-cffi Name: python-argon2-cffi
Version: 21.3.0 Version: 23.1.0
Release: 0 Release: 0
Summary: The Argon2 password hashing algorithm for Python Summary: The Argon2 password hashing algorithm for Python
License: MIT License: MIT
URL: https://github.com/hynek/argon2_cffi URL: https://github.com/hynek/argon2_cffi
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2_cffi-%{version}.tar.gz
BuildRequires: %{python_module flit-core} BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@ -33,8 +36,9 @@ BuildRequires: python-rpm-macros
# For test # For test
BuildRequires: %{python_module argon2-cffi-bindings} BuildRequires: %{python_module argon2-cffi-bindings}
Requires: python-argon2-cffi-bindings Requires: python-argon2-cffi-bindings
Provides: python-argon2_cffi Provides: python-argon2_cffi = %{version}
Obsoletes: python-argon2_cffi Obsoletes: python-argon2_cffi < %{version}
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -42,7 +46,7 @@ A Python module that uses CFFI to access the Argon2 password hashing
C library. C library.
%prep %prep
%setup -q -n argon2-cffi-%{version} %autosetup -p1 -n argon2_cffi-%{version}
%build %build
export ARGON2_CFFI_USE_SYSTEM=1 export ARGON2_CFFI_USE_SYSTEM=1
@ -56,7 +60,7 @@ export ARGON2_CFFI_USE_SYSTEM=1
%pytest %pytest
%files %{python_files} %files %{python_files}
%doc README.rst AUTHORS.rst FAQ.rst %doc CHANGELOG.md FAQ.md README.md
%license LICENSE %license LICENSE
%{python_sitelib}/argon2 %{python_sitelib}/argon2
%{python_sitelib}/argon2_cffi-%{version}.dist-info %{python_sitelib}/argon2_cffi-%{version}.dist-info