Compare commits

1 Commits
main ... 1.1

4 changed files with 11 additions and 44 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,33 +1,3 @@
-------------------------------------------------------------------
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>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri Mar 24 10:57:17 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -16,18 +16,16 @@
#
%{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-argon2-cffi
Version: 23.1.0
Version: 21.3.0
Release: 0
Summary: The Argon2 password hashing algorithm for Python
License: MIT
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 hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -36,9 +34,8 @@ BuildRequires: python-rpm-macros
# For test
BuildRequires: %{python_module argon2-cffi-bindings}
Requires: python-argon2-cffi-bindings
Provides: python-argon2_cffi = %{version}
Obsoletes: python-argon2_cffi < %{version}
BuildArch: noarch
Provides: python-argon2_cffi
Obsoletes: python-argon2_cffi
%python_subpackages
%description
@@ -46,7 +43,7 @@ A Python module that uses CFFI to access the Argon2 password hashing
C library.
%prep
%autosetup -p1 -n argon2_cffi-%{version}
%setup -q -n argon2-cffi-%{version}
%build
export ARGON2_CFFI_USE_SYSTEM=1
@@ -60,7 +57,7 @@ export ARGON2_CFFI_USE_SYSTEM=1
%pytest
%files %{python_files}
%doc CHANGELOG.md FAQ.md README.md
%doc README.rst AUTHORS.rst FAQ.rst
%license LICENSE
%{python_sitelib}/argon2
%{python_sitelib}/argon2_cffi-%{version}.dist-info